[Qgis-developer] Get rid of Shapefiles ! Go GeoJSON !

Etienne Tourigny etourigny.dev at gmail.com
Mon Nov 26 10:27:37 PST 2012


On Mon, Nov 26, 2012 at 1:39 PM, kimaidou <kimaidou at gmail.com> wrote:
> Hi Régis,
>
>
> 2012/11/26 haubourg <regis.haubourg at eau-adour-garonne.fr>
>>
>> Hi Michael,
>> some questions about geoJSON, I'm no specialist.. does GeoJson support
>> spatial indexes? Isn't it a bit more space consuming with all the xml tags
>> inside.. Does it support compression?
>
>
> Geojson is not a XML format, but you are right, the colums names are
> repeated for each features :
> https://en.wikipedia.org/wiki/GeoJSON
> http://www.geojson.org/
>
> I have not yet search how we could build a spatial index from a GeoJSON, but
> we surely could find a way.
> It supports GZIP compression, as it is a simple text file,  and we could use
> it as QGIS can now handle zipped files.

zipped files are only supported in read-only access - read/write is
supported for gzipped files only. This is a limitation of the VSIFILE
mechanism offered by gdal

http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip

Unzipping/reading/writing/zipping would have to be implemented inside qgis.


>
>
>>
>>
>> A remark on the-fly, when MITAB will be modified to support edition, you
>> could have a file format that does what you want. I know some people are
>> willing to fund developpement to do it.. Not open source, but efficient
>> format.
>
>
>
> You are right, but I am looking for an open-source format. :)
>
> Michael
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>


More information about the Qgis-developer mailing list