<div dir="ltr">Hi William,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 9:28 PM, William Kyngesburye <span dir="ltr"><<a href="mailto:woklist@kyngchaos.com" target="_blank">woklist@kyngchaos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Jul 11, 2013, at 9:32 PM, Larry Shaffer wrote:<br>
<br>
> William, the issues with Spatialite 4.0.0 still persist [1]. Maybe having your SQLite framework updated to Spatialite 4.1.1 before trying to track down those errors might be prudent?<br>
><br>
> [0] <a href="http://qgis.dakotacarto.com" target="_blank">http://qgis.dakotacarto.com</a><br>
> [1] <a href="http://hub.qgis.org/issues/7664" target="_blank">http://hub.qgis.org/issues/7664</a><br>
<br>
I don't see any compatibility-breaking changes (would require new framework version and rebuild of everything), so I'll work on it over the weekend.<br></blockquote><div><br></div><div>Another nice addition to spatialite would be to add the liblwgeom support. This is part of the postgis build, but can have its .so and headers files moved to a different location (I believe) because it only links to libgeos_c and libproj. However, I did not find liblwgeom-2.0.3.dylib in your install for postgis 2.0.3.<br>
</div><div><br></div><div>Since the .dylib can be included standalone (after postgis is built) and spatialite built against that, could you include liblwgeom in your SQLite3 framework (or maybe GEOS framework)? This would offer extra geometry functions to spatialite [0] (especially the MakeValid function) without requiring users to install the full postgres/postgis package.<br>
<br></div><div>Also, having worked with recent spatialite builds for the homebrew project, I came across the nice additional XML functions for spatialite [1]. I did not have issues building libspatialite against default libxml2 on Lion (10.7.5), but spatialite-gui failed unless I built libspatialite against a newer 2.9.x version of libxml2 [2]. 2.9.x version is recommended (required?) for spatialite.<br>
</div><div><br></div><div>The xml functions could be used for the proposed QGIS project-as-db setup, where the current project xml-formatted file could be directly stored in a spatialite db, with minimal adjustment to existing project reading/writing code.<br>
</div><div><br>[0] <a href="http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.1.0.html#p14d">http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.1.0.html#p14d</a> , <a href="https://www.gaia-gis.it/fossil/libspatialite/wiki?name=liblwgeom-4.0">https://www.gaia-gis.it/fossil/libspatialite/wiki?name=liblwgeom-4.0</a><br>
[1] <a href="https://www.gaia-gis.it/fossil/libspatialite/wiki?name=XmlBlob+and+VirtualXPath">https://www.gaia-gis.it/fossil/libspatialite/wiki?name=XmlBlob+and+VirtualXPath</a><br>[2] <a href="https://github.com/mxcl/homebrew/pull/21110">https://github.com/mxcl/homebrew/pull/21110</a><br>
<br><br></div><div>Regards,<br><br>Larry<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
<a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
<br>
First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?<br>
Second Pogril: I don't know.  Why IS life like sticking your head in a bucket filled with hyena offal?<br>
First Pogril: I don't know either.  Wretched, isn't it?<br>
<br>
-HitchHiker's Guide to the Galaxy<br>
<br>
<br>
</blockquote></div><br></div></div></div>