[OSM-dev] Machine-readable list of map features?

Olaf Hannemann ohannemann at opensource-werkstatt-stubben.org
Thu Dec 18 13:34:48 GMT 2008


Hi,

Am Donnerstag, 18. Dezember 2008 13:53:29 schrieb Karl Guggisberg:
> just wondering whether there is a machine readable equivalent of
>     http://wiki.openstreetmap.org/wiki/Map_Features
> which is easier to parse than formatted Wiki source?
>
> Rumors are that the JOSM validator plugin relies on such a list.

There is a Perl-Module named Geo-OSM-MapFeatures available. Take a look at
http://search.cpan.org/~bobkare/Geo-OSM-MapFeatures-0.02.
I am currently working on a little script which parses the Map_Features into a 
xml file. You can see first results at
http://opensource-werkstatt-stubben.org/osm/map_features.xml.

But there is a little work todo:
- sort all values into one key tag.
- remove some "User Defined" values.

regards

Olaf




More information about the dev mailing list