[mapserver-users] Finding pixel location from decimal degrees

Kieran J. Ames kames@keyspanenergy.com
Wed, 17 Apr 2002 09:41:44 -0400


Hello list,

I'd like to know if anyone can share some wisdom with me.

I typically would make a map of a polygon and a point, using a decimal
degrees. I'd like to now look at the resulting gif image from a pixel
perspective and, knowing the latitude and longitude of the point I
originally made, again find that point by referencing its location by
the number of pixels right and down of the top-left pixel in the image
(or whatever other referencing means is appropriate).

Any guidance appreciated.

Thanks,
Kieran