Query Spatial Data - dataflow_designer - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2026-05-14
ft:lastPublication
2026-05-14T15:28:23.501000
L1_Product_Gateway
Locate
L2_Product_Segment
Location Intelligence
L3_Product_Brand
Precisely Spectrum Spatial
L4_Investment_Segment
LI Enterprise
L5_Product_Group
Enterprise LI
L6_Product_Name
Spectrum Spatial

The Query Spatial Data stage allows you to query spatial data using MI SQL functions (SELECT, FROM with multiple tables for joins, WHERE, GROUP BY, ORDER BY, LIMIT, and OFFSET). You can use fields as parameters in a spatial data query. For example, if you read the field "AddressLine1" from a flat file, you can create a query to select from a spatial data source with the value for AddressLine1 as a parameter value. The named tables you are querying from must be present in the repository before using them with MI SQL in this stage. This stage also accepts geometries that are generated by stages in the Enterprise Routing Module, such as a LineString or Polygon.

The difference between the Read Spatial Data and Query Spatial Data stages is that the Read Spatial Data stage is a source stage that has no upstream stage connected. The Query Spatial Data stage, however, requires an upstream stage that can pass in parameters for the query. Auto-complete displays functions and operators to facilitate query construction.

To use this stage, enter the MI SQL query statement in the text area and click Verify. You can also specify a number of runtime instances (see the Dataflow Designer's Guide for detailed information on runtime performance options).

ACL Authorization Flow

To find a nearest point of interest, the user (or the role they belong to) needs EXECUTE permission on the Named table.