El dt 30 de 12 de 2014 a les 21:42 +0300, en/na Pervaiz Malik va
escriure:
> You can try the following. Download a sample OSM data for any area in shapefiles. Convert these shapefiles to OSM (*.osm). I used JOSM for this conversion. Now convert that *.osm to *.obf using OSMANDMAPCREATOR. You will empty obf file.
>
Well, I did that for Anctartica(the smallest shapehile download from
geofabrick):
open in josm (let's call it the shape layer)
zoom to some mapped area
downlod the openstreetmap data for this area in a new layer (call the
osm layer)
Compare the same road between layers
save each layer to a different osm file and compare the files
As results I see:
The id of the road is changed
The original openstreetmap id is still available in the shape layer as a
tag: <tag k='osm_id' v='191725117' />
The highway tag disappears and is changed to a type tag:
osm-> <tag k='highway' v='tertiary' />
shape-> <tag k='type' v='tertiary' />
A bunch of irrelevant tags added to the entities in the shape
I'd bet that recovering the highway tag will be enough for
osmandmapcreator to create some output...
HTH
Pere