We already tried that but had the problem that the computer stucks or the fonts are to small to read.

The map would cover a full capital city (Addis Ababa).

asked 03 Aug '10, 18:02

Alazar%20AddisMap's gravatar image

Alazar AddisMap
90558
accept rate: 0%

Does the computer get stuck during rendering or when you open the resulting SVG in Inkscape?

(06 Aug '10, 12:17) Alex_AddisMap

Usually when rendering it takes more than half day. But the biggest problem is when I try to open the final SVG file that my PC gets stuck. But even after restarting my PC if I accidentally open the folder containing this SVG file it gets stuck again even if I don't try to open the SVG.

(13 Aug '10, 13:58) Alazar AddisMap

Osmarender uses CSS classes to format the map features. You will find the style rules contained in the rule file and could change the font size there. As soon as you run Osmarender to generate the map, it will put those style rules within the generated SVG file what results in the desired font size.

When your computer has problems processing the data this is not caused by an altered font size. Try the following depending on your problem:

  • Gets stuck while Osmarender runs: Try another XSL processor
  • Gets stuck while displaying or printing the generated SVG: Try another vector graphics software or try the wireframe mode (if supported by your software)

If there is no need to do the job using Osmarender it might be worth looking at other renders such as Maperitive or Mapgen.

permanent link

answered 05 Aug '10, 00:58

Augustus%20Kling's gravatar image

Augustus Kling
12114
accept rate: 0%

Do you have any suggestion for such a capable/fast XSL processor? (for Ubuntu)

(06 Aug '10, 12:16) Alex_AddisMap

I'm using xsltproc at the moment on Ubuntu which works fine for me. Wikipedia has a long list of other processors at http://en.wikipedia.org/wiki/XSLT_processor#Implementations . You might also want to try out http://wiki.openstreetmap.org/wiki/Orp that is a reimplementation of Osmarender without using XSLT but Perl instead.

For a more general explanation see also http://help.openstreetmap.org/questions/136/how-do-i-render-my-own-maps-for-my-website/207 and the links mentioned there.

(07 Aug '10, 23:10) Augustus Kling

I've only ever used a tile stitching approach using adapted versions of BigMap. It's easy enough to point that script at osmarender tiles. But this is a raster printout, with the same problem of fonts being too small if you want to go for a high-res printout. Some more thoughts on this on my OSM jigsaw blog post. This is also the approach used by Frederick when he does his big poster printouts. Vector is indeed problematic when it comes to printing a big complex city map without crashing your computer!

The font size problem seems to be tackled nicely for Mapnik if you scroll down to 'Mapnik maps for other resolutions' on this page. Not tried it myself, but it looks neat. It seems like you need to do a similar style transformation for osmarender. Not sure how you would go about that though.

permanent link
This answer is marked "community wiki".

answered 04 Aug '10, 11:42

Harry%20Wood's gravatar image

Harry Wood
9.3k2486126
accept rate: 13%

edited 09 Aug '10, 14:50

Do check out my responses to "how-do-i-export-map-images-of-larger-areas". If you don't need customization those options should be easier to get large images. With osmarender and A0 sizes your are likely going to run into performance problems if you don't split up the area.

permanent link

answered 05 Aug '10, 11:10

spaetz's gravatar image

spaetz
82371622
accept rate: 28%

edited 05 Aug '10, 11:11

What zoom level do you need?

I've just tried exporting Addis Ababa using Maperitive on zoom level 15 on my netbook and it produces a 1 MB SVG which I think shouldn't be a problem for processing on a normal PC . Exporting on zoom level 17 produces 1.4 MB.

If you want, I can send you the produced SVG to try it out on your machine.

permanent link

answered 16 Aug '10, 17:22

Breki's gravatar image

Breki
2.0k51743
accept rate: 10%

Your answer
toggle preview

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:

×49

question asked: 03 Aug '10, 18:02

question was seen: 6,981 times

last updated: 16 Aug '10, 17:22

powered by OSQA