Re: [geos-devel] How to create a noded set of linestrings?

2008-04-02 Thread Paul Ramsey
Offhand, if you collect them all into one geometrycollection, then run intersection(collection,empty) you should get something out that does what you want. You'll have to pick through the results and remove any empties and points that come out the far side, but the remaining lines should be ready t

[geos-devel] How to create a noded set of linestrings?

2008-04-02 Thread Brent Fraser
Hello all, I'm really new to using GEOS so please bear with me. My basic problem is to create polygons from lines (single segment linestrings). Using the GEOS example.cpp (and ogr) I've been able to scavange code to read my shapefile of lines, apply the polygonizer to create polygons, then cre