Why not ask your question on the new OpenStreetMap Community Forum?

Is there any way to draw curves (e.g. Bézier curves) on Open Street Map or is straight lines the only way to draw paths?

asked 16 Sep '11, 17:25

Jonas_'s gravatar image

accept rate: 0%

edited 16 Sep '11, 17:29

The only way to draw curves in the OpenStreetMap data model is using many short straight sections. You can't draw true curves such as Béziers. This is a deliberate design choice to keep the data model as simple as possible.

You may be able to convert OpenStreetMap data to true curves after exporting it to a graphics or GIS package, but that would require extra work on your part.

permanent link

answered 16 Sep '11, 17:31

Jonathan%20Bennett's gravatar image

Jonathan Ben...
accept rate: 18%


Note that some renderers, for example osmarender, smoothe the angles more than mapnik, making them look curvyer.

(16 Sep '11, 18:30) Vincent de P... ♦

These sidewalks near my house seem to be rendered as bezier-like curves. In the ID editor, they are straight lines with right angles.


permanent link

answered 26 Mar '19, 20:16

JHartley's gravatar image

accept rate: 0%


The cyclemap layer does attempt to render paths as curves. But because OSM itself does not actually support curves in the data, the renderer has to guess – which it does extremely aggressively, as your map shows.

(26 Mar '19, 20:22) Tordanik
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 16 Sep '11, 17:25

question was seen: 7,571 times

last updated: 26 Mar '19, 20:22

powered by OSQA