Skip to main content
Skip table of contents

Creating the Standard GIS Shortcuts 🏃

What are the GIS Shortcuts?

The GIS shortcuts are shortcut files that run the common GIS tools. These shortcuts can be made for the: Query Staging Tool, Automapper, Join & Save.

Why would a client the GIS Shortcuts?

This is a more convenient and efficient manner in running the Query Staging Tool and Automapper. The alternative method is described later in this article.

How to setup the GIS Shortcuts

To create the shortcuts:

  1. Open File Explorer on the VDI.

  2. Copy the file directory where the wsquerystaging.py and the wsautomap.py live.

  3. Test: C:\GIS\Python\spatial\TEST\WEnergySpatialAddin\Install

  4. Prod: C:\GIS\Python\spatial\PROD\WEnergySpatialAddin\Install

  5. On the VDI Desktop, right-click and create a new text document.

  6. You can name this as you please, but this is a shortcut to running the Query Staging Tool.

  7. Paste the file path into the text document.

  8. Type “python “ at the beginning of the file path followed by the Query Staging Tool python script name at the end.

  9. Not shown here; a helpful but optional addition is to type “pause“ on the 2nd line of the file. This is so that once we call on the batch file later, the file will remain open once the job completes rather than close automatically.

  10. Save the file and exit it.

  11. Update the file from a text file to a batch file by changing the file extension from “.txt“ to “.bat“.

  12. Repeat the process for the Automapper by creating another text document on the VDI Desktop.

  13. Paste the same file path into the text document.

  14. Type “python “ at the beginning of the file path followed by the Automapper python script name at the end.

  15. Save the file and exit it.

  16. Update the file from a text file to a batch file by changing the file extension from “.txt“ to “.bat“.

  17. These shortcuts can now be ran by double-clicking on the Query Staging shortcut first, waiting for the tool to complete and the popup window to close.

  18. Then double-click on the Automapper shortcut, wait for the tool to complete, and the popup window to close.

📘 Alternative Method to Running GIS Tools

  1. Open Windows PowerShell on the VDI.

  2. Open the file directory and navigate to the Install folder.

  3. Copy the file directory path.

  4. Switch the directory on the PowerShell window by pasting the file directory path in the window.

  5. Type in the python commands for the Query Stage and then the Automapper.

How does this concept impact/feed other areas in the application?

This impact to other areas in the application are the same as running the normal Query Staging and Automapper tools. This provides insight to the Land Analyst and any other department that consumes the web map what properties the client owns, what prospects the client is looking into, how much ownership the client has in particular areas, etc.

Frequently Asked Client Questions

  • Can the 2 shortcuts be combined? Yes, the 2 shortcuts can be combined into 1 shortcut. The separate line items from each shortcut can be combined into 1 shortcut if the client desires.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.