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

Hi I've a boundary polygon I wish to import into OSM (Don't worry, it has the required licence). However there are far too many nodes. I have software to filter them out by distance or frequency, but that removes certain intricate sections (in this case, as it passes between a number of houses.)

Is there any software or algorithm which can ignore nodes which form angles around 90 degrees? I've the data in a number of formats (CSV, XML, GeoJSON etc)

asked 18 Feb '19, 19:11

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

not really answering your question re. the 90°, but I guess the Ramer–Douglas–Peucker algorithm which is (as far as I know) used by e.g. GPSies (import/upload gpx, simplify, download - does not need a login) should work fine.

(18 Feb '19, 19:50) aseerel4c26 ♦
Be the first one to answer this question!
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:

×205
×92
×66

question asked: 18 Feb '19, 19:11

question was seen: 949 times

last updated: 22 Mar '19, 21:58

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