-
GeoJSON and SQL through CartoDB
- REMINDER: Always:clap:use:clap:the:clap:SQL:clap:console:clap:
- Using CartoDB SQL within applications
- You can use a REST client like Postman or Advanced REST Client
-
SQL Input/Output
- Adding geometries to your SQL queries
- Results as GeoJSON
- Results as JSON
- Others
-
- Ask for only the columns you need
- Indices
- Geometry simplification
- Use the
cartodb_id
. Example:
SELECT
*
FROM
<TABLE>
WHERE
cartodb_id = <some_id>
- Rasters
- Tiling for TMS
- PostGIS analysis (this is painful)
- Alternatives