Re: [gdal-dev] Create a new shapefile using ogr utilities

2016-07-25 Thread Jukka Rahkonen
Andrea Peri 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" emp

Re: [gdal-dev] Create a new shapefile using ogr utilities

2016-07-25 Thread Yves Jacolin
On Monday, July 25, 2016 16:51:13 Andrea Peri wrote: > 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. > > Thx. Andrea, You can also use shpcreate (and then shpadd) from shapel

Re: [gdal-dev] Create a new shapefile using ogr utilities

2016-07-25 Thread Andrea Peri
Downloaded and tested. It is exactly what I need. Thx, A. 2016-07-25 17:04 GMT+02:00 Yves Jacolin : > On Monday, July 25, 2016 17:00:15 Andrea Peri wrote: >> Thx for response, >> There is an executable for windows downloadable ? >> >> Thx. >> >> 2016-07-25 16:53 GMT+02:00 Yves Jacolin : >> > On M

Re: [gdal-dev] Create a new shapefile using ogr utilities

2016-07-25 Thread Yves Jacolin
On Monday, July 25, 2016 17:00:15 Andrea Peri wrote: > Thx for response, > There is an executable for windows downloadable ? > > Thx. > > 2016-07-25 16:53 GMT+02:00 Yves Jacolin : > > On Monday, July 25, 2016 16:51:13 Andrea Peri wrote: > >> Hi, > >> is possible create a new empty shapefile using

Re: [gdal-dev] Create a new shapefile using ogr utilities

2016-07-25 Thread Jeff McKenna
Yes, the Shapelib utilities have always been included (for the past 14 years) in MS4W: http://ms4w.com/ -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-07-25 12:00 PM, Andrea Peri wrote: Thx for response, There is an executable for

Re: [gdal-dev] Create a new shapefile using ogr utilities

2016-07-25 Thread Andrea Peri
Thx for response, There is an executable for windows downloadable ? Thx. 2016-07-25 16:53 GMT+02:00 Yves Jacolin : > On Monday, July 25, 2016 16:51:13 Andrea Peri wrote: >> Hi, >> is possible create a new empty shapefile using the ogr utilities. >> >> I search and try using ogrinfo and a sql lik

[gdal-dev] Create a new shapefile using ogr utilities

2016-07-25 Thread Andrea Peri
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. Thx. -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___