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

Hi,

I am attempting to use JOSM and so far I have been using it successfully. I am using it in conjunction with SUMO. However not so long ago I found a problem which has gotten me stuck. So help would be greatly appreciated!

I downloaded a map from OSM, left it as it is, used polyconvert (from SUMO), and it worked out fine.

Then I spent some time simplifying the map using JOSM. (Deleting and modifying some of the nodes and polygons which I found to be unnecessary for my project.) After doing so, I tried using polyconvert once again, and the following error popped up:

'Error: Polygon "(With polygon number)" has no shape.'

At first I thought that there were some extra polygons not specified in my file, so I intentionally left a single node in the file and tried using polyconvert again. And the same error arises!

Now for me, it is impossible to remove all the work I have done on the map and start over, as I spent many hours modifying it. Therefore the way I see it, there are two solutions (which I do not know how to do!).

1) Copy the deleted polygons from the original file.

2) Remove any possible residuals of the polygons which I deleted.

Obviously I prefer solution (2) but I do not know how to do it..any help would be immensely appreciated! Thanks!

asked 20 Oct '13, 10:34

dmag0006's gravatar image

dmag0006
11112
accept rate: 0%

edited 22 Oct '13, 19:01

Richard's gravatar image

Richard ♦
30.9k44279412


In polyconverter, you can use the option --ignore-errors as True

permanent link

answered 23 Jan '23, 08:59

prapul's gravatar image

prapul
1
accept rate: 0%

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:

×622
×293
×92
×4

question asked: 20 Oct '13, 10:34

question was seen: 3,180 times

last updated: 23 Jan '23, 08:59

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