Questions tagged [ogr2ogr]

ogr2ogr is used to convert simple features data between file formats performing various operations during the process such as spatial or attribute selections, reducing the set of attributes, setting the output coordinate system or even reprojecting the features during translation.

97 questions
0
votes
1 answer

How to convert a set of osm files to shape files using ogr2ogr in python

I strongly believe that this question is already asked but I can't find the answer so I am placing it before you. I am having a problem while running the script to convert osm files to shp files. The script is reading all the osm files but just…
Jothi
  • 143
  • 1
  • 1
  • 8
-1
votes
1 answer

Segmentation fault (core dumped) gdal with efal Mapinfo

I have install efal_19.0 from https://support.precisely.com/product-downloads/item/mapinfo-efal-sdk-download/ this link in order to support nativeX format. after configuring efal in bashrc with efal driver and SDK i am getting Segmentation fault…
-1
votes
1 answer

osmextract query yields vectortranslate error and seemingly incomplete extraction of features

I am trying to extract a selection of multipolygons with tags related to green spaces from the geofabrik_europe-latest.osm.pbf file using the oe_get() function. The operation finishes and gives me a .gpkg, but also shows an error message: Error in…
JiannisK
  • 9
  • 1
-1
votes
1 answer

Convert a shapefile to geographic coordinates

Very new to geospatial data - I'm currently working to get a set of postcodes labelled within their correct geographical region, as defined by NUTS1. I figured the best way of doing this would be to: Get the coordinates of the NUTS1…
-1
votes
1 answer

Ogr2ogr encoding utf-8 linux

I have a problem shell command ogr 2 ogr ogr2ogr -f OCI OCI:user_name/password@DATABASE:GAS /opt/imp/ready/Gas.shp -skipfailures -overwrite -lco DIM=2 -lco PRECISION=no -lco SRID=2400000 -lco LAUNDER=YES -lco ADD_LAYER_GTYPE=NO -lco…
Tiko
  • 1
  • 2
-1
votes
1 answer

export table from PostgreSQL with ogr2ogr

I want to export a table inside my database as an MapInfo File. I will use the tool ogr2ogr. this is the commend I found in the docu: ogr2ogr -f "MapInfo File" test.mid PG:"host=localhost user=postgres dbname=Ocean_Extraction password=admin"…
Moehre
  • 151
  • 1
  • 4
  • 17
-1
votes
1 answer

How do I convert geojson and shp files to topojson files using gdal?

I have successfully installed Python and GDAL with guidance from this link Installation instructions I've seen some web tools that can convert to and fro the formats I mentioned above. I decided to install ogr2ogr locally. I need some simple…
Mazolo
  • 307
  • 4
  • 19
1 2 3 4 5 6
7