[Imports] [HOT] Update: Somalia places imported; roads up next
balrogg at gmail.com
Fri Aug 19 17:12:32 UTC 2011
On 19 August 2011 08:07, Schuyler Erle <schuyler at nocat.net> wrote:
> I would like to import the region and district boundaries from the OCHA COD next. Does anyone have any thoughts on how to go about this? If I just import the polygons as is, we'll wind up with a lot of redundant nodes and ways, I'm guessing. I would really appreciate feedback.
Do want to import all three datasets, including the Mogadishu
districts? I'll take a look at the files.
As Toby said ogr2osm can create the multipolygons deduplicating ways
and nodes, but you will need additional logic for setting the right
admin_level on the ways and you probably want to leave out the country
boundary which is already in OSM (so the border district relation will
need manual fixing up). I have a python script that I used to do this
for the Spanish borders which had 3 admin levels combined and uploaded
together, including adding wikipedia= and population= tags iirc.
> Next, HOT has been been donated a decent looking highway dataset by MadMappers as described on the data sources page on the wiki.
> I have reviewed this dataset on the HOT list:
> There are 753 roads currently in the OSM database in Somalia. There are 37,427 roads in the MadMappers dataset. The good folks on the #osm channel on IRC were kind enough to brainstorm with me for a bit on how to proceed. My current plan is to split the MapMappers road dataset into two pieces: One which contains all the roads that are no closer than 500m to an existing road in OSM. These I will import as-is, retaining information on provenance and road surface wherever possible.
> All of the MadMappers road features within 500m of an existing road in OSM will be split up geographically, and the chunks will be converted into OSM files and posted on the wiki. I will put out a call for volunteers on the HOT list to "check" out these files, and integrate them manually using JOSM, taking care to attach the nodes at the edges. I would like to have all of this work completed by Monday, provided that I can find the volunteers. I will document everything on the wiki.
More information about the Imports