added quick start info about mapzen

This commit is contained in:
csobier
2016-04-05 16:21:34 -04:00
parent 28b4b12ce4
commit 8eeef94eab
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Geocoding functions
# Geocoding Functions
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
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.

View File

@@ -24,3 +24,7 @@ Notice that you can make use of Postgres or PostGIS functions in your Data Servi
```bash
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.