[OSM-dev] perl script for extracting region of osm

Steve Coast steve at asklater.com
Mon Sep 10 11:39:39 BST 2007


copying to dev, please post this again there

On 10 Sep 2007, at 10:16, farhad ahmadi wrote:

> Dear Steve
> I am working on mobile navigation system. I used some of your site  
> data for my application.
> I wrote some perl scripts to extract desired region from planet.osm  
> xml file.
> It might be useful for your site users.
>
> the scripts are as belows:
> make1.pl: to make node list of desired region and remove other  
> nodes and save it to use in next step.
> make2.pl: to make segment list of desired region with the help of  
> extracted node list in step1
>                and remove other segments and save it to use in next  
> step.
> make3.pl: to make way list of desired region with the help of  
> extracted segment list in step2
>                and remove other ways and save it to use in next step.
> make_points: to make Mapinfo file contains only desired points from  
> step3 output
> make_ways: make Mapinfo file contains only ways from step3 output
>
>
> Regards
> Farhad Ahamdi
>
> <scripts.zip>

have fun,

SteveC | steve at asklater.com | http://www.asklater.com/steve/






More information about the dev mailing list