postgis/liblwgeom/examples
2008-10-13 13:03:23 +00:00
..
Makefile Add an example of how the liblwgeom API can be used by other C programs to manipulate geometries and output the result. Currently the unparser.c program shows how a geometry can be constructed "on the fly" and then exported in both WKT and HEXWKB formats; however it gives programmers the potential to devise some very unique processing tools which can generate files that can be loaded into PostGIS. 2008-09-16 22:29:54 +00:00
README Add an example of how the liblwgeom API can be used by other C programs to manipulate geometries and output the result. Currently the unparser.c program shows how a geometry can be constructed "on the fly" and then exported in both WKT and HEXWKB formats; however it gives programmers the potential to devise some very unique processing tools which can generate files that can be loaded into PostGIS. 2008-09-16 22:29:54 +00:00
unparser.c Move the liblwgeom unparser example over to the dynptarray API which is the proper way to alter point arrays in memory. 2008-10-13 13:03:23 +00:00

liblwgeom API examples
======================

This directory contains examples of how to use the liblwgeom API from other C programs. Since liblwgeom is a static library, it is currently limited to tools within the PostGIS source tree. However, it is envisaged that programmers may make use of this interface to produce other geometry processing tools that can input and output WKT and WKB (which is, of course, easily loadable into PostGIS).


Mark.