diff --git a/OsmAnd-java/src/main/java/net/osmand/osm/edit/Entity.java b/OsmAnd-java/src/main/java/net/osmand/osm/edit/Entity.java index 13ae80af64..6005f85035 100644 --- a/OsmAnd-java/src/main/java/net/osmand/osm/edit/Entity.java +++ b/OsmAnd-java/src/main/java/net/osmand/osm/edit/Entity.java @@ -301,8 +301,11 @@ public abstract class Entity implements Serializable { String values = getTag(OSMTagKey.IS_IN); if (values == null) { String city = getTag(OSMTagKey.ADDR_CITY); + String place = getTag(OSMTagKey.ADDR_PLACE); if(!Algorithms.isEmpty(city)) { return Collections.singleton(city.trim()); + } else if(!Algorithms.isEmpty(place)) { + return Collections.singleton(place.trim()); } return Collections.emptySet(); }