Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

LocalMaps Feature Queries allow you to view additional information about a feature that doesn’t exist on the layer itself. Feature queries essentially create a related record on the fly and then display this in the layer popup therefore removing the need to publish additional related records. Data in a feature query could be spatial i.e coming from an ArcGIS Server Service or non spatial eg reading directly from a table or stored procedure in your SQL Server, MySQL, Postgres or Oracle database. 

For example, the below map shows a parcel layer that has a number of feature queries associated with associated with it. The first layer displayed in the popup panel is the parcel itselfcore layer itself i.e Parcel. Listed beneath this are a number of feature queries. The first feature query for ____ , Valuation information, is surfacing data directly from a MySQL Database table, the second is surfacing data Well information from a SQL Stored Procedure and the third ___ third is displaying information Current Resource Consents from a spatial query against an ArcGIs ArcGIS Server Service. 

If a feature query Feature Query pulls back mulitple records multiple records associated with that feature (in this case the parcel), the user can then scroll through and view each by clicking the arrows to the right of the query title. In the case of Spatial queries, the geometry will also be drawn on the map e.g yellow point in the image below. As the user scrolls though the spatial feature query records, the arrow button. point location will update to the resource consent being viewed. Feature query sections are all expanded by default but can be collapsed by clicking the arrow to the left of the query title.

Click to enlarge image Image Added

In this section:

  • Create a Feature Query
  • Assign a Feature Query

...