[OSGeo-Discuss] How to convert lat/lon to x/y (in pixels) for a given GeoTiff file

Bogdan Florin Paul florinpaul at yahoo.com
Sun Oct 19 09:51:02 PDT 2008


Hello all,

I'm a Geo newbie working on a weather project using a lot of epsg:900913 country maps in GTiff format.

These country maps will be converted to jpg and will be used as static background images for doing javascript-powered weather maps.

I am trying to find a way to translate the lists of geodetic lat/lon points (ICAO stations for each country) to x/y coordinates for the relevant country map.

Could you suggest a software tool for that purpose?

The original maps were WGS84 Equirectangular and it was very easy to get x/y pixel coordinates from lat/lon, but the maps were too elongated, so I translated them with gdalwarp to epsg:900913, and this is were I get lost.

Any suggestion would be higly appreciated...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Discuss mailing list