diff --git a/doc/isoline_functions.md b/doc/isoline_functions.md index fb23f90..630f205 100644 --- a/doc/isoline_functions.md +++ b/doc/isoline_functions.md @@ -40,12 +40,13 @@ SELECT * FROM cdb_isodistance('POINT(-3.70568 40.42028)'::geometry, 'walk', ARRA ```bash SELECT the_geom FROM cdb_isodistance('POINT(-3.70568 40.42028)'::geometry, 'walk', ARRAY[1000]::integer[]); +``` ##### Calculate and insert the generated isolines from `points_table` table to another table ```bash INSERT INTO {table} (the_geom) SELECT (cdb_isodistance(the_geom, 'walk', string_to_array(distance, ',')::integer[])).the_geom FROM {points_table} - +``` ### cdb_isochrone(_source geometry, mode text, range integer[], [options text[]]_) @@ -76,13 +77,13 @@ SELECT * FROM cdb_isochrone('POINT(-3.70568 40.42028)'::geometry, 'walk', ARRAY[ ```bash SELECT the_geom FROM cdb_isochrone('POINT(-3.70568 40.42028)'::geometry, 'walk', ARRAY[300]::integer[]); - +``` ##### Calculate and insert the generated isolines from `points_table` table to another table ```bash INSERT INTO {table} (the_geom) SELECT (cdb_isochrone(the_geom, 'walk', string_to_array(time_distance, ',')::integer[])).the_geom FROM {points_table} - +``` ### Optional isoline parameters