Albania TPGInc Import

From OpenStreetMap Wiki
Jump to navigation Jump to search

Tagging Suggestions

Suggestions so far:
highway=road
source=TPGIncStreets

  • add tags easily using rpl on bash:
rpl -ve "</way>" "<tag k='highway' v='road' /> \n <tag k='source' v='TPGIncStreets100' /> \n <tag k='source:url' v='http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Roads_OSM/' /> \n </way>" import.osm

AutoConflation

There is currently an experimental process that utilizes the OpenJUMP platform with the Roadmatcher plugin to perform automated conflation (matching). See Albania TPGInc Import/Roadmatcher for more information.

Todos

  • don't overwrite existing streets.
  • run the Validator, merge street segments
  • join streets that end near each other.
  • don't upload points that are not connected.

code

Here is the hack to shp2osm.pl that does the splitting, please use that if you want to do mass imports. http://pastebin.com/f30247bfb

It splits by street count, not node count to get a clean cut. It is what I used to produce those files. the shape file is also online on archive.org

Import Status

See https://wiki.openstreetmap.org/w/index.php?title=Albania_TPGInc_Import&oldid=465023#Import_Status

Removed from the current page version as it was large enough to cause technical issues.

See https://wiki.openstreetmap.org/w/index.php?title=Talk:Wiki&oldid=2371684#Data_tables