Jorge Sanz · @xurxosanz
23rd of September 2016 · SoTM · Brussels
http://bit.ly/160923-dataservices
We are democratizing location intelligence, enabling geospatial analysis like a data scientist.
With CARTO we want everybody analyzing, visualizing and extracting valuable insights on location data.
Create an API as SQL functions:
Data Services API
https://mapzen.com/blog/cartodb-partnership/
Geocoding · Routing · Isolines
INSERT INTO {tablename} (the_geom)
SELECT
cdb_geocode_street_point(
'651 Lombard Street',
'San Francisco',
'California',
'United States'
)
INSERT INTO {tablename} (duration, length, the_geom)
SELECT duration, length, shape
FROM
cdb_route_point_to_point(
'POINT(-3.70237112 40.41706163)'::geometry,
'POINT(-3.69909883 40.41236875)'::geometry,
'car'
)
INSERT INTO {tablename} (the_geom) SELECT the_geom
FROM cdb_isodistance(
'POINT(-3.70568 40.42028)'::geometry,
'walk',
ARRAY[500, 1000, 1500]::integer[]
)
INSERT INTO {tablename} (the_geom) SELECT the_geom
FROM cdb_isochrone(
'POINT(-3.70568 40.42028)'::geometry,
'car',
ARRAY[300, 600, 900]::integer[]
)
https://your_account.carto.com/api/v1/map/named/routingtest/750/400.png? config={"postcode1":"'postcode_1'","postcode2":"'postcode_2'"}
Jorge Sanz · jorge@carto.com
23rd of September 2016 · SoTM · Brussels
http://bit.ly/160923-dataservices