How can I calculate the latitude and longitude of each pixel of an image in a kml file using Python?

The overlay image referenced by the kml file was in standard geographic projection. This means that the latitudes and longitudes vary linearly within the image.

Up vote 0 down vote favorite share g+ share fb share tw.

I am using . Kml file which points to an overlay image (presumably in UTM projection? ).

The KML file provides the latitudes and longitudes of the bounding box using the "LatLonBox" tag. I need to calculate the latitudes and longitudes of each pixel in this image. Are there any pre-existing libraries in Python that would do this for me?

Python geospatial kml latitude-longitude link|improve this question asked Oct 25 '10 at 23:11Pete W1508 100% accept rate.

CORRECTION: the overlay image is not in UTM projection but in geographic projection (Cylindrical Equidistant). This makes the solution very simple (see my answer below). I had been getting confused with Google Maps which uses UTM projection.

– Pete W Oct 26 '10 at 17:57.

The overlay image referenced by the kml file was in standard geographic projection. This means that the latitudes and longitudes vary linearly within the image. Calculating the latitude and longitude of each pixel became a trivial case of interpolation given that we already known the lat/lon bounds of the image provided by the LatLonBox tag attributes.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions