Merge pull request #691 from balrog-kun/master

Consts for addr:place=* and place=neighbourhood.
This commit is contained in:
vshcherb 2014-06-23 03:02:36 +02:00
commit 506e740bcd
2 changed files with 2 additions and 1 deletions

View file

@ -11,7 +11,7 @@ public class City extends MapObject {
public enum CityType {
// that's tricky way to play with that numbers (to avoid including suburbs in city & vice verse)
// district special type and it is not registered as a city
CITY(10000), TOWN(5000), VILLAGE(1300), HAMLET(1000), SUBURB(400), DISTRICT(400);
CITY(10000), TOWN(5000), VILLAGE(1300), HAMLET(1000), SUBURB(400), DISTRICT(400), NEIGHBOURHOOD(300);
private double radius;

View file

@ -35,6 +35,7 @@ public class OSMSettings {
ADDR_STREET("addr:street"), //$NON-NLS-1$
ADDR_STREET2("addr:street2"), //$NON-NLS-1$
ADDR_CITY("addr:city"), //$NON-NLS-1$
ADDR_PLACE("addr:place"), //$NON-NLS-1$
ADDR_POSTCODE("addr:postcode"), //$NON-NLS-1$
ADDR_INTERPOLATION("addr:interpolation"), //$NON-NLS-1$
ADDRESS_TYPE("address:type"), //$NON-NLS-1$