NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi There,

I've been messing around with building my own tile server on Ubuntu 14.04 just to see what it's like. I followed this guide: https://switch2osm.org/

I'm only a few days into this so I'm extremely new.

I have a particular interest in railways. I have a few questions right off the bat that someone may be able to answer:

I noticed that the railways only get rendered at zoom level 12 and above. Is there a way to change this? Where would I start? At which point in the process does this get defined?

Thanks

asked 21 Apr '15, 16:11

templar's gravatar image

templar
11112
accept rate: 0%


Near the very end. Usally a program that reads the raw data file such as a .osm XMLdata file: and then uses rules either fixed in the rendering program code, or a special format file such as .mapcss or other config file; to work out how to draw the features. If you are lucky you can find a format file in the tile making system you've just made that you can tweek to control specific problem. I'm personaly not to sure what system options you have but either others will fill in the details or I'll look into it in a bit. I'm downloading tilemill now. this page might help you in understanding the process:- http://wiki.openstreetmap.org/wiki/MapCSS

permanent link

answered 21 Apr '15, 16:38

Govanus's gravatar image

Govanus
1543711
accept rate: 3%

https://www.mapbox.com/editor/#style

tile maker seems to use .mss files which are working in a similar way to the mapcss page above.

this page might help you as it seems to work with similar stylesheets to tilemaker:-

http://wiki.openstreetmap.org/wiki/Phyghtmap/CartoCSS

(21 Apr '15, 16:48) Govanus

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×440
×68

question asked: 21 Apr '15, 16:11

question was seen: 3,069 times

last updated: 21 Apr '15, 16:48

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum