Linked Questions

0
votes
1answer
2k views

How to use ogr2ogr for batch conversion? [duplicate]

I have a thousand of arc coverage would like to covert to shapefile. How can I use the ogr2ogr to convert it in batch rather than convert it one by one? It takes a lot of time! :( Thanks for any idea!
2
votes
0answers
168 views

Batch Convert MapInfo .TAB Files to .KML [duplicate]

Possible Duplicate: ogr2ogr convert all shapefiles in a directory As the title suggests, i have a few hundred .TAB files to convert to .KML. This is likely to be a fairly irregular thing so FME (...
33
votes
4answers
9k views

Bulk load multiple shapefiles into PostGIS

I've got over a hundred data layers in shapefile format that I want to upload into a PostGIS database. They are all in the same projection, but represent different data layers so they do not have the ...
4
votes
2answers
12k views

Converting TAB to MIF / MIF to TAB

How I can export (import) data from TAB format to MIF and vice versa?
6
votes
2answers
2k views

ogr2ogr clip all shapefiles in a directory

I am new to ogr2ogr. Does anyone know if it is possible to loop through all shapefiles in a directory, clip and output them into an identical directory with a suffix "_clipped"? I saw this similar ...
4
votes
2answers
1k views

ogr2ogr PostgreSQL to geojson batch export

trying to export 20 postgreSQL tables to geoJSON using ogr2ogr ogr2ogr -f "GeoJSON" C:\path\Desktop\geo PG:"host=localhost user=postgres dbname=free password=xx" -t_srs EPSG:4326 getting these 2 ...
1
vote
1answer
897 views

Using ogr2ogr to reproject and rename into shapefile?

I'm trying to reproject, move from tab to shp and rename all the .tab contained in a folder tree using ogr2ogr. I'm working with Windows 7, QGIS 1.8 installed with advanced OsGeo4w and gdal 1.9.2. I ...
0
votes
1answer
1k views

Batch convert tab files to shapefiles

I've seen several questions asking how to convert .tab files to .shp files in QGIS, MapInfo etc, which is what I'd like to do. However I have several files and I was wondering if there was a tool ...
2
votes
1answer
694 views

ogr2ogr extract shp-file by extent with bash script

I'm batch extracting features from shp-files in a directory with this bash script: Is there a way to avoid the loop? I somewhere read that you can process folders but I was not able to get the right ...
1
vote
1answer
463 views

ogr2ogr: How to convert Oracle tables DBF

I wish to convert a layer that has no geometry field from Oracle to the Esri Shape format (DBF file only). I can do it manually from within QGis but I'd like to automate the process and use ogr2ogr (...
1
vote
2answers
245 views

Save as Mapinfo Tabs multiple shp layers

i want to convert about 200 shp files to Mapinfo tabs. I found How to batch "Layer save as"-process in QGIS? on running through multiple layers and saving them as shp files. But when i tried ...
0
votes
1answer
57 views

How add a text field and then reproject all shapefiles which are in sub folders

I have a folder and inside of that folder, I have about 500 sub folders which contain on average about 5 shapefiles each. What I want to do is: to check if there is a field, lets say field_1, and if ...
1
vote
1answer
25 views

Convert all KMLs within a directory to SHP, zip by name, and move to another output folder? [closed]

I have the requirement to convert a list of ~100 KML files into shapefiles and later merge and upload the polygons as one layer into ArcGIS. I'm new to GIS and Python. I've been able to convert ...