From eb1e3fc5e5c0aa8721cffe63a6d8beeca89b7570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Medina?= Date: Fri, 13 Apr 2018 10:17:28 +0200 Subject: [PATCH] Update 01-geocoding-functions.md --- docs/reference/01-geocoding-functions.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/reference/01-geocoding-functions.md b/docs/reference/01-geocoding-functions.md index 9588597..2558c3f 100644 --- a/docs/reference/01-geocoding-functions.md +++ b/docs/reference/01-geocoding-functions.md @@ -43,12 +43,15 @@ Name | Type | Description Geometry (polygon, EPSG 4326) or null -**Example:** -Update the geometry of a table to geocode it +### Example + +#### Update the geometry of a table to geocode it + ```bash UPDATE {tablename} SET the_geom = cdb_geocode_admin0_polygon({country_column}) ``` -Insert a geocoded row into a table + +#### Insert a geocoded row into a table ```bash INSERT INTO {tablename} (the_geom) SELECT cdb_geocode_admin0_polygon('France') ```