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

Im running the xsltproc osm-map-features-z17.xml but I get errors in the beginning and it goes into a continuos "area centre....." Is this correct? What should ideally be the file size?

asked 16 Aug '11, 09:44

Sreemoyee%20Mitra's gravatar image

Sreemoyee Mitra
30667
accept rate: 0%

Are you referring to this step in using the osmarender? Not clear from your question

(16 Aug '11, 09:58) Harry Wood

Your experience is normal. Unfortunately, it can take a long time to render a SVG using xsltproc. I rendered a relatively large city several months ago with the z17 stylesheet (its bounding box was North 41.6000 West -81.85 South 41.4173 EAST -81.5323 ) and it had taken over 6 hours to render !

As petschge mentioned, the speed was much quicker with or/p - the same bounding box and stylesheet had taken less than 10 minutes to render with or/p !

permanent link

answered 16 Aug '11, 11:10

skorasaurus's gravatar image

skorasaurus
1.4k153137
accept rate: 12%

Calculation of area centers takes quite a while, so be patient. Note that the perl implementation of osmarender is quite a bit faster than the XSLT version.

The size of the resulting SVG file depends a lot on the size and complexity of the area that you render. Files between 200kB and 5MB are quite common. If the file is significantely smaller something might be worng. Larger files can be perfectly valid but are hard on rasterizers.

permanent link

answered 16 Aug '11, 10:30

petschge's gravatar image

petschge
8.3k217398
accept rate: 21%

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:

×2

question asked: 16 Aug '11, 09:44

question was seen: 2,939 times

last updated: 16 Aug '11, 11:10

Related questions

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