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.
Problem Description
To extract
OSHDBTagsfrom anOSMContributionone needs to extract theOSMEntityfirst likecontribution.getEntityBefore().getTags().The extraction of the
Geometryfrom anOSMContributionis located directly with theOSMContributione.g.contribution.getGeometryUnclippedBefore().This seems incoherent and makes client code less readable.
Expected Solution
Move
Geometry-retrieving methods fromOSMContributiontoOSMEntity.Alternative Solutions
Move
OSHDBTagsretrieving methods toOSMContribution.