When I try to download this polygon I get this error;

Error while generating polygon. You could check the geometry through an analyser:

analyser using an internal database. analyser using OSM API (slower). Message from postgresql server: NOTICE: missing connexion at point -3.9528684f 52.9621599f - ways: 4685489 NOTICE: missing connexion at point -3.9471549f 52.9622537f - ways: 4685491 NOTICE: missing connexion at point -3.8930782f 53.2573835f - ways: 50894166 208237990 98747616 50894167

I'm new to OSM does anyone know how to fix it.

asked 19 Oct '14, 20:01

Malpas%20wanderer's gravatar image

Malpas wanderer
1111
accept rate: 0%

What software is it that is giving you the "Error while generating polygon"?

(19 Oct '14, 20:50) SomeoneElse ♦

Obviously you're getting these error messages from http://polygons.openstreetmap.fr/?id=287245 :

alt text

Strange enough that the analysis tool on this page fails to provide a useful error message: http://analyser.openstreetmap.fr/cgi-bin/index.py?relation=287245

As this is a server maintained by the French OSM community, I'd recommend to create a ticket on the issue tracker https://trac.openstreetmap.fr/ - However, I'm not quite sure which area is the right one. Maybe you want to check on a French list/forum?

In any case, if you're using this page to download some GeoJSON/etc. format, you might as well consider Overpass Turbo: http://overpass-turbo.eu/s/5wP - Just hit the "Run" + "Export" buttons for various output formats.

permanent link

answered 19 Oct '14, 21:50

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

edited 19 Oct '14, 22:10

3

Many thanks for that. After some experimentation exporting as a KML file seems to have been imported to my application satisfactorily.

(20 Oct '14, 00:15) Malpas wanderer

The Snowdonia NP relation appears to be fine according to Relation Analyser (see http://ra.osmsurround.org/analyzeRelation?relationId=287245&_noCache=on).

In general its worth checking with OSM Inspector for the state of large polygons & relations before trying to download them. OSM Inspector reports and error but I couldn't find the break in the ring.

If something is broken then it's usually best to badger someone with experience of fixing them rather than trying to get to grips both with multipolygons and finding the tools which are most useful in the situation. Normally I would pull down the relation into JOSM and use JOSM to find and fix the issues.

permanent link

answered 19 Oct '14, 23:39

SK53's gravatar image

SK53 ♦
27.8k47267430
accept rate: 22%

2

The solution in the previous post has seemed to work for me so I'm happy.

many thanks for offering your advice too though.

(20 Oct '14, 00:18) Malpas wanderer

Yes, but the ideas of these Q&As is to offer advice which might be helpful to others too.

(20 Oct '14, 15:02) SK53 ♦
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:

×288

question asked: 19 Oct '14, 20:01

question was seen: 1,791 times

last updated: 20 Oct '14, 15:02

powered by OSQA