Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Missing Row/Column in Raster File

$
0
0
Hi everyone,

My problem is, that I created a new raster file (bgd-format) and converted it to .asc by using a code snippet I found in the forum...

@mogukanin
(Thank you at this point for your help yesterday, but somehow I wasnt able to manage the problem with the GDAL extension, nevertheless, now with the use of the code snippet it also works fine)

My problem at this point is, that after setting all the attributes (numcols, numrows etc)
I get the following raster file:

Rasterfile Extent

If you watch the upper left and lower right corner you see two pointshapes, which represent the extent of the featureset/rasterfile, just like it should be right?

But now, if you scroll to the upper left corner:

[Upper Left Corner]http://imageshack.com/i/paWL9nwtp)

You see its central in the first cell - just how i want it


and compare it to the lower right corner:

Lower Right Corner

you can see that the last row and the last column are missing (not only in the asc, also in the bgd file)

Now to my question: What do I have to do to get the same result for the lower rigth corner, as for the upper right?

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>