[FWTools] which tool to replace ArcGIS feature to polygon function

Frank Warmerdam warmerdam at pobox.com
Thu Oct 9 09:55:45 EDT 2008

Stefan Muthers wrote:
> Hello,
> sorry, I do not know where to post this question. Since fwtools include 
> many free software GIS tools, maybe someone could help me.
> I have polylines I want to convert to polygons. Each polygon has an 
> attribute that is taken from a point object located in the polygon area.
> Until now, I use ArcGIS feature to polygon function, which works quite 
> well. Due the rest of the processing is automated and realised with free 
> software I would like to replace this step.
> Is there any free software tool with the functionality of the ArcGIS 
> tool? The best think would be a python function.


I am not aware of a clean way of doing this with GDAL/OGR or anything else
in FWTools.  It is possible with scripting but then it is rather involved.

One script that might be of interest is the assemblepoly.py script which
collects edges of a polygon from a topological datasource (TIGER in this
case I think) and assembles them into polygons.  In theory these could
then be used for a spatial query on a point layer to find the contained


But I suspect you would be better looking at packages like GRASS, or
gvSIG that aspire to more complete GIS functionality.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the FWTools mailing list