[gdal-dev] Confused with Pixels/Lines

Even Rouault even.rouault at spatialys.com
Tue Feb 3 01:00:26 PST 2015


Le mardi 03 février 2015 09:47:45, yuta sato a écrit :
> In a North-Up Raster Image with GCS:
> 
> The Latitudes increases from bottom to top. 

Yes

> The Longitudes increases from right to left.

No, they increase from left to right

> 
> The Lines increases from bottom to left.

No, they increase from top to bottom (contrary to latitudes)

> The Pixels increases from right to left.

No, they increase from left to right

> 
> Are the above fours statements correct? Please guide me CAREFULLY.
> 
> I am talking with the Pixels(569P) and Lines(921L) as gdallocationinfo
> provides.
> 
> gdallocationinfo  -l_srs wgs84 infile.tif longitude_string latitude_string
> 
> ****************************************************
> Report:
> 
>   Location: (569P,921L)
> 
>   Band 1:
> 
>     Value: 12
> *****************************************************

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list