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

Even Rouault even.rouault at spatialys.com
Thu Jan 19 23:49:22 PST 2017


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 another look some
> time).

You should be able to apply the patch to 1.11 in a rather straightforward way.

> 
> As for alternatives to Shapefiles, my preference is for
> SQLite/Spatialite, but I'm having other problems with that at present
> (haven't defined the problems well enough to post a query here yet).
> 
> I will take a look at GeoPackage.  I'm not familiar with this format.
> 
> Cheers,
> Nik.
> 
> ----- Original Message -----
> From: "Stefan Keller" <sfkeller at gmail.com>
> To:"Even Rouault" <even.rouault at spatialys.com>
> Cc:"gdal-dev at lists.osgeo.org" <gdal-dev at lists.osgeo.org>
> Sent:Thu, 19 Jan 2017 15:31:07 +0100
> Subject:Re: [gdal-dev] Shapefile with one feature and many
> incrementally-added vertices is huge
> 
>  @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 <even.rouault at spatialys.com>:
>  >> 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 professional services
>  > 
>  > http://www.spatialys.com
>  > 
>  > 
>  > _______________________________________________
>  > gdal-dev mailing list
>  > gdal-dev at lists.osgeo.org
>  > https://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
>  _______________________________________________
>  gdal-dev mailing list
>  gdal-dev at lists.osgeo.org
>  https://lists.osgeo.org/mailman/listinfo/gdal-dev


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170120/bf7fa89f/attachment-0001.html>


More information about the gdal-dev mailing list