Hi Paolo, On Wed, Jul 24, 2013 at 10:25 AM, Paolo Cavallini <cavall...@faunalia.it>wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Il 24/07/2013 18:21, Larry Shaffer ha scritto: > > >> But that just wraps the C++ library with Python doesn't? (Very nice, > btw!) That still > >> requires a full install of PostGIS/PostgreSQL (at this time): > > not, we have compiled it as standalone; in deb it is the same: > http://packages.debian.org/sid/liblwgeom-2.0.3 > > >> For labeling, I don't think we would want to introduce Python into the > mix, or > >> require PostGIS to be installed. So, either C++ compiled-in or shared > lib support > >> would be best (for the speed). > > agreed > > >> Do you have some links to any notes on how this was done using the > PostGIS source > >> code? I'd like to make that library available for the Mac builds and > pass the notes > >> along to others. > > coming soon > 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. 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! 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. [0] http://drive.dakotacarto.com/qgis/liblwgeom.dylib-build.txt Regards, Larry > > thanks. > - -- > Paolo Cavallini - Faunalia > www.faunalia.eu > Full contact details at www.faunalia.eu/pc > Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > Comment: Using GnuPG with Icedove - http://www.enigmail.net/ > > iEYEARECAAYFAlHv//sACgkQ/NedwLUzIr4Y9wCfZm9hqdp2EcnBVShAbleg0DpW > tMYAnR6S/thBQW/9XfWQekRZPAF2wYNZ > =BSK3 > -----END PGP SIGNATURE----- >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer