Skip to content

Commit 2a7d52f

Browse files
committed
small bugfix for OSMType representation
1 parent 6323acf commit 2a7d52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/ExecutionUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ public org.wololo.geojson.Feature createOSMFeature(OSMEntity entity, Geometry ge
405405
}
406406
if (includeOSMMetadata) {
407407
properties.put("@version", entity.getVersion());
408-
properties.put("@osmType", entity.getType());
408+
properties.put("@osmType", entity.getType().toString());
409409
properties.put("@changesetId", entity.getChangesetId());
410410
if (isContributionsEndpoint) {
411411
properties = addContributionTypes(properties, contributionTypes);

0 commit comments

Comments
 (0)