Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
0aecc16e
Commit
0aecc16e
authored
12 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
fixed a bug in Raster::writeRasterAsASC() and corrected a typo
parent
b998c876
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GeoLib/Raster.cpp
+2
-2
2 additions, 2 deletions
GeoLib/Raster.cpp
GeoLib/Raster.h
+1
-1
1 addition, 1 deletion
GeoLib/Raster.h
with
3 additions
and
3 deletions
GeoLib/Raster.cpp
+
2
−
2
View file @
0aecc16e
...
...
@@ -67,8 +67,8 @@ GeoLib::Point const& Raster::getOrigin() const
void
Raster
::
writeRasterAsASC
(
std
::
ostream
&
os
)
const
{
// write header
os
<<
"ncols "
<<
_n_
row
s
<<
std
::
endl
;
os
<<
"nrows "
<<
_n_
col
s
<<
std
::
endl
;
os
<<
"ncols "
<<
_n_
col
s
<<
std
::
endl
;
os
<<
"nrows "
<<
_n_
row
s
<<
std
::
endl
;
os
<<
"xllcorner "
<<
_ll_pnt
[
0
]
<<
std
::
endl
;
os
<<
"yllcorner "
<<
_ll_pnt
[
1
]
<<
std
::
endl
;
os
<<
"cellsize "
<<
_cell_size
<<
std
::
endl
;
...
...
This diff is collapsed.
Click to expand it.
GeoLib/Raster.h
+
1
−
1
View file @
0aecc16e
...
...
@@ -106,7 +106,7 @@ public:
~
Raster
();
/**
* Write meta data and raw raster data as asci file into the ouput stream.
* Write meta data and raw raster data as asci file into the ou
t
put stream.
* @param os the output stream
*/
void
writeRasterAsASC
(
std
::
ostream
&
os
)
const
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment