Modify

Opened 13 years ago

Closed 13 years ago

#6149 closed enhancement (fixed)

[Patch] Multipolygon - Extended functionality

Reported by: Gubaer Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: multipolygon Cc:

Description

JOSM currenly supports the following features regarding multipolygons:

  • a member with role outer or with no role at all is considered to be part of a "outer" polygon
  • a member with role inner is considered to be part of an "inner" polygon

This patch doesn't change the default behaviour, but it makes the "outer" and "inner"-roles configurable in the preferences. There are four new preference keys:

  • mappaint.multipolygon.outer.roles
    preference key for a collection of roles which indicate that the respective member belongs to an outer polygon. Default is outer.
  • mappaint.multipolygon.outer.role-prefixes
    preference key for collection of role prefixes which indicate that the respective member belongs to an outer polygon. Default is empty.
  • mappaint.multipolygon.inner.roles
    preference key for a collection of roles which indicate that the respective member belongs to an inner polygon. Default is inner
  • mappaint.multipolygon.inner.role-prefixes
    preference key for collection of role prefixes which indicate that the respective member belongs to an inner polygon. Default is empty.

The functionality is required in an in-house project managing in-house geodata.

Attachments (1)

multipolygon.patch (10.8 KB ) - added by Gubaer 13 years ago.
Patch

Download all attachments as: .zip

Change History (2)

by Gubaer, 13 years ago

Attachment: multipolygon.patch added

Patch

comment:1 by bastiK, 13 years ago

Resolution: fixed
Status: newclosed

In [4004/josm]:

applied #6149 - Multipolygon - Extended functionality (patch by Gubaer)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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