Kuupäeval 9. aprill 2012 22:31 kirjutas Stefan Keller <[email protected]>: > 2012/4/9 Tom MacWright <[email protected]>: >> The GEOS dependency is not a long-term challenge, nor spatialite's licensing >> - you could write a clean-room implementation of both and they would be >> much-appreciated. But I don't think anyone _will_ write a clean-room >> implementation unless there's a good reason to, and thus the chicken-and-egg >> problem of adoption versus implementation. Standardizing abstract file >> formats without easily-used implementations is not useful: formats need to >> prove their usefulness through real-world success, or everyone will >> implement their own. > > To understand you correctly: I only need to implement a > parser/reader/writer of Spatialite's way to put WKB (and the two > metadata tables) into the existing sqlite file format. > OGR and QGIS don't need to change anything.
Almost. Just Spatialite uses internally own BLOB for geography, not WKB [1]. To make bbox based queries in OGR and QGIS faster you would want to generate index data also. Again - I doubt if this is documented really. Shapefile situation with indexes is also not so good: some have added own index for live shapefile usage, as public shapefile spec does not reveal this. So a bit different cases and solutions for live data usage and bulk loading/conversion cases. [1] http://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html -- Jaak Laineste _______________________________________________ Geowanking mailing list [email protected] http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
