WMS

2 Ways to Import ArcGIS Files into WMS

ArcGIS software has long been a standard in generating geographic data. It is likely you will have received a shapefile generated in ArcMap at some point. ArcGIS files can be imported into WMS to save you time in recreating geographic data.

There are two main methods for importing ArcGIS data: through the standard open dialog or through the GIS module.

Standard Method

To import ArcGIS files into WMS:

  1. Select the Open command in the File menu.
  2. Make certain the Files of Type field is set to "All Files" or "Shapefiles".
  3. Browse to your file and open it.

That’s all you need to do. You can also use any other standard methods for opening files such as using the Open macro or dragging the file onto the Graphics Window. There is also a command to open shapefiles in the Data menu in the GIS module.

Right-clicking on the the imported shapefile in the GIS module allows joining table and layer data. This data can then be mapped onto a coverage using the Shapes → Feature Objects command in the Mapping menu.

A grid coming from ArcGIS will be imported as a DEM in the Terrain Data module . A TIN will also be imported into the Terrain Data module.

GIS Module

When the GIS Module is active, you can use commands to directly import ArcGIS data into WMS. To do this:

  1. Make certain the GIS module is active.
  2. Select the Data | Add Shapefile Data command.

  3. or

  4. Select the Data | Add GIS Data command.
  5. Use the file browser to locate your files and import them.

This second method is useful for a wider range of ArcGIS data files. If a file does not open correctly using the standard methods, then importing the file through the GIS module is recommended.

DEMs and TIN files opened through the GIS module will be imported into the GIS module instead of the Terrain module.

Take a look at what other GIS tools are offered in WMS.

Blog tags: 

3 Ways to Download Images in WMS

Many projects start with an image, because we like to see what we’ll be working on. It’s always possible to import an image file, but if you don’t already have an image file, then what? Well, when WMS is able to access the internet, it can download an image for you.

The advantages of online images are that they can be seamlessly integrated into projects, data is available for locations throughout the world, and they can be reprojected to the display projection without needing to georeference the image.

To download an image, WMS provides three tools: Get Online Maps, Get Data From Map, and the Get Data tool.

1. Use the Get Online Maps Tool

The Get Online Maps tool connects to a data server where real world images and data can be downloaded into your project. To use the Get Online Maps tool:

  1. Click on the Get Online Maps macro . This will bring up the Virtual Earth Map Locator dialog, if there is not a projection already set in the project.
  2. In the Virtual Earth Map Locator dialog, find the location where you want to retrieve data.
  3. Next, the Get Online Maps dialog appears where you select which type of data you want to retrieve, (i.e., a topographic map or elevation data).
  4. Download the image.

The downloaded image is a dynamic image. This means it will redownload data when you zoom in or out in WMS. The image has not been saved locally at this point. To save:

  1. Right-click and select Export.
  2. Use the Resample and Export Raster dialog.
  3. Enter the file name.

This saves a static image to your hard drive. It can then be used again in the future.

2. Use the Get Data From Map Tool

If you don’t want to get a dynamic image, you can skip directly to downloading a static image. To do this:

  1. Click on the Get Data From Map icon to bring up the Virtual Earth Map Locator.
  2. Select the desired location in the Virtual Earth Map Locator dialog. If you have a projection set or have previously downloaded an image, this dialog will be show that area.
  3. The Data Services Options dialog will appear next. Select the type of data you want to retrieve.
  4. WMS will then ask you to save the file as a static image before downloading the data into your project.

With the Get Data From Map tool, you have a static image ready for use in your project with the file available for other projects if needed.

3. Use the Get Data Tool

The Get Data tool allows you to retrieve an image for a specific location in your project. The project display projection must be set to an appropriate “Global projection” option for this to work.

  1. Select the Get Data icon and draw a box in the Graphics Window to select the desired area for the image.
  2. Select a data type in the Data Services Options dialog.
  3. You will then be asked to save the file as a static image.

Now you will have image data that only covers the area you drew out in the first step. This is helpful when you only need a specific piece of data, or data only for a specific location.

Try out these three ways to download image data in WMS today. We recommend experimenting a little so you can learn all the different ways these images can be used.

  • Note that in 2017, the server used by the WMS online map tools was discontinued by Microsoft. A new server has been selected and is used in the current version of WMS. Because of this, older versions of WMS may not be able to use the online map tools.
Blog tags: 

How to Use TauDEM in WMS to Define Flow Paths

Using a watershed delineation tool is one of the first steps in creating a usable model for any sort of watershed, whether for conservation of natural resources, further development of a municipal drainage system, or determining potential flood zones. Tools such as TauDEM can make the process much simpler by basing those calculations off an existing DEM.

The process is generally straightforward:

  1. Import a DEM for the area in question.

    DEMs can be obtained many different ways. They can be imported directly using the features in WMS, they can be downloaded for free from the USGS and other governmental sites, or they can be created by you using lidar or similar tools. This is the DEM used in this example:

  2. Once the DEM is imported, activate the Drainage module.
  3. Select DEM | Compute Flow Direction/Accumulation... to bring up the Flow Direction/Accumulation Run Options dialog.
  4. Select Run TauDEM under Select the model to determine the flow direction/accumulation.
  5. If you want to use multiple processors, check the box next to Use MPICH2 and enter the number of processors.

    If you don’t know if your computer has multiple processors, simply leave the box unchecked.

  6. If this is your first time running MPICH2, click Register MPIEXEC and enter your username and password at the prompt. This should be your Windows username and password.
  7. Click OK to close the Flow Direction/Accumulation Run Options dialog and bring up the Units dialog.
  8. Set the units to be appropriate for the location of the project and click OK.

    The watershed delineation process can take some time, depending on the size of the area being delineated and the computer being used. Once TauDEM has finished delineation, the cells accumulating the flow will appear.

  9. When TauDEM is finished running, click Close to exit the Model Wrapper dialog.

TauDEM is part of the Community Edition of WMS, so you can try out this feature today.

Blog tags: 

Pages