diff --git a/OsmAnd-java/src/main/java/net/osmand/data/City.java b/OsmAnd-java/src/main/java/net/osmand/data/City.java index f8faef5f67..a29dc3b741 100644 --- a/OsmAnd-java/src/main/java/net/osmand/data/City.java +++ b/OsmAnd-java/src/main/java/net/osmand/data/City.java @@ -24,6 +24,10 @@ public class City extends MapObject { public double getRadius() { return radius; } + + public boolean storedAsSeparateAdminEntity() { + return this != DISTRICT && this != NEIGHBOURHOOD && this != BOROUGH; + } public static String valueToString(CityType t) { return t.toString().toLowerCase();