Be able to use a column for ranges in AOIs
See original GitHub issueCurrently, isodistance functions can only accept an array of fixed values as range. The same range is used for every row:
SELECT (
cdb_isodistance(
the_geom,
'walk',
ARRAY[300, 600, 900]::integer[])
).the_geom
FROM untitled_table_1
That query returns three different isolines at 300, 600 and 900 seconds for each row.
It would be nice if we could use a column as range parameter, so each point could have a different range
value and therefore produce a unique isoline:
SELECT (
cdb_isodistance(
the_geom,
'walk',
string_to_array(range,',')::integer[])
).the_geom
FROM untitled_table_1
If we had this feature, the query above would take the string in range
(which should be something like 300,600,900
), create an integer array from it and use the values to request isolines with a varying range.
It currently fails with:
Error in SQL query: cdb_dataservices_client._cdb_isodistance(6): [cartodb_user_a6f0d0fe-xxxx-xxxx-xxxx-22b0010fe409_db] REMOTE ERROR: spiexceptions.ExternalRoutineException: spiexceptions.ExternalRoutineException: Exception: Error trying to get mapzen isolines.
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
ExcelScript.Range interface - Office Scripts
Range represents a set of one or more contiguous cells such as a cell, a row, a column, or a block of cells....
Read more >Dimensions: AOI - How to setup the Purchase Invoice template ...
In the Choose Column range for Supplier Code window, click the red down arrow icon. The Cell Range appears on the template and...
Read more >Select Data From Pandas Dataframes
You can use location-based indexing to query pandas dataframes using the attribute .iloc and providing the row and column selection as ranges ( ......
Read more >New This Week: Improvements to Date Range Selection
The Default Date column is used in the date range selection menu found underneath the AOI drawing tools. date selector box. How it...
Read more >SARINGESTAOI
SARINGESTAOI has been designed to use the SAR file math model (if available) and a DEM to reproject the external AOI (scenario 1)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the feedback, mates!
I’ve been working on a second approach.
Here is the InVision project: https://invis.io/SPCR7ERJY
Close and promote ¿?