Jean-Claude Repetto wrote: > Perhaps there is already a program or a library that can do that ?
Check sources of GDAL/OGR. There is exportToGEOS function which follows this scheme: 1. Read shape to OGR geometry 2. Pass OGR geometry to the exportToGEOS 3. Export OGR geometry to WKB 4. Import WKB to GEOS Cheers -- Mateusz Loskot http://mateusz.loskot.net _______________________________________________ geos-devel mailing list geos-devel@geos.refractions.net http://geos.refractions.net/mailman/listinfo/geos-devel