Andrea Peri <aperi2007 <at> gmail.com> writes: > > Hi, > is possible create a new empty shapefile using the ogr utilities. > > I search and try using ogrinfo and a sql like "create table ..." but > without any success.
ogr2ogr -f "ESRI Shapefile" -dialect sqlite -sql "select geometry from foo where 1=2" emptypoint.shp foo.shp -nlt point Requires foo.shp to exist so not perfect. -Jukka Rahkonen- _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev