Adding geospatial conditions to a Visual Query
When records contain geospatial properties, you can define a Visual Query that locates records based on a search area in i2 Maps.
About this task
When you use i2 Maps as your map provider in Analyst's Notebook, you can define a search area by drawing a rectangle or polygon on your base map. You can also define a specific area, district, or region by using GeoJSON data from other applications.
For example, an Address record is likely to have properties such as Street Name, City, and ZIP Code. But it might also have a geospatial property that contains the latitude and longitude of the address. When you create a Visual Query, you can add a geospatial condition to a query item to search for addresses that are located within a specific area.
To get started, define the structure of your Visual Query in the usual way. You can add geospatial conditions to any query entity whose item type has a geospatial property type.
Procedure
-
To create a search area using Maps:
-
To create a search area using GeoJSON data: