This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Why does DC belong to Maryland?

1

asked 11 Feb '13, 01:02

Max's gravatar image

Max
31113
accept rate: 0%


One Answer:

5

At some point in the past the node for the state of Maryland wasn't correctly linked to the Maryland relation which meant that the boundary of Maryland wasn't well defined.

This has since been fixed but some of the data hadn't been reindexed. I've forced a manual update and it has resolved the issue.

answered 11 Feb '13, 02:45

twain's gravatar image

twain
2.4k2538
accept rate: 40%

@twain - thanks!

There's no address.state field though: http://nominatim.openstreetmap.org/search/washington%20dc?format=json&addressdetails=1

Since every U.S. city belongs to a state, would it be consistent to also provide address.state = "District of Columbia"?

(11 Feb '13, 14:36) Max

From wikipedia:

As permitted by the U.S. Constitution, the District is under the exclusive jurisdiction of the United States Congress and is therefore not a part of any U.S. state.

It is in the county of "District of Columbia".

(11 Feb '13, 14:39) twain

Also: http://nominatim.openstreetmap.org/search.php?q=DC

=> "District of Columbia, Maryland, United States of America"

(11 Feb '13, 14:58) Max

Source code available on GitHub .