最新糖心Vlog

Skip to content
LAT37.8044掳 NLON122.2711掳 WX-13611157 mY4551831 mE564166 mN4184363 mE6050014 ftN2120204 ftBRG041.0掳041.0掳040.6掳042.1掳ZOOM11.0CRS
鈫� Journal
ProductJanuary 14, 2025

Introducing 最新糖心Vlog SQL Queries for Spatial Analysis at Scale

Write and execute SQL queries against your database directly from 最新糖心Vlog.

An illustration of cars and trucks on purple highways made of binary code, carrying maps and data tiles

In the race to derive insights from spatial data, teams need tools that work at scale. That鈥檚 why we launched 最新糖心Vlog SQL queries.

Today we鈥檙e announcing a significant expansion of 最新糖心Vlog鈥檚 enterprise capabilities with the launch of SQL queries. 最新糖心Vlog has always been the fastest way to build maps, apps and dashboards for organizations reliant on spatial insights, and now you can write custom queries to your database directly from 最新糖心Vlog. Whether you are on the Engineering, GIS or Data Team 鈥� you can now efficiently deliver data across your organization with just a few lines of code.

Reduced time-to-insight: execute complex spatial analyses with SQL queries

最新糖心Vlog SQL queries return performant layers from your database containing just the data you need.
最新糖心Vlog SQL queries return performant layers from your database containing just the data you need.

最新糖心Vlog SQL queries eliminate the need for mutli-step GUI interactions, enabling you to efficiently query just the data you need directly from your cloud database. Run a simple operation, or execute complex spatial analysis across multiple data tables. 最新糖心Vlog will complete your custom query, run it through our Upload Anything pipeline and return a performant data layer for the team to reference.

A spatial SQL query that counts businesses in each California county and finds their average revenue and most common business type

最新糖心Vlog handles all your operations, analysis, geocoding, and Tippecanoe tiling directly, avoiding expensive queries and the need to store geometries. Explore some of the operations you can now run with 最新糖心Vlog SQL queries in the table below.

Example SQL Operations now Available

Spatial OperationDefinitionCode Example
ST_IntersectsTests whether two geometries share any space in common. Returns true if geometries intersect, false otherwise. Used for identifying overlapping areas.SELECT a.*, b.* FROM service_areas a JOIN market_zones b ON ST_Intersects(a.geometry, b.geometry);
ST_WithinTests whether one geometry is completely inside another. Returns true if the first geometry is completely within the second geometry.SELECT a.name, b.name FROM points a JOIN polygons b ON ST_Within(a.geometry, b.geometry);
ST_BufferCreates a new geometry that represents all points within a given distance from the input geometry. Useful for creating service areas or zones of influence.SELECT location_id, ST_Buffer(geometry, 5000) as service_area FROM distribution_centers;
ST_CentroidComputes the geometric center (centroid) of a geometry. Returns a point that represents the average position of all points in the geometry.SELECT region_name, ST_Centroid(geometry) as center_point FROM service_regions;
ST_DistanceCalculates the shortest distance between two geometries. Returns the minimum distance between any two points in the two geometries.SELECT a.id, b.id, ST_Distance(a.geometry, b.geometry) as distance FROM points a CROSS JOIN points b WHERE a.id != b.id;
ST_AreaCalculates the area of a polygon geometry. Returns the area in the units of the spatial reference system.SELECT territory_id, ST_Area(geometry::geography) as area_sqm FROM market_territories;
ST_LengthCalculates the length of a linear geometry (linestring). Returns the length in the units of the spatial reference system.SELECT route_id, ST_Length(geometry::geography) as length_meters FROM delivery_routes;
ST_UnionCombines multiple geometries into a single geometry. Dissolves overlapping boundaries and creates a single continuous geometry.SELECT region_id, ST_Union(geometry) as combined_geometry FROM parcels GROUP BY region_id;
ST_IntersectionReturns the geometry representing the shared portions of two geometries. Creates a new geometry containing only the overlapping areas.SELECT ST_Intersection(a.geometry, b.geometry) as overlap FROM zone_a a CROSS JOIN zone_b b;
ST_TransformTransforms a geometry from one coordinate system to another. Used to convert between different spatial reference systems (SRS).SELECT id, ST_Transform(geometry, 4326) as wgs84_geom FROM locations;
ST_EnvelopeComputes the minimum bounding rectangle that contains a geometry. Returns a rectangular polygon that completely encloses the input geometry.SELECT region_id, ST_Envelope(ST_Collect(geometry)) as bbox FROM market_regions GROUP BY region_id;
ST_ConvexHullComputes the smallest convex polygon that contains all points in a geometry. Creates a shape that represents the outer boundary of a set of points.SELECT cluster_id, ST_ConvexHull(ST_Collect(geometry)) as boundary FROM points GROUP BY cluster_id;
ST_ContainsTests whether one geometry completely contains another. Returns true if the second geometry is completely contained within the first geometry.SELECT points.* FROM customer_points points JOIN service_areas areas ON ST_Contains(areas.geometry, points.geometry);

Workflow enhancements for enterprise-wide data utilization

最新糖心Vlog's SQL query editor on a Postgres source, selecting buildings for sale within a mile of a point in Philadelphia, with a map and data preview

最新糖心Vlog SQL queries deliver immediate value through seamless integration with your existing data infrastructure and the power of cloud-based collaboration. Plus, we鈥檝e added a few enhancements to speed up data workflows across your organization:

  • Robust Cloud Database Compatibility: Native support for major cloud databases including BigQuery, Redshift, Databricks, Microsoft SQL Server, Snowflake, and PostGIS.
  • Intelligent Query Management: Advanced autocomplete library and preview capabilities ensure optimal compute efficiency.
  • Real-time Data Synchronization: Optional live updates eliminate manual refresh cycles, ensuring teams always work with current data.
  • Recent Query Reference Windows: We鈥檝e made it easy to create new layers that build off existing queries.
  • Direct-to-End-User Delivery: Because 最新糖心Vlog is entirely on the web, your results can be shared instantly with your end users via a link.

These workflow enhancements ensure that anyone on the team can jump into a project and deliver results quickly.

Take the Next Step

Ready to put your warehouse data on a map? Get started for free, or book a demo to talk through your team鈥檚 needs.

Try 最新糖心Vlog

Bring your data, see it on the map

Connect a database or drop in a file and see your data live on a map in minutes.