Re: [gdal-dev] Time for a new GeoJSON driver?

2016-07-25 Thread Jukka Rahkonen
Sean Gillies mapbox.com> writes: > > > On Mon, Jul 25, 2016 at 5:24 PM, Jukka Rahkonen maanmittauslaitos.fi> wrote: > Even Rouault spatialys.com> writes: > > - right hand rule of polygonsWhich means actually left hand rule if I have understood the right hand/left > hand rules correctly. If yo

Re: [gdal-dev] Time for a new GeoJSON driver?

2016-07-25 Thread Sean Gillies
On Mon, Jul 25, 2016 at 5:24 PM, Jukka Rahkonen < jukka.rahko...@maanmittauslaitos.fi> wrote: > Even Rouault spatialys.com> writes: > > > > - right hand rule of polygons > > Which means actually left hand rule if I have understood the right > hand/left > hand rules correctly. If you walk along th

Re: [gdal-dev] Time for a new GeoJSON driver?

2016-07-25 Thread Jukka Rahkonen
Even Rouault spatialys.com> writes: > - right hand rule of polygons Which means actually left hand rule if I have understood the right hand/left hand rules correctly. If you walk along the polygon rings the name of the rule is telling where the interior of the polygon is. If you follow the oute

Re: [gdal-dev] Time for a new GeoJSON driver?

2016-07-25 Thread Even Rouault
Hi Sean, > The GeoJSON WG's draft-ietf-geojson, > https://datatracker.ietf.org/doc/draft-ietf-geojson/, is in the RFC Editor > queue and will be published soon. I'm considering whether adoption of the > updated GeoJSON (registered media type: application/geo+json) and support > for the older GeoJS

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

[gdal-dev] Time for a new GeoJSON driver?

2016-07-25 Thread Sean Gillies
Hi all, The GeoJSON WG's draft-ietf-geojson, https://datatracker.ietf.org/doc/draft-ietf-geojson/, is in the RFC Editor queue and will be published soon. I'm considering whether adoption of the updated GeoJSON (registered media type: application/geo+json) and support for the older GeoJSON format (

Re: [gdal-dev] Combining multiple rasters using GDAL Warp API

2016-07-25 Thread Even Rouault
Damian, > VRT looks a possibility. The VRT format tutorial shows how to do this > programatically: > > http://www.gdal.org/gdal_vrttut.html#gdal_vrttut_creation > If you use GDAL 2.1, you can also use GDALBuildVRT() : http://gdal.org/gdal__utils_8h.html#a057aaea8b0ed0476809a781ffa377ea4 Or GD

Re: [gdal-dev] GDAL reads ESRI MultiLinestring as simple Linestring

2016-07-25 Thread Even Rouault
Hi Jukka, > > I was reading the documentation of ESRI json from > http://resources.arcgis.com/en/help/rest/apiref/geometry.html and this > example seems to be about a MultiLinestring with two parts: Just added support for it in trunk Even -- Spatialys - Geospatial professional services http:/

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] Combining multiple rasters using GDAL Warp API

2016-07-25 Thread Damian Dixon
Hi Daniele, VRT looks a possibility. The VRT format tutorial shows how to do this programatically: http://www.gdal.org/gdal_vrttut.html#gdal_vrttut_creation Thanks Damian On 25 July 2016 at 16:28, Daniele Romagnoli < daniele.romagn...@geo-solutions.it> wrote: > Hi Damian, > I'm probably goin

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] Combining multiple rasters using GDAL Warp API

2016-07-25 Thread Daniele Romagnoli
Hi Damian, I'm probably going off-topic but, did you consider setting up an intermediate VRT built on top of your sources? Cheers, Daniele On Mon, Jul 25, 2016 at 4:53 PM, Damian Dixon wrote: > Hi, > > I would like to combine multiple adjacent or overlapping rasters. > > They will all be in the

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] Combining multiple rasters using GDAL Warp API

2016-07-25 Thread Damian Dixon
Hi, I would like to combine multiple adjacent or overlapping rasters. They will all be in the same projection, image format and the output projection will be the same as the source data. I believe that this is possible using the command line utility gdalwarp as it can take multiple source files.

[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 àèìòù - ___