[gdal-dev] How do I get lat long extents from this Ogrinfo output on a .shp?
I ran ogrinfo on a shape file and got output. How do I convert the extent listed below into lat long coordinates? It looks like the units are meters, but I’m not sure how that will translate to lat long for creating a bounding box:
Re: How do I get lat long extents from this Ogrinfo output on a .shp?
Thanks, that works wonderfully!
I figured the other data in the file was UTM as well, but I'm only using the extents in my program, which is why I focused on them.
Software Developer - Geodisy
Walter C. Koerner Library | UBC Library
The University of British Columbia | Vancouver Campus
219-1958 Main Mall | Vancouver BC | V6T 1Z2 Canada
Phone 604 827 5129
UBC Vancouver is located on the traditional, ancestral, unceded territory of the xʷməθkʷəy̓əm (Musqueam) people
From: gdal-dev <[hidden email]> On Behalf Of Stephen Woodbridge
Sent: Thursday, June 20, 2019 1:33 PM
To: [hidden email] Subject: Re: [gdal-dev] How do I get lat long extents from this Ogrinfo output on a .shp?
Its not just the extents but all the data in the file is in a UTM projection. You can reproject the file to WGS84 and then ogrinfo will report in long-lat.