Modify

Opened 10 years ago

Last modified 5 years ago

#11101 new enhancement

Issue a warning when multipolygon relations grow too large

Reported by: stephankn Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: multipolygon Cc:

Description

To avoid editing nightmares like the one described here:

https://help.openstreetmap.org/questions/40792/editing-large-multipolygons-in-josm

it would be great if JOSM validator could warn early before polygons grow that large that it might be a good idea to split them into smaller parts.

Attachments (0)

Change History (5)

comment:1 by Klumbumbus, 10 years ago

What would be the requirement that a MP is "large"?

  • numer of nodes?
  • number of ways?
  • number of inners?
  • MP area?
  • outer area?
  • ...
Last edited 10 years ago by Klumbumbus (previous) (diff)

comment:2 by stephankn, 10 years ago

I don't think that for editing purposes the area itself is of concern.

It's probably a combination ob number of relation members (maybe start warning when more than 50 or 100) and total numbers of elements. I recently downloaded a large landuse polygon which cluttered the display while being incomplete (might be another ticket for not to fill incomplete polygons). That one fetched nearly 40.000 nodes with lots of ways involved. So a total number of Elements (nodes) of more than 5.000-10.000 also could trigger the warning.

comment:3 by skyper, 10 years ago

For multipolygons without name JOSM could offer to only have one outer ring with the appropriate inner members and moving any other outer rings and their inner members in new relations for each outer ring.

See also #11164 where this method is also needed/used.

comment:4 by Don-vip, 6 years ago

Keywords: multipolygon added

in reply to:  2 comment:5 by pangoSE, 5 years ago

Replying to stephankn:

I don't think that for editing purposes the area itself is of concern.

It's probably a combination ob number of relation members (maybe start warning when more than 50 or 100) and total numbers of elements. I recently downloaded a large landuse polygon which cluttered the display while being incomplete (might be another ticket for not to fill incomplete polygons). That one fetched nearly 40.000 nodes with lots of ways involved. So a total number of Elements (nodes) of more than 5.000-10.000 also could trigger the warning.

Good idea. I support such a warning. The advantage of MPs is inversely proportonal to their size in nodes and members IMO.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to stephankn.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.