Spatial GeoJSON Analysis
Run spatial SQL queries on GeoJSON files and visualize results on an interactive map.
Data Source
Local path or remote URL
SQL Query
Use
{SOURCE} as a placeholder for the GeoJSON path above.
Spatial functions
ST_Read('url')— read GeoJSON, Shapefile, etc.ST_Area(geom)— area of geometryST_Centroid(geom)— centroid pointST_AsText(geom)— WKT representationST_AsGeoJSON(geom)— GeoJSON stringST_Within(g1, g2)— containment testST_MakeEnvelope(xmin,ymin,xmax,ymax)— bounding boxST_Distance(g1, g2)— distance between geometries
Results
Run a query to see results here.
Map