Re: [gdal-dev] Calculate lat lon of image corners knowing center's lat lon

2010-06-05 Thread ogr user
So, if I understand correctly, you have coordinates of two points: - origin (0,0) lat/lon - center (0.5 * width, 0.5 * height) lat/lon Is that correct? What is "spacing"? What Jayesh Chaudhary wrote: > Hi, > > Thanks for your reply. I think I have to gather more information here > about the pro

Re: [gdal-dev] Calculate lat lon of image corners knowing center's lat lon

2010-06-05 Thread Jayesh Chaudhary
Hi, Thanks for your reply. I think I have to gather more information here about the projection of the image. Currently the meta data tells me only these 3 things: 1. Origin lat lon 2. Size of the image 3. Spacing All I need is 4 corner points in lat / lon. Currently I am doing something like th

Re: [gdal-dev] PGeo: reading circular arcs - how?

2010-06-05 Thread Ragi Burhum
> From: Stefan Keller > Subject: [gdal-dev] PGeo: reading circular arcs - how? > To: gdal-dev@lists.osgeo.org > > > Hi all > > I have an ESRI Personal GeoDatabase .mdb file (PGeo) which I would > like to read and convert e.g. to Shapefile. > The PGeo file contains "circular arc"s (or circular

Re: [gdal-dev] Calculate lat lon of image corners knowing center's lat lon

2010-06-05 Thread ogr user
The answer is - it depends. If you know the image projection (Mercator?) and the precise scale of the image - it may be enough to have just one point (think - a tile from Google maps). To georeference an image in a general case (assuming the image has simple linear proportions) requires at least 2

[gdal-dev] Calculate lat lon of image corners knowing center's lat lon

2010-06-05 Thread Aashish Chaudhary
Hi, I have an image with center known in lat / lon. I need to calculate the image corners in lat / lon. I have some idea but I am wondering if someone can share his / her knowledge. Also is there a utility in gdal that would do this for me? Any help is appreciated. Thanks, _

[gdal-dev] PGeo: reading circular arcs - how?

2010-06-05 Thread Stefan Keller
Hi all I have an ESRI Personal GeoDatabase .mdb file (PGeo) which I would like to read and convert e.g. to Shapefile. The PGeo file contains "circular arc"s (or circular curve) and since OGR only supports linestrings they should be segmented (similar to http://www.gdal.org/ogr/drv_ili.html ). Now