Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 12768

ogr2ogr is an open source command line utility popular for converting to and from various vector spatial data formats.

2 votes
1 answer
1k views

Unable to open datasource with ogr2ogr.main() [closed]

I try to make ogr2ogr work in Python the way suggested by Elevine's answer elsewhere, but I'm facing bugs. … My command looks like this: ogr2ogr.main(["", "-f","ESRI Shapefile", "-s_srs","epsg:4326", "-t_srs","epsg:32633", "lesy_u.shp","lesy_w.shp"]) The corresponding ogr2ogr command (ogr2ogr -f ESRI Shapefile …
Pavel V.'s user avatar
  • 1,517
17 votes
5 answers
27k views

Repairing broken GDAL and PROJ.4 on Ubuntu?

The original question: I try to reproject some shapefiles with ogr2ogr. …
Pavel V.'s user avatar
  • 1,517
5 votes
1 answer
2k views

How to re-compile ogrinfo against gdal used by QGIS?

which was blocking use of ogrinfo and ogr2ogr, only to find that these utilities are garbled in one more way: whenever I run any of these, I get following error (this is for ogrinfo, for ogr2ogr it's analogical … What I tried: reinstall QGIS (with sudo apt-get --purge autoremove to clean the dependencies after uninstall) trash ogrinfo, ogr2ogr and even whole GDAL-1.9 directory; then I have recovered the ogr files …
Pavel V.'s user avatar
  • 1,517