Re: [OSM-dev] Can we have higher resolution tiles?
Hi, John Smith wrote: I don't know about other map style sheets, but the default OSM Mapnik style sheet doesn't work very well beyond z17, only areas and POIs tend to render properly, It does seem to look ok in zoom 18 on www.openstreetmap.org though? so while you can do it, it doesn't look very nice most of the time. Is the style you made for Sydney open source? What changes did you make to support z20? Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On 15 June 2011 17:14, Frederik Ramm frede...@remote.org wrote: Is the style you made for Sydney open source? What changes did you make to support z20? I used the default OSM mapnik style sheet, instead of using renderd/mod_tile I used slightly modified generate_image.py to generate tiles, you can find a copy here: http://www.archive.org/download/SharedMap2/generate_image.py ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On Wed, Jun 15, 2011 at 2:15 PM, John Smith deltafoxtrot...@gmail.com wrote: On 15 June 2011 17:14, Frederik Ramm frede...@remote.org wrote: Is the style you made for Sydney open source? What changes did you make to support z20? I used the default OSM mapnik style sheet, instead of using renderd/mod_tile I used slightly modified generate_image.py to generate tiles, you can find a copy here: http://www.archive.org/download/SharedMap2/generate_image.py Thanks for sharing it, can you please tell that which main editing is done in this file and whats the purpose of that? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On 15 June 2011 18:58, Parveen Arora o...@parveenarora.in wrote: Thanks for sharing it, can you please tell that which main editing is done in this file and whats the purpose of that? It was modified to replace mod_tile/renderd for batch tile production ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On Wed, Jun 15, 2011 at 10:10 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). Yes I meant to pixels per inch. You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? Yes, someone asked me to print them for his area, but one I printed is not of good quality. So I wants to increase the resolution of tiles for local OSM Tile Server. To change which icons appear at which zoom levels you need to alter the mapnik style file. You will see minzoomevel and maxzoomlevel statements which set this. OK, Thank You. -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On Wed, Jun 15, 2011 at 1:23 PM, Parveen Arora o...@parveenarora.in wrote: On Wed, Jun 15, 2011 at 10:10 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). Yes I meant to pixels per inch. You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? Yes, someone asked me to print them for his area, but one I printed is not of good quality. So I wants to increase the resolution of tiles for local OSM Tile Server. OK, so it's impossible to change the resolution of images, since they don't have a resolution. Images only have a number of pixels, that's it. When stuff is shown on screen it's usually shown around 90 pixels per inch. Most times when you print a webpage then it'll assume that you still want to print at 90 pixels per inch, regardless of the DPI of the printer. In order to look crisp, you want to find a way to instruct your printer to print at more pixels per inch, say 250 pixels per inch. Again, don't confuse this with the DPI setting of the printer, since that's about number of ink droplets on the page, and not to do with pixels per inch. Now to make things like the width of a road or icon of a church stay at the same size, you would need to increase the number of pixels they are measured in. So a road would need to be e.g. 15 pixels instead of 5. That usually involves changing the stylesheets, although there is work on this going on in mapnik2 to allow this to be controlled without editing the stylesheet. You could have a look at the oversize tiles that CloudMade produce. http://developers.cloudmade.com/projects/tiles/documents . You can see in the second example everything is drawn bigger, so that if you were to print out at 180 pixels per inch it would look the same size as a normal map, but you'll end up with a better looking map. Finally, if you are printing it's often worth ignoring all this stuff and just printing from SVG. You can get SVG output from the Export tab. Cheers, Andy ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
If you need printing-quality rendering, you can take a look at http://maperitive.net/docs/manual/Commands/ExportBitmap.html#Scaling Igor On Wed, Jun 15, 2011 at 2:42 PM, Andy Allan gravityst...@gmail.com wrote: On Wed, Jun 15, 2011 at 1:23 PM, Parveen Arora o...@parveenarora.in wrote: On Wed, Jun 15, 2011 at 10:10 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). Yes I meant to pixels per inch. You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? Yes, someone asked me to print them for his area, but one I printed is not of good quality. So I wants to increase the resolution of tiles for local OSM Tile Server. OK, so it's impossible to change the resolution of images, since they don't have a resolution. Images only have a number of pixels, that's it. When stuff is shown on screen it's usually shown around 90 pixels per inch. Most times when you print a webpage then it'll assume that you still want to print at 90 pixels per inch, regardless of the DPI of the printer. In order to look crisp, you want to find a way to instruct your printer to print at more pixels per inch, say 250 pixels per inch. Again, don't confuse this with the DPI setting of the printer, since that's about number of ink droplets on the page, and not to do with pixels per inch. Now to make things like the width of a road or icon of a church stay at the same size, you would need to increase the number of pixels they are measured in. So a road would need to be e.g. 15 pixels instead of 5. That usually involves changing the stylesheets, although there is work on this going on in mapnik2 to allow this to be controlled without editing the stylesheet. You could have a look at the oversize tiles that CloudMade produce. http://developers.cloudmade.com/projects/tiles/documents . You can see in the second example everything is drawn bigger, so that if you were to print out at 180 pixels per inch it would look the same size as a normal map, but you'll end up with a better looking map. Finally, if you are printing it's often worth ignoring all this stuff and just printing from SVG. You can get SVG output from the Export tab. Cheers, Andy ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On 15 Jun 2011, at 13:42, Andy Allan wrote: On Wed, Jun 15, 2011 at 1:23 PM, Parveen Arora o...@parveenarora.in wrote: On Wed, Jun 15, 2011 at 10:10 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). Yes I meant to pixels per inch. You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? Yes, someone asked me to print them for his area, but one I printed is not of good quality. So I wants to increase the resolution of tiles for local OSM Tile Server. OK, so it's impossible to change the resolution of images, since they don't have a resolution. Images only have a number of pixels, that's it It's not so badly expressed. It's reasonable to say Google Maps on an iPhone 4 has higher resolution tiles than Google Maps on an iPhone 3G. In fact, when I'm paying per byte, roaming on my iPhone 4, I've quite often wanted to like to select lower resolution tiles (that's the way I think of it, which seems reasonable), on the assumption that the higher res screen consumes 4x the map data. - L ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
Andy, You are quite right, the image itself does not have a resolution. What I meant was change the resolution that mapnik assumes that you will print the image at, so that your 12pt font appears at 12pt size on the printed page etc. There is an implied resolution of (I think) around 90ish pixels per inch as you say. Graham. On 15 June 2011 13:42, Andy Allan gravityst...@gmail.com wrote: On Wed, Jun 15, 2011 at 1:23 PM, Parveen Arora o...@parveenarora.in wrote: On Wed, Jun 15, 2011 at 10:10 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). Yes I meant to pixels per inch. You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? Yes, someone asked me to print them for his area, but one I printed is not of good quality. So I wants to increase the resolution of tiles for local OSM Tile Server. OK, so it's impossible to change the resolution of images, since they don't have a resolution. Images only have a number of pixels, that's it. When stuff is shown on screen it's usually shown around 90 pixels per inch. Most times when you print a webpage then it'll assume that you still want to print at 90 pixels per inch, regardless of the DPI of the printer. In order to look crisp, you want to find a way to instruct your printer to print at more pixels per inch, say 250 pixels per inch. Again, don't confuse this with the DPI setting of the printer, since that's about number of ink droplets on the page, and not to do with pixels per inch. Now to make things like the width of a road or icon of a church stay at the same size, you would need to increase the number of pixels they are measured in. So a road would need to be e.g. 15 pixels instead of 5. That usually involves changing the stylesheets, although there is work on this going on in mapnik2 to allow this to be controlled without editing the stylesheet. You could have a look at the oversize tiles that CloudMade produce. http://developers.cloudmade.com/projects/tiles/documents . You can see in the second example everything is drawn bigger, so that if you were to print out at 180 pixels per inch it would look the same size as a normal map, but you'll end up with a better looking map. Finally, if you are printing it's often worth ignoring all this stuff and just printing from SVG. You can get SVG output from the Export tab. Cheers, Andy -- Graham Jones Hartlepool, UK. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
Hi, I was just playing with printing on paper the maps created by Mapserver WMS. Simple scaling of labels and road widths is already implemented there. Compare the default output planned to be viewed on screen http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.mapREQUEST=GetMapSERVICE=WMSVERSION=1.1.1WIDTH=2100HEIGHT=1300LAYERS=building,roadsclose_02TRANSPARENT=TRUEFORMAT=image/pngBBOX=384624.91928819387,6670111.152621979,388398.2415827064,6672437.856548623SRS=EPSG:3067STYLES= And this one adjusted on-the-fly to produce an image for 200 DPI printing http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.mapREQUEST=GetMapSERVICE=WMSVERSION=1.1.1WIDTH=2100HEIGHT=1300LAYERS=building,roadsclose_03TRANSPARENT=TRUEFORMAT=image/pngBBOX=384624.91928819387,6670111.152621979,388398.2415827064,6672437.856548623SRS=EPSG:3067STYLES=map_resolution=200 If SVG interests more, there is no need to use any separate service, just ask for format=image/svg.xml http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.mapREQUEST=GetMapSERVICE=WMSVERSION=1.1.1WIDTH=2100HEIGHT=1300LAYERS=building,roadsclose_03TRANSPARENT=TRUEFORMAT=image/svg%2BxmlBBOX=384624.91928819387,6670111.152621979,388398.2415827064,6672437.856548623SRS=EPSG:3067STYLES= -Jukka Rahkonen- Andy Allan kirjoitti: On Wed, Jun 15, 2011 at 1:23 PM, Parveen Arora o...@parveenarora.in wrote: On Wed, Jun 15, 2011 at 10:10 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). Yes I meant to pixels per inch. You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? Yes, someone asked me to print them for his area, but one I printed is not of good quality. So I wants to increase the resolution of tiles for local OSM Tile Server. OK, so it's impossible to change the resolution of images, since they don't have a resolution. Images only have a number of pixels, that's it. When stuff is shown on screen it's usually shown around 90 pixels per inch. Most times when you print a webpage then it'll assume that you still want to print at 90 pixels per inch, regardless of the DPI of the printer. In order to look crisp, you want to find a way to instruct your printer to print at more pixels per inch, say 250 pixels per inch. Again, don't confuse this with the DPI setting of the printer, since that's about number of ink droplets on the page, and not to do with pixels per inch. Now to make things like the width of a road or icon of a church stay at the same size, you would need to increase the number of pixels they are measured in. So a road would need to be e.g. 15 pixels instead of 5. That usually involves changing the stylesheets, although there is work on this going on in mapnik2 to allow this to be controlled without editing the stylesheet. You could have a look at the oversize tiles that CloudMade produce. http://developers.cloudmade.com/projects/tiles/documents . You can see in the second example everything is drawn bigger, so that if you were to print out at 180 pixels per inch it would look the same size as a normal map, but you'll end up with a better looking map. Finally, if you are printing it's often worth ignoring all this stuff and just printing from SVG. You can get SVG output from the Export tab. Cheers, Andy ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Can we have higher resolution tiles?
Hello Everyone, I want to know that can we produce higher resolution tiles for a tile server, means a resolution bit more than of default produced tiles. Please let me know the procedure of it, If any available? -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On Wed, Jun 15, 2011 at 9:13 AM, Mike Dupont jamesmikedup...@googlemail.com wrote: yes you can http://www.archive.org/download/SharedMap2/index.html here john made zoom level 20 for sydney mike Thanks Mike, But can we have a the quality of tiles a bit better at lesser zoom levels? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? To change which icons appear at which zoom levels you need to alter the mapnik style file. You will see minzoomevel and maxzoomlevel statements which set this. Regards Graham from my phone On 15 Jun 2011 04:42, Parveen Arora o...@parveenarora.in wrote: Hello Everyone, I want to know that can we produce higher resolution tiles for a tile server, means a resolution bit more than of default produced tiles. Please let me know the procedure of it, If any available? -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On 15 June 2011 13:40, Parveen Arora o...@parveenarora.in wrote: Hello Everyone, I want to know that can we produce higher resolution tiles for a tile server, means a resolution bit more than of default produced tiles. Please let me know the procedure of it, If any available? I don't know about other map style sheets, but the default OSM Mapnik style sheet doesn't work very well beyond z17, only areas and POIs tend to render properly, so while you can do it, it doesn't look very nice most of the time. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev