OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-01-24 16:05:39

zchl
Member
Registered: 2019-01-24
Posts: 2

Rendering OSM without small-scale detail

I want to render large number of images (>10 000) using data from OSM and some of my own. I probably want to use one of default styles as a background. I am wondering if there are available filtered datasets that would allow me to complete it without using excessive amount of space and compute. I don't need detail that is smaller than zoom 11 and I probably could do even with zoom 9.

I need data from all parts of the planet.

Offline

#2 2019-01-24 16:10:18

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,253
Website

Re: Rendering OSM without small-scale detail

There are available prerendered tiles up to z10 thanks to Paul Norman, I guess it might suit your needs:

https://lists.openstreetmap.org/piperma … 30488.html
http://legolas.paulnorman.ca/prerender/

Offline

#3 2019-01-24 16:52:13

zchl
Member
Registered: 2019-01-24
Posts: 2

Re: Rendering OSM without small-scale detail

I would prefer to have data, so I can use arbitrary scale and 2x rendering.

Offline

#4 2019-01-24 18:57:54

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,253
Website

Re: Rendering OSM without small-scale detail

Then you probably need a planet file and filter it to contain only the tags you want to display - for example using osmium:

https://wiki.openstreetmap.org/wiki/Planet.osm
https://wiki.openstreetmap.org/wiki/Osmium

Next thing is choosing the style you want and importing filtered data file. For standard style (OSM Carto) just go on with instructions like here:

https://switch2osm.org/manually-buildin … 18-04-lts/

Tweaking scaling in this style is done in https://github.com/gravitystorm/openstr … ect.mml#L1

Offline

Board footer

Powered by FluxBB