mysociety / mapit

A web service to map postcodes to administrative boundaries and more
Other
269 stars 88 forks source link

/point lookup could return shortcuts like /postcode #18

Open dracos opened 12 years ago

dracos commented 12 years ago

The problem with this is, due to my bad design decision, /point returns a single hash of ID => area, so there's not really anywhere a shortcut key could go (without assuming people's code might break if they're just iterating over the keys of the hash). So perhaps a new call is needed that does the same as /point but has results in an areas key as /postcode does, or similar, perhaps simply adding a version number.

dracos commented 12 years ago

Note that /nearest now does exist and could include areas too, theoretically.