From d4795c81fa3342ef4da1eea6c36d5301b2051583 Mon Sep 17 00:00:00 2001 From: Greg Jordan-Detamore Date: Sat, 24 Sep 2016 14:03:04 -0400 Subject: [PATCH 1/2] Replace "write" with "right" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 184ead6..3f4a4f6 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ It uses [Leaflet.draw](https://github.com/Leaflet/Leaflet.draw) ([demo](https:// 2. Create a new CartoDB dataset. The default dataset comes with the following fields: `{cartodb_id, the_geom, description, name}` Each row represents one submission from the map with the first field a unique id assigned by CartoDB to each geometry. `the_geom` is the geographic object. `description` is the user input description of the shape, and `name` is the user's name. -3. In the view for the table, click on the "SQL" tab on the write to execute arbitrary SQL. +3. In the view for the table, click on the "SQL" tab on the right to execute arbitrary SQL. ![Custom SQL tab](https://i.stack.imgur.com/HPEHG.png) 4. Copy and paste the contents of `insert_function.sql` ([located here](insert_function.sql)) into the sql pane, and then modify the name of the table to be inserted: ``` From 9117dc1fddf8fe8d22765695b03cfe4b6d979bed Mon Sep 17 00:00:00 2001 From: Greg Jordan-Detamore Date: Sat, 24 Sep 2016 14:10:09 -0400 Subject: [PATCH 2/2] Change username to gregjd --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 199da4c..c203d4e 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@

Leaflet Draw Collection Tool

//TODO: Change to your username, insert function on cartodb, and cartodb tablename var config = { - cartoDBusername : "raphaeld", + cartoDBusername : "gregjd", cartoDBinsertfunction : "insert_crowd_mapping_data", cartoDBtablename : "crowdmap_basic", mapcenter: [42.381899, -71.122499],