Re: [gdal-dev] Shapefile with one feature and many incrementally-added vertices is huge

2017-01-19 Thread Even Rouault
On vendredi 20 janvier 2017 10:45:56 CET Nik Sands wrote: > Thanks Guys, > > I appreciate the great responses, and particularly implementing an > update for this edge case. > > Unfortunately, I'm stuck with GDAL 1.x for now (have yet to figure out > how to get 2.x to build for iOS, but will take

[gdal-dev] Participating on gdal2tiles

2017-01-19 Thread Grégory Bataille
Hi everyone, I just subscribed to this list. Due to current interest, driven by my current job, I'd like to participate on gdal2tiles. However I'm not sure how to go about it and how active the development still is. I, for example, encountered an issue, that after investigation led me there https:

Re: [gdal-dev] Shapefile with one feature and many incrementally-added vertices is huge

2017-01-19 Thread Michael Sumner
A long shot but does any of this help re Mac? https://github.com/edzer/sfr/issues/40 On Fri, Jan 20, 2017, 10:46 Nik Sands wrote: > Thanks Guys, > > I appreciate the great responses, and particularly implementing an update > for this edge case. > > Unfortunately, I'm stuck with GDAL 1.x for now

Re: [gdal-dev] Shapefile with one feature and many incrementally-added vertices is huge

2017-01-19 Thread Nik Sands
Thanks Guys, I appreciate the great responses, and particularly implementing an update for this edge case. Unfortunately, I'm stuck with GDAL 1.x for now (have yet to figure out how to get 2.x to build for iOS, but will take another look some time). As for alternatives to Shapefiles, my preferen

Re: [gdal-dev] Question about .aux.xml sidecar file handling...

2017-01-19 Thread Even Rouault
On jeudi 19 janvier 2017 06:15:15 CET Carl Godkin wrote: > On Thu, Jan 19, 2017 at 3:17 AM, Even Rouault > > wrote: > > On mercredi 18 janvier 2017 06:55:49 CET Carl Godkin wrote: > > > Hi, > > > > > > > > > > > > I have a geological map in a pair of files called USGS.tif and > > > > > > USGS

Re: [gdal-dev] Shapefile with one feature and many incrementally-added vertices is huge

2017-01-19 Thread Stefan Keller
@Even: Great work! @Nik: I would avoid using Shapefile in the first place. IMHO there are other formats which hare better suited for this use case, like e.g. GeoPackage. :Stefan 2017-01-19 14:38 GMT+01:00 Even Rouault : >> In that > >> particular case the writer could realize that we are editing

Re: [gdal-dev] Question about .aux.xml sidecar file handling...

2017-01-19 Thread Carl Godkin
On Thu, Jan 19, 2017 at 3:17 AM, Even Rouault wrote: > On mercredi 18 janvier 2017 06:55:49 CET Carl Godkin wrote: > > > Hi, > > > > > > I have a geological map in a pair of files called USGS.tif and > > > USGS.tif.aux.xml > > > > > > The XML seems to have ground control points () and a > geograp

Re: [gdal-dev] Shapefile with one feature and many incrementally-added vertices is huge

2017-01-19 Thread Even Rouault
> In that > particular case the writer could realize that we are editing the last > geometry, so it could safely overwrite in place, but this isn't implemented > yet. Well, that was rather simple to implement. So fixed per https://trac.osgeo.org/gdal/ticket/6787 Even -- Spatialys - Geospatial

[gdal-dev] Strange results of simple polygonising

2017-01-19 Thread CABO
Hi, I have four simple rasters that I would like to polygonise: 1: # # # ## # # 2: # # # # # # # 3: # # # # # # # 4: # # # ## # # It's the same shape, just rotated 90, 180, 270 degrees. The resulting polygons for 1 and 2 are simple polygons without holes, where the res

Re: [gdal-dev] Question about .aux.xml sidecar file handling...

2017-01-19 Thread Even Rouault
On jeudi 19 janvier 2017 11:43:00 CET Andrew C Aitchison wrote: > On Thu, 19 Jan 2017, Even Rouault wrote: > > On mercredi 18 janvier 2017 06:55:49 CET Carl Godkin wrote: > >> Hi, > >> > >> I have a geological map in a pair of files called USGS.tif and > >> USGS.tif.aux.xml > >> > >> The XML seem

Re: [gdal-dev] Question about .aux.xml sidecar file handling...

2017-01-19 Thread Andrew C Aitchison
On Thu, 19 Jan 2017, Even Rouault wrote: On mercredi 18 janvier 2017 06:55:49 CET Carl Godkin wrote: Hi, I have a geological map in a pair of files called USGS.tif and USGS.tif.aux.xml The XML seems to have ground control points () and a geographic coordinate system () GDAL .aux.xml files d

Re: [gdal-dev] Shapefile with one feature and many incrementally-added vertices is huge

2017-01-19 Thread Even Rouault
On jeudi 19 janvier 2017 21:21:20 CET Nik Sands wrote: > Hi, > > My iOS app has a feature where it uses GDAL 1.11 to record to two shapefiles > simultaneously. One is a point 2.5D feature class and it writes a point > feature to this feature class for every location that iOS sends. The other > i

Re: [gdal-dev] Question about .aux.xml sidecar file handling...

2017-01-19 Thread Even Rouault
On mercredi 18 janvier 2017 06:55:49 CET Carl Godkin wrote: > Hi, > > I have a geological map in a pair of files called USGS.tif and > USGS.tif.aux.xml > > The XML seems to have ground control points () and a geographic > coordinate system () GDAL .aux.xml files do no have or elements, so it

[gdal-dev] Shapefile with one feature and many incrementally-added vertices is huge

2017-01-19 Thread Nik Sands
Hi, My iOS app has a feature where it uses GDAL 1.11 to record to two shapefiles simultaneously. One is a point 2.5D feature class and it writes a point feature to this feature class for every location that iOS sends. The other is a line 2.5D feature class with a single line feature and a ver