From d18eb9557567cd956902e3f936c28e0ffd6a2dd7 Mon Sep 17 00:00:00 2001 From: csobier Date: Wed, 13 Apr 2016 12:21:38 -0400 Subject: [PATCH] clarified equalness in isolines --- doc/geocoding_functions.md | 2 +- doc/isoline_functions.md | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/geocoding_functions.md b/doc/geocoding_functions.md index 7fa872d..93b528f 100644 --- a/doc/geocoding_functions.md +++ b/doc/geocoding_functions.md @@ -10,7 +10,7 @@ Here is an example of how to geocode a single country: https://{username}.cartodb.com/api/v2/sql?q=SELECT cdb_geocode_admin0_polygon('USA')&api_key={api_key} ``` -In order to geocode an existent CartoDB dataset, an SQL UPDATE statement must be used to populate the geometry column in the dataset with the results of the Geocoding API. For example, if the column where you are storing the country names for each one of our rows is called `country_column`, run the following statement in order to geocode the dataset: +In order to geocode an existent CartoDB dataset, an SQL UPDATE statement must be used to populate the geometry column in the dataset with the results of the Data Services API. For example, if the column where you are storing the country names for each one of our rows is called `country_column`, run the following statement in order to geocode the dataset: ```bash https://{username}.cartodb.com/api/v2/sql?q=UPDATE {tablename} SET the_geom = cdb_geocode_admin0_ diff --git a/doc/isoline_functions.md b/doc/isoline_functions.md index 1567a22..992ec98 100644 --- a/doc/isoline_functions.md +++ b/doc/isoline_functions.md @@ -1,6 +1,6 @@ # Isoline Functions -[Isolines](https://cartodb.com/data/isolines/) are contoured lines that display calculated levels over a given surface area. This enables you to view polygon dimensions by forward or reverse measurements. Isoline functions are calculated as the intersection of areas from the origin point, measured by distance (isodistance) or time (isochrone). For example, the distance of a road from a sidewalk. Isoline functions through CartoDB are available by requesting a single function in the Data Services API. +[Isolines](https://cartodb.com/data/isolines/) are contoured lines that display equally calculated levels over a given surface area. This enables you to view polygon dimensions by forward or reverse measurements. Isoline functions are calculated as the intersection of areas from the origin point, measured by distance (isodistance) or time (isochrone). For example, the distance of a road from a sidewalk. Isoline services through CartoDB are available by requesting a single function in the Data Services API. _**This service is subject to quota limitations, and extra fees may apply**. View the [Quota Information](http://docs.cartodb.com/cartodb-platform/dataservices-api/quota-information/) section for details, and recommendations, about to quota consumption._ @@ -21,6 +21,8 @@ The following functions provide an isoline generator service, based on time or d ## cdb_isodistance(_source geometry, mode text, range integer[], [options text[]]_) +Displays a contoured line on a map, connecting points to a defined area, measured by an equal range of distance (in meters). + #### Arguments Name | Type | Description | Accepted values @@ -65,6 +67,8 @@ INSERT INTO {table} (the_geom) SELECT (cdb_isodistance(the_geom, 'walk', string_ ## cdb_isochrone(_source geometry, mode text, range integer[], [options text[]]_) +Displays a contoured line on a map, connecting points to a defined area, measured by an equal range of time (in seconds). + #### Arguments This function uses the same parameters and information as the `cdb_isodistance` function, with the exception that the range is measured in seconds instead of meters.