Re: [OSM-dev] Increase Zoom Level of OSM server

2017-07-18 Thread Andy Townsend

On 18/07/2017 09:24, amisha budhiraja wrote:

Hi all,

I want to increase the zoom level of my own OSM server to more than
20.


https://github.com/SomeoneElseOSM/mod_tile/tree/zoom

should do what you want, up to zoom 28.  See the links from 
http://www.openstreetmap.org/user/SomeoneElse/diary/39423 and 
https://wiki.openstreetmap.org/wiki/User:SomeoneElse/mod_tile_28 for 
details about the changes needed.


Important notes:

After applying this change you'll need to delete and cached metatiles 
that you might have, since the path to each one is now different.


If you are dirtying tiles then note that neither osm2pgsql nor 
render_expired like a very large MAXZOOM passed to them when updating a 
rendering database, so another strategy is needed to deal with very high 
zoom tiles (such as deleting them nightly).


An example of a map using that mod_tile is 
https://map.atownsend.org.uk/maps/map/map.html , which supports native 
zooms up to 24 (25 is overzoomed 24).


Best Regards,

Andy


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Increase Zoom Level of OSM server

2017-07-18 Thread Daniel Koć

MAX_ZOOM is defined here, you can see if changing it really works:

https://github.com/openstreetmap/mod_tile/blob/master/includes/render_config.h#L4


Maybe you could try Tirex instead?

https://wiki.openstreetmap.org/wiki/Tirex

https://github.com/geofabrik/tirex



W dniu 18.07.2017 o 10:24, amisha budhiraja pisze:

Hi all,

I want to increase the zoom level of my own OSM server to more than
20. If I set the value of the variable MAXZOOM in renderd.conf file to
more than 20.

Then, on running the following command it gives me error.

$ renderd -f -c /usr/local/etc/renderd.conf


Specified max zoom (21) is to large. Renderd currently only supports
up to zoom level 20


Can somebody help me in it?




--
"Like a halo in reverse" [M. Gore]

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Increase Zoom Level of OSM server

2017-07-18 Thread amisha budhiraja
Hi all,

I want to increase the zoom level of my own OSM server to more than
20. If I set the value of the variable MAXZOOM in renderd.conf file to
more than 20.

Then, on running the following command it gives me error.

$ renderd -f -c /usr/local/etc/renderd.conf


Specified max zoom (21) is to large. Renderd currently only supports
up to zoom level 20


Can somebody help me in it?


-- 
Regards,
Amisha Budhiraja.
Blog: https://amisha2016.wordpress.com
Github: https://github.com/amisha2016
Gitlab: https://gitlab.com/u/Amisha2016
The human face has limited space. If you fill it with laughter there
will be no room for crying.

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev