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

Hello!

I clicked on http://wiki.openstreetmap.org/wiki/Spreadnik/Tutorial to learn something about XML-Stylesheets.

I found a link to an example called generate_image.py (http://weait.com/content/make-your-first-map).

This link doesn't work.

Does anyone know, where I can find this example.

Is there any tutorial about XML-Stylesheets, where I can get to know more about this method of styling my maps.

Greetings Matthias

asked 21 Mar '12, 12:13

MHein's gravatar image

MHein
141111116
accept rate: 0%


You can get that page via archive.org. However, rather than following the prerequisite links from that page you might be better off following those on switch2osm instead. Once you've got a working tile server, you'll then have generate_image.py and can edit that to define what area you want an image of.

Those pages will get you an OSM server and the OSM Mapnik 0.7 stylesheet. If you want to actually modify styles though, there are probably easier options. Search help.osm.org for "Tilemill" (which is an answer typically given to similar questions) and you'll see lots of questions and answers.

permanent link

answered 21 Mar '12, 13:26

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

You can check any page on archive.org. Most of the tutorials on weait.com have moved to switch2osm.org and is kept up to date there.

permanent link

answered 21 Mar '12, 13:26

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

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:

×84
×78
×24
×18
×2

question asked: 21 Mar '12, 12:13

question was seen: 4,259 times

last updated: 21 Mar '12, 13:26

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