Browse Source

Correct definition of coarse layer alias

pull/131/head
Julian Simioni 9 years ago
parent
commit
170f31bcef
No known key found for this signature in database
GPG Key ID: 233D913D41615A6F
  1. 4
      autocomplete.md
  2. 2
      reverse.md
  3. 2
      search.md

4
autocomplete.md

@ -97,9 +97,7 @@ The type of record is referred to as its `layer`. All records are indexed into t
|`localadmin`|local administrative boundaries| |`localadmin`|local administrative boundaries|
|`borough`| a local administrative boundary, currently only used for New York City| |`borough`| a local administrative boundary, currently only used for New York City|
|`neighbourhood`|social communities, neighbourhoods| |`neighbourhood`|social communities, neighbourhoods|
|`coarse`|alias for simultaneously using `country`, `region`, `county`, `locality`, `localadmin`, and `neighbourhood`| |`coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)|
You can also refer to all the administrative hierarchy layers with a single alias, `coarse`.
> [/v1/autocomplete?api_key=search-TeXrSTX&__layers=coarse__&text=starbuck](https://search.mapzen.com/v1/autocomplete?api_key=search-TeXrSTX&layers=coarse&text=starbuck) > [/v1/autocomplete?api_key=search-TeXrSTX&__layers=coarse__&text=starbuck](https://search.mapzen.com/v1/autocomplete?api_key=search-TeXrSTX&layers=coarse&text=starbuck)

2
reverse.md

@ -70,7 +70,7 @@ Without specifying further, reverse geocoding doesn't restrict results to a part
|`localadmin`|local administrative boundaries| |`localadmin`|local administrative boundaries|
|`borough`| a local administrative boundary, currently only used for New York City| |`borough`| a local administrative boundary, currently only used for New York City|
|`neighbourhood`|social communities, neighbourhoods| |`neighbourhood`|social communities, neighbourhoods|
|`coarse`|alias for simultaneously using `country`, `region`, `county`, `locality`, `localadmin`, and `neighbourhood`| |`coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)|
>[/v1/reverse?api_key=search-TeXrSTX&point.lat=48.858268&point.lon=2.294471&___layers=locality___](https://search.mapzen.com/v1/reverse?api_key=search-TeXrSTX&point.lat=48.858268&point.lon=2.294471&layers=locality) >[/v1/reverse?api_key=search-TeXrSTX&point.lat=48.858268&point.lon=2.294471&___layers=locality___](https://search.mapzen.com/v1/reverse?api_key=search-TeXrSTX&point.lat=48.858268&point.lon=2.294471&layers=locality)

2
search.md

@ -344,7 +344,7 @@ In Mapzen Search, place types are referred to as `layers`, ranging from fine to
|`localadmin`|local administrative boundaries| |`localadmin`|local administrative boundaries|
|`borough`| a local administrative boundary, currently only used for New York City| |`borough`| a local administrative boundary, currently only used for New York City|
|`neighbourhood`|social communities, neighbourhoods| |`neighbourhood`|social communities, neighbourhoods|
|`coarse`|alias for simultaneously using `country`, `region`, `county`, `locality`, `localadmin`, and `neighbourhood`| |`coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)|
> [/v1/search?api_key=search-TeXrSTX&text=YMCA&___layers=venue,address___](https://search.mapzen.com/v1/search?api_key=search-TeXrSTX&text=YMCA&layers=venue,address) > [/v1/search?api_key=search-TeXrSTX&text=YMCA&___layers=venue,address___](https://search.mapzen.com/v1/search?api_key=search-TeXrSTX&text=YMCA&layers=venue,address)

Loading…
Cancel
Save