I have a folder called
CSV, in it there are several CSV files with coordinates and attributes.
- I want to convert all files in a CSV folder into shapefiles
- New created shapefiles should have original CSV file name
- All newly created shapefiles should be placed in another folder called
- Once all shapefiles created, merge all shapefiles into one (could go over a GB)
For this, I tried to play around with ogr2ogr, had a bit of success but could’t go further.
For example, one web page shows to create (1) Create a dbf file (2) Create a vrt file (3) Create the shapefile by using ogr2ogr.
I can recreate what it says but I can’t workout how to point a folder i.e. CSV and convert all files in that into shapefiles.
Once I could accomplish above then, I would like a simple ogr2oge like command to merge all shapefiles into one shapefile.
Another point: Is there any way to use just text.bat file for above processes instead of OSGeo4W shell?