|
|
Christoph Hormann wrote:
>
>>
>> As I did not (yet) found any understandable definition of the GeoTIFF
>> standard, I had to content myself with converting them into ASCII
>> matrizes with a vertical resolution of 1 metre.
>
>
> Oh, come on, there is GDAL: http://www.remotesensing.org/gdal/ which
> comes with a simple utility program that converts between any formats
> supported which includes Geotiff of course as well as PNG and PGM which
> can be read by POV-Ray.
>
>> But the result was weird, obviously the float values in the ASCII
>> matrix are arranged in a different way than the pixels in the GEO-TIFF
>> file.
>
>
> You quite obviously got the size of the images wrong by 1-2 pixel.
>
One pixel, because the matrix is square and there is a diagonal.
Assuming he is reading left to right and top to bottom, Yadgar
is reading one to little per line. A typical obi-wan error I guess
(http://www.catb.org/~esr/jargon/html/O/obi-wan-error.html).
Now playing: New Deal by Dolores Keane
Post a reply to this message
|
|