[Imports] Polygon relationificator

Emilie Laffray emilie.laffray at gmail.com
Mon Sep 14 21:13:27 BST 2009


Andre Grueneberg wrote:
> Iván Sánchez Ortega wrote:
>   
>> I'm all for an unix-like approach: lots of small specialised tools, that work 
>> together in order to do an import. Right now we got conversors, filters, 
>> uploaders and whatnot.
>> But one thing I'm missing is a "polygon relationificator". Let me explain.
>>     
>
> Well, I've done something similar lately. Although some of the logic is
> integrated into a wider set of tools.
> You might want to have a look at http://andre.grueneberg.de/osm/ ...
> you'll find make_rel.pl, remove_duplicates.pl and e.g. generate_osm.sh
> (to see an example how to call it).
>
> Those tools currently make some assumptions about the input format ...
> they are far from being cleaned up.
>
>   
>> Let's suppose I've got a shapefile/GML/spatialite file full of polygons; and 
>> such polygons do not overlap each other, and are adjacent to each other to 
>> cover a large area. Think land use and administrative areas.
>>     
>
> Yes ... that's exactly the thing, I wrote it for. For a dataset of
> multiple levels of administrative boundaries.
>
>   
Too bad it is written in Perl :P

Emilie Laffray

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/imports/attachments/20090914/35fcd9c6/attachment.pgp>


More information about the Imports mailing list