From 6e34b048ffa2dc46c8083c07945f217b1fa05b6c Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 7 May 2012 13:06:14 +0200 Subject: [PATCH] examples/cartodb-geojson.html: kill long lines, use local OpenLayers.js --- examples/cartodb-geojson.html | 71 +++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 29 deletions(-) diff --git a/examples/cartodb-geojson.html b/examples/cartodb-geojson.html index ac3f40187e..2d7897045d 100644 --- a/examples/cartodb-geojson.html +++ b/examples/cartodb-geojson.html @@ -1,33 +1,45 @@ - + Reading Features From CartoDB using GeoJSON - - - -

Reading Features From CartoDB using GeoJSON

-
- protocol, script, cartodb -
-

- Demonstrates how to load features on OpenLayers using CartoDB SQL API. -

-
-
-

- CartoDB is an Open Source Geopatial Database on the cloud. It allows you to import your data in shapefiles, KML, OpenStreeMap files, CSV, etc. and then analyze and visualize it. Internally CartoDB uses PostGIS 2.0 so all functionality in PostGIS can be used straight away. CartoDB exposes two APIS. One to generate maps as tiles with interactivity, and another SQL API to retrieve vector data using among other formats, GeoJSON. In this example we do a very simple query to obtain all protected areas in Costa Rica from a public table. You can adapt the SQL to include where clauses or complicate geospatial queries. -

-

- View the - source code of this page to see how this is done. And check the table on CartoDB for Protected Areas in Costa Rica -

-
- + + +

Reading Features From CartoDB using GeoJSON

+
+ protocol, script, cartodb +
+

+ Demonstrates how to load features on OpenLayers using CartoDB SQL API. +

+
+
+

+ CartoDB is an Open Source + Geopatial Database on the cloud. It allows you to import your + data in shapefiles, KML, OpenStreeMap files, CSV, etc. and + then analyze and visualize it. Internally CartoDB uses PostGIS + 2.0 so all functionality in PostGIS can be used straight + away. CartoDB exposes two APIS. One + to generate maps + as tiles with interactivity, and another SQL API + to retrieve vector data using among other formats, GeoJSON. In + this example we do a very simple query to obtain all protected + areas in Costa Rica from a public table. You can adapt the SQL + to include where clauses or complicate geospatial queries. +

+

+ View the source code of this page to see how this is done. And + check the table on CartoDB + for Protected Areas in Costa Rica +

+
+ - - \ No newline at end of file + + +