opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

County/State/Country border not drawn using mapsforge map (likely same with VTM) #79

Open stleusc opened 10 years ago

stleusc commented 10 years ago

Loading a premade mapsforge map that contains admin data does not draw any county/state/country lines. Might be just a simple theme issue? I looked at the supplied themes and they were all different in regards to admininstrative boundaries. Not sure which syntax is needed to draw them.

Thanks!

apachemaven commented 10 years ago

How should you define your theme is bound with how you organize your data. Vtm use tags to differentiate different type of features, so the tags defined in your data should be consist with that in the theme.

hjanetzek commented 10 years ago

Yes, check the mapsforge tag-mapping.xml and whether the tags match to the theme.

stleusc commented 10 years ago

How or where would I find that file?

hjanetzek commented 10 years ago

it's part of the mapsforge file writer plugin. iirc the default boundary tag-mapping rules were a bit messed up. https://code.google.com/p/mapsforge/wiki/GettingStartedMapWriter