[OSM-dev] Some hacks for wikipedia
James Mike DuPont
jamesmikedupont at googlemail.com
Thu Jul 23 17:00:29 BST 2009
Here are some hacks I made for wikipedia, kml2osm and all.
It could be better, and dont worry about those 10 points I added.
I found out yesterday that I dont need to parse the whole wikipedia to
get the points.
So, now I have split that file by the area of interest.
First I parsed out my kosovo boundries file and extracte d the min/max
of lat and lon.
using the openstreetmapkosova/kosovaadmin.osm from my osm branch, also
This produced :
LAT Avg 42.3764065194805
LON Avg 20.9177833755102
I modified those coords, and used my stripkml to extract all the points
in that box :
Then I used kml2osm from here
The modified version is for the wikipedia points only.
You need to run it with the exisiting osmlib, i run it in the examples dir.
Here is the result:
Here is my changeset, uploaded with josm.
Now I would like to have a way to process the wikipedia
data in chunks like this. There should be a way to extract just parts of
the zipfile or bz2 file.
More information about the dev