Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ogrinfo]

ogrinfo is a program in the suite of GDAL tools. ogrinfo provides information about an OGR supported data format (traditionally vector format types).

11
votes
3answers
3k views

Calculate total area of polygons in shapefile using GDAL?

I have a shapefile in British National Grid projection: Geometry: 3D Polygon Feature Count: 5378 Extent: (9247.520209, 14785.170099) - (638149.173223, 1217788.569952) Layer SRS WKT: PROJCS["...
1
vote
0answers
178 views

Trying to get GDAL 2.x to work, but ogrinfo reports ERROR 3: and ERROR 4: and “Failed to open table res_t48.PAT”

We have been using GDAL 1.9 for years on a Ubuntu 12.04 machine, but are trying to upgrade to Ubuntu 16.04 with the latest PostGIS and GDAL. When I install gdal-bin I end up with version 2.1.3. But ...