<div dir="ltr">Hi Paolo,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 10:25 AM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</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">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Il 24/07/2013 18:21, Larry Shaffer ha scritto:<br>
<br>
>> But that just wraps the C++ library with Python doesn't? (Very nice, btw!) That still<br>
>> requires a full install of PostGIS/PostgreSQL (at this time):<br>
<br>
not, we have compiled it as standalone; in deb it is the same:<br>
<a href="http://packages.debian.org/sid/liblwgeom-2.0.3" target="_blank">http://packages.debian.org/sid/liblwgeom-2.0.3</a><br>
<br>
>> For labeling, I don't think we would want to introduce Python into the mix, or<br>
>> require PostGIS to be installed. So, either C++ compiled-in or shared lib support<br>
>> would be best (for the speed).<br>
<br>
agreed<br>
<br>
>> Do you have some links to any notes on how this was done using the PostGIS source<br>
>> code? I'd like to make that library available for the Mac builds and pass the notes<br>
>> along to others.<br>
<br>
coming soon<br></blockquote><div><br></div><div>Actually, I hadn't tested building the standalone Mac liblwgeom.dylib since PostGIS 2.0.3 came out. I was able to easily build the .dylib for both 2.0.3 and with current source trunk. Trunk appears to now require the json-c lib, which was not part of the Kyngchaos framework installs, but is readily available via homebrew.<br>
<br></div><div>So, it fairly simple to compile and include liblwgeom-2.0.3.dylib (422 KB) with Mac bundled app builds, once it is utilized directly in QGIS code. Very nice, indeed, for geometry repairing routines!<br><br>
</div><div>William, here is what I did [0]. Please let me know if there is something I am missing in the build steps that might cause issues for use in a bundled QGIS. Thanks.<br><br>[0] <a href="http://drive.dakotacarto.com/qgis/liblwgeom.dylib-build.txt">http://drive.dakotacarto.com/qgis/liblwgeom.dylib-build.txt</a><br>
</div><div><br></div><div>Regards,<br><br></div><div>Larry<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
thanks.<br>
- --<br>
Paolo Cavallini - Faunalia<br>
<a href="http://www.faunalia.eu" target="_blank">www.faunalia.eu</a><br>
Full contact details at <a href="http://www.faunalia.eu/pc" target="_blank">www.faunalia.eu/pc</a><br>
Nuovi corsi QGIS e PostGIS: <a href="http://www.faunalia.it/calendario" target="_blank">http://www.faunalia.it/calendario</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Icedove - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlHv//sACgkQ/NedwLUzIr4Y9wCfZm9hqdp2EcnBVShAbleg0DpW<br>
tMYAnR6S/thBQW/9XfWQekRZPAF2wYNZ<br>
=BSK3<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div></div></div>