added quick start info about mapzen
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Geocoding functions
|
# Geocoding Functions
|
||||||
|
|
||||||
The following geocoding functions are available, grouped by categories.
|
The following geocoding functions are available, grouped by categories.
|
||||||
|
|
||||||
@@ -313,3 +313,5 @@ SELECT cdb_geocode_street_point('651 Lombard Street San Francisco California', N
|
|||||||
```bash
|
```bash
|
||||||
UPDATE {tablename} SET the_geom = cdb_geocode_street_point({street_name_column})
|
UPDATE {tablename} SET the_geom = cdb_geocode_street_point({street_name_column})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Tip:** See [Using Mapzen for Geocoding and Routing](http://cartodb-platform/dataservices-api/quickstart/#using-mapzen-for-geocoding-and-routing) if you are using the Mapzen API for geocoding.
|
||||||
@@ -24,3 +24,7 @@ Notice that you can make use of Postgres or PostGIS functions in your Data Servi
|
|||||||
```bash
|
```bash
|
||||||
https://{username}.cartodb.com/api/v2/sql?q=SELECT ST_Centroid(cdb_geocode_admin0_polygon('USA'))&api_key={Your API key}
|
https://{username}.cartodb.com/api/v2/sql?q=SELECT ST_Centroid(cdb_geocode_admin0_polygon('USA'))&api_key={Your API key}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Using Mapzen for Geocoding and Routing
|
||||||
|
|
||||||
|
You can use Mapzen as the [geocoder service provider](http://cartodb-platform/dataservices-api/geocoding-functions/#geocoding-functions) with CartoDB. You can also use the [Mapzen API](https://mapzen.com/documentation/search/) directly, to geocode your data. Additionally, the Mapzen routing service is built into the [routing functions](http://cartodb-platform/dataservices-api/routing-functions/#routing-functions) of CartoDB.
|
||||||
Reference in New Issue
Block a user