[gdal-dev] How do I get lat long extents from this Ogrinfo output on a .shp?

Dante, Paul paul.dante at ubc.ca
Thu Jun 20 13:26:47 PDT 2019


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:

INFO: Open of `OldStreamsPolyline.shp'
      using driver `ESRI Shapefile' successful.

Layer name: OldStreamsPolyline
Metadata:
  DBF_DATE_LAST_UPDATE=2011-02-17
Geometry: Line String
Feature Count: 179
Extent: (482246.857278, 5449862.717375) - (498293.801839, 5462019.990072)
Layer SRS WKT:
PROJCS["NAD83 / UTM zone 10N",
    GEOGCS["NAD83",
        DATUM["North_American_Datum_1983",
            SPHEROID["GRS 1980",6378137,298.257222101,
                AUTHORITY["EPSG","7019"]],
            TOWGS84[0,0,0,0,0,0,0],
            AUTHORITY["EPSG","6269"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4269"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-123],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","26910"]]
Id: Integer (6.0)
Name: String (50.0)
Region: String (2.0)
Type: String (50.0)


Paul Dante
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
paul.dante at ubc.ca<mailto:paul.dante at ubc.ca>

UBC Vancouver is located on the traditional, ancestral, unceded territory of the xʷməθkʷəy̓əm (Musqueam) people
[cid:image001.png at 01D42428.A8255E20]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190620/bad8e2a8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5500 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190620/bad8e2a8/attachment.png>


More information about the gdal-dev mailing list