-
Notifications
You must be signed in to change notification settings - Fork 19
Be consistent on Tag and Geometry retrieval for OSMContribution #508
Copy link
Copy link
Open
Labels
priority:lowShould be quite a far way down on the agendaShould be quite a far way down on the agendaquestionFurther information is requestedFurther information is requested
Description
Problem Description
To extract OSHDBTags from an OSMContribution one needs to extract the OSMEntity first like contribution.getEntityBefore().getTags().
The extraction of the Geometry from an OSMContribution is located directly with the OSMContribution e.g. contribution.getGeometryUnclippedBefore().
This seems incoherent and makes client code less readable.
Expected Solution
Move Geometry-retrieving methods from OSMContribution to OSMEntity.
Alternative Solutions
Move OSHDBTags retrieving methods to OSMContribution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority:lowShould be quite a far way down on the agendaShould be quite a far way down on the agendaquestionFurther information is requestedFurther information is requested