/
Map Query Results

Badger TraCS Guides

Map Query Results

Map Query Results

View Results on Map

 

Any forms returned by and Adhoc query that also contain location data (X, Y) can be mapped in TraCS.

  • Select an Adhoc Query and click the Map button or click the Map button on the Adhoc Query Results window.

  • Choose the type of map to use.

  • View the results of your query on the map.

    • Note: The bottom right of the map will indicate how many results were found. If any forms found in the query have partial location data without mapping data, the text will be displayed similar to the example below.
      In the example below 2 of the forms found have location names or addresses, but do not contain X and Y.

       

       

image-20240329-213619.png

 


Add Area Filter

One or more area filters can be added to the Map panel and applied on the map so that only markers within the selected area(s) are displayed. Once added to the Map panel, are filters can be distinguished from other non-filtering map layers by the Filter icon that is displayed next to them.

  • Click the Area Filter button in the Map panel and select the source for the area filter:

  • Rectangle - Allows you to draw a rectangle on the map to define an area filter.

  • KML File - Allows you to select a KML file. If the KML file contains one or more polygons, they can be applied as area filters.

  • Encoded String - Some webpages that display Google maps may have one or more polygons drawn on the map. These polygons are stored in the HTML source code as an encoded string. The encoded string can be copied and pasted from the web page source into TraCS where the polygon will be rendered and made available as an area filter.

  • Library - Opens the library window where saved polygons can be added to the current Map panel. In the library window, polygons that have their checkboxes checked will be available in the Map panel when the OK button is clicked.

 

image-20240329-213823.png

 

 

 

NOTE: Polygons can be added and removed from the library using the Add and Remove buttons. When a polygon is added to the library you can change the name and color that is used to display the polygon on the map by selecting the polygon and clicking the Properties button.

 

NOTE: Once a polygon is added to the library it will also be available when mapping any other Adhoc queries. Area filters added individually and not added to the library will remain saved within the current Adhoc query but will not be available in other queries.

  • Toggle area filters between active/inactive using the Map panel. Checked area filters are applied on the map. Unchecked area filters remain in the Map panel but are not be applied on the map.

image-20240329-213853.png

 

Add Data Filter

One or more data filters can be added to the Data Filter panel and applied to the map so that only markers that belong to matching forms will be displayed.

  • Click the Data Filter button on the Data Filters panel.

  • Select the criterion for the data filter and click the OK button.

  • View the result on the map. Out of the original results shown on the map, only forms that match the data filter will be displayed.

  • Toggle data filters between active/inactive using the Data Filters panel. Checked data filters are applied on the map. Unchecked data filters remain in the Data Filters panel but are not be applied on the map.

image-20240329-214021.png

 

image-20240329-213957.png

 

 

NOTE: More than one data filter can be added and applied at a time. You can delete a data filter from the Data Filters panel after it has been added.


Zoom to Best Fit

  • Click the Best Fit button to zoom the map to the lowest zoom level that accommodates all the map layers.


Reset Map

  • Click the Reset Map button to uncheck all layers, area filters, and data filters that have been added.


Import Map Layers

Map layers, which contain markers and/or polygons that can be displayed on the map, can be imported from KML files. A KML file is a standardized type of map file that can be obtained from third party sources.

  • Click the Map Layers button to open the Map Layers window.

  • Click the Add File button and select a KML file to add.

  • Once a KML file is added, all of the layers within that KML file will be displayed within the Map Layers window. Check a layer to add it to the Map panel. Uncheck a layer to remove it from the Map panel.

image-20240329-213853.png

 

NOTE: Click the Clear Map button to uncheck all of the layers in the Map Layers window. Doing this will remove those layers from the Map panel.

 

NOTE: Click the Remove button to remove the selected KML file from the Map Layers window. When a KML file is removed from the Map Layers window all of the layers that belong to that KML file are also removed from the Map panel. If a single layer is selected when the Remove button is clicked, the entire KML File that the layer belongs to is removed.


Export to KMZ File

You can export all of the map layers currently in available in the Map panel into a single KMZ file using the export to KMZ functionality. A KMZ file is a compressed version of KML and can be imported anywhere the option to import a KML file is available.

  • Click the Export Kmz button.

  • Name the file using the Save File dialog and click OK to finish.

 

NOTE: The saved KMZ file can be imported into the Map window at any time using the Import Map Layer button.

Related content

email badgertracs@dot.wi.gov or call 608-267-2096