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

Hey folks, I'm wanting to mod generate_tiles.py to create 512 x 512 tiles. Googling around, I found this lonesome question, unanswered on a forum, but I share that poster's concern about blinding changing all 256's to 512's. Afterall, I see 256's in places throughout the file that seem unrelated to the tile size---like in the projection values and in the image type.

I could start a round of trial-an-error, changing 256's to 512's based on relatively-educated guesses, but I thought I'd poll the community first. Thanks!

asked 19 Dec '12, 14:56

elrobis's gravatar image

elrobis
41125
accept rate: 0%

(as you've probably done the "trial and error" by now)

Did it work?

(30 Jan '13, 12:25) SomeoneElse ♦
1

Here is the url btw: http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py

I managed to get it working way back, but if it's hard you can have a look at generate_image.py in the same directory to see how to render images of arbitrary size. (I guess someone(else) should update that code to use render_size globaly)

(30 Jan '13, 14:17) emj

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:

×341
×78
×24

question asked: 19 Dec '12, 14:56

question was seen: 3,804 times

last updated: 30 Jan '13, 14:18

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