Use the Spatial Intersection tool to analyze or extract data

Make a deeper analysis using the spatial intersection tool. You will can get the list of all objects of a layer included in an isochrone or isodistance area for instance.


Table of content:

  1. Activate Spatial Intersection in your map
  2. Use Spatial Intersection tool in your map
    1. Selection tools
    2. Instructions for the Spatial Intersection Selection tool
    3. Examples of the different selection methods
    4. Extract selected data


Activate Spatial Intersection

On map creation in the Publisher, go to the Map Tool Bar tab of the Viewer Configuration Menu:

enable-spatial-intersection

Check the  Spatial Intersection checkbox to enable the Spatial Intersection in your map.

Use Spatial Intersection in your maps

Spatial intersection selects point, polyline or polygon features from a layer by using the boundaries of features from another polygon layer.

     The Spatial Intersection tool is available in the selection tool menu:

access-spatial-intersection-tool

By clicking on the small black arrow, you can open the selection menu to select the layer you want to query from, using one of the selection tools (simple, circular, rectangular or polygonal), and you can enable Spatial Intersection.

Selection Tools

Check all the selection methods that you wish to be available in the CartoVista Viewer toolbar.

Tool Description Icon
Simple Selection Selects a single map feature. simple_selection
Circular Selection Selects multiple features using a circle drawn on the map. circular_selection
Rectangular Selection Selects multiple features using a rectangle drawn on the map. rectangular_selection
Polygonal Selection Selects multiple features using a free form polygon drawn on the map. polygonal_selection

You can select your favourite option of selection.

selection_toolbar

Instructions for the Spatial Intersection Selection tool

  1. You can select the layer to make your own spatial analysis with the Spatial Intersection tool.selection-list-window
  2. Activate Spatial Intersection with the checkbox
  3. Choose the layer you want to use to select features. If you have created Isochrones or Isodistances, you can select this layer to select features within these isochrones or isodistances.
  4. Choose from the two intersection methods:
    spatial-intersection-tool
    1. By Centroïd: this will select features that have their centroïd within the selected polygons of the selection layer.
    2. By Intersection: this will select features whose boundaries intersect the boundaries of the selected polygons of the selection layer.
  5. Select features from your selection layer to select features in your target layer.

Examples of the different selection methods

These examples illustrate the difference between a Direct Selection (without Spatial Intersection) and a Spatial Intersection.

  • Direct Selection (without Spatial Intersection): Clients located within the selection radius are selected.

without-spatial-intersection

  • Selection with Spatial Intersection: Clients located within Neighbourhood polygons that are within the selection radius are selected.

with-spatial-intersection

These examples illustrate the difference between a Spatial Intersection Selection By Intersection and a Spatial Intersection Selection By Centroïd.

  • Spatial Intersection Selection By Intersection: zip codes that intersect the selected isochrone polygon are selectedspatial-intersection-intersection
  • Spatial Intersection Selection By Centroïd: zip codes whose centroïd is within the selected isochrone polygon are selectedspatial-intersection-centroid

Extract selected data

When features are selected, the table view automatically switches to the Selection tab. Use the export tool to export in an Excel file the result of the selection: 

export-selection