MapServer / basemaps

Scripts to generate MapServer mapfiles based on OpenStreetMap data. Please submit pull requests to the 'main' branch.
61 stars 46 forks source link

How to enable generation of buildings #30

Closed kytay closed 7 years ago

kytay commented 10 years ago

Hi I have tried to add buildings.map in the line "include=" in the Makefile. But I cannot get the basemap to generate the buildings layer. Am I missing out some other configurations?

maraev commented 10 years ago

Hello! building.map has been included in osmbase.map for each zoom level. Perhaps you should add 'display_buildings' parameter to generate_style.py like { 15:1 }

2014-06-24 7:06 GMT+04:00 kytay notifications@github.com:

Hi I have tried to add buildings.map in the line "include=" in the Makefile. But I cannot get the basemap to generate the buildings layer. Am I missing out some other configurations?

— Reply to this email directly or view it on GitHub https://github.com/mapserver/basemaps/issues/30.

lernen,lernen und lernen

kytay commented 10 years ago

Hi

I have done a search on my generate_style.py

752 ###### buildings ###### 753 'display_buildings': { 754 0: 0, 755 15:1 756 },

1119 'tertiary_ol_clr': '193 181 157', 1120 'other_ol_clr': '193 181 157', 1121 'pedestrian_ol_clr': '193 181 157', 1122 'display_buildings':0 1123 },

The display_buildings is already 15:1 Should I be changing line 1122, display_buildings to something greater than 0?

maraev commented 10 years ago

It depands on what style are you using. That line is intended for 'google' style. Anyway you can experiment...

2014-07-07 6:11 GMT+04:00 kytay notifications@github.com:

Hi

I have done a search on my generate_style.py

752 ###### buildings ###### 753 'display_buildings': { 754 0: 0, 755 15:1 756 },

1119 'tertiary_ol_clr': '193 181 157', 1120 'other_ol_clr': '193 181 157', 1121 'pedestrian_ol_clr': '193 181 157', 1122 'display_buildings':0 1123 },

The display_buildings is already 15:1 Should I be changing line 1122, display_buildings to something greater than 0?

— Reply to this email directly or view it on GitHub https://github.com/mapserver/basemaps/issues/30#issuecomment-48135450.

lernen,lernen und lernen

kytay commented 10 years ago

Hi maraev

I will try that. Thanks.

sgrossberndt commented 7 years ago

Can be closed.

yjacolin commented 7 years ago

@sgrossberndt can't you close ticket? I don't think it is limited to admin or commiter. Am I wrong?

sgrossberndt commented 7 years ago

My current rights on the repository do not allow to do so.