Modify

Opened 4 years ago

Last modified 6 months 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 (4)

comment:1 Changed 4 years ago by Klumbumbus

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 4 years ago by Klumbumbus (previous) (diff)

comment:2 Changed 4 years ago by 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.

comment:3 Changed 4 years ago by skyper

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 Changed 6 months ago by Don-vip

Keywords: multipolygon added

Modify Ticket

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

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.