enzet / map-machine

Python renderer for OpenStreetMap with custom icons intended to display as many map features as possible
MIT License
503 stars 31 forks source link

Render tourism=camp_pitch #144

Closed habi closed 1 year ago

habi commented 1 year ago

It would be great if tourism=camp_pitch is rendered, maybe even with its refnumber if mapped. A (faint) border could be something appropriate.

Somehow related to me wanting to render a detailed map of campsites...

enzet commented 1 year ago

Good suggestion, thank you!

enzet commented 1 year ago

Hi, @habi! I've fixed a bug with the ref tag and supported tourism=camp_pitch with simple outline if this is an area.

Now it should look like this:

map-machine render -s 600,400 -c 46.80506/6.71758 -z 19

camp_pitch_19_ref

map-machine render -s 600,400 -c 46.80506/6.71758

camp_pitch_18_ref

Using an icon

If we want to use an icon, we should specify its minimal zoom level. I think, 19 is most appropriate.

camp_pitch_19_icon

However, due to some limitations of currently used scheme format, for zoom levels 18 and smaller, icons will disapear along with refs.

camp_pitch_18_icon

habi commented 1 year ago

I think it's very nice that camp pitches are now rendered as faintly visible ways, thanks for implementing this so quickly!