Import from Web: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:


The ''Import from Web'' command is accessed in a number of ways.  These include:
The ''Import from Web'' command is accessed in a number of ways.  These include:
* From the "Web" menu (SMS and WMS).
* From the "File" menu (WMS) or "Web" menu (SMS).
* From the "Get Data From Map" macro (WMS only).
* From the "Get Data From Map" macro (WMS only).
* From the "Get Data" tool (SMS and WMS).
* From the "Get Data" tool (SMS and WMS).


In the first two opotions the XMS program brings up a map locator tool (Virtual Earth) that allows the user to select (via pan and zoom) an area of interest and download data for this area.
In the first two options the XMS program brings up a map locator tool (Virtual Earth) that allows the user to select (via pan and zoom) an area of interest and download data for this area. (As shown below)


The "Get Data" tool is available from the data toolbar when the XMS application is using a global projection.  Which this tool active in SMS or WMS, the user can graphically select a rectangle inthe graphics window and download data inside this rectangle.
The "Get Data" tool is available from the data toolbar when the XMS application is using a global projection.  Which this tool active in SMS or WMS, the user can graphically select a rectangle in the graphics window and download data inside this rectangle.


'''Note:''' The ''Import from Web'' feature is no longer used for GMS as of GMS 9.0. The feature is still used in GMS 8.3 and earlier. However, since these tools used the now defunct "TerraServer" services, they are no longer referenced here.
'''Note:''' The ''Import from Web'' feature is no longer used for GMS as of GMS 9.0. The feature is still used in GMS 8.3 and earlier. However, since these tools used the now defunct "TerraServer" services, they are no longer referenced here.
Line 98: Line 98:
== Using the Import from Web Command ==
== Using the Import from Web Command ==


'''Note:''' The following explanation applies only to versions of WMS, GMS, and SMS released before 2012.  Terraserver data are no longer available for download.  The Import From Web/Get Data tools in newer versions of WMS allow you to select data from a map without needing to specify a projection for the data.  You must specify a file name for all downloaded data and a resolution for some types of downloaded data.  Raster data requires a resolution to be specified and vector data does not require a resolution.  This resolution is specified during the data download process.
When the ''Import from web'' command is invoked from a menu or macro, the virtual earth map locator is launched:


This feature is found via the '''''File|Import from Web''''' command. This command results in the following series of dialogs.
<!-- I specify an 80% scaling on all the dialog images. I think the dialogs look way to big otherwise. Unfortunately there's no easy way to do that in MediaWiki so I have to just calculate what 80% of the width is in pixels. -->


<!-- I specify an 80% scaling on all the dialog images. I think the dialogs look way to big otherwise. Unfortunately there's no easy way to do that in MediaWiki so I have to just calculate what 80% of the width is in pixels. -->
*'''Virtual Earth Map Locator''':Use the map in this dialog to go to your location of interest.
#'''Warning'''
**You can '''zoom''' in or out using the controls or the mouse wheel.
#:If your current coordinate system is "Local", you will get the following warning dialog. The data that will be downloaded is georeferenced so your project coordinate system must be something other than 'Local'. Selecting '''OK''' will change the current coordinate system.
**You can '''pan''' using the controls or by clicking and dragging. You can also enter the latitude and longitude to jump to a specific location.
#:[[Image:ImportFromWeb-CurrentCoordSystemWarning.png|center|400px|''Warning about Local Coordinate Systems'']]
**Use the ''Map Options'' menu to turn on the floating controls in the map (search, pan and zoom).
#'''Virtual Earth Map Locator'''
**Use the ''Map Style'' menu, or the floating controls, to change the map between '''Road''', '''Aerial''', and '''Hybrid'''.
#:Use the map in this dialog to go to your location of interest.
*:[[Image:ImportFromWeb-VirtualEarthMapLocator.png|none|718px|Virtual Earth Map Locator]]
#*You can '''zoom''' in or out using the controls or the mouse wheel.
 
#*You can '''pan''' using the controls or by clicking and dragging. You can also enter the latitude and longitude to jump to a specific location.
Once the region for data download is defined, a series of dialogs appear which allow the user to define the data to be downloaded.  These dialogs include:
#*Use the ''Map Options'' menu to turn on the floating controls in the map (search, pan and zoom).
#*Use the ''Map Style'' menu, or the floating controls, to change the map between '''Road''', '''Aerial''', and '''Hybrid'''.
#:[[Image:ImportFromWeb-VirtualEarthMapLocator.png|none|718px|Virtual Earth Map Locator]]
#'''Data Service Options'''
#'''Data Service Options'''
#:Here you select which type of data you are interested in.
#:Here you select which type of data you are interested in.
#:[[Image:ImportFromWeb-WebServiceOptions.png|none|406px|Data Service Options dialog]]
#'''Save'''
#'''Save'''
#:Now you are asked where you want to save the data. You only need to specify one file name, even if you've selected more than one type of data in the previous dialog. The files will all be given the same prefix but different suffixes.
#:Now you are asked where you want to save the data. You only need to specify one file name, even if you've selected more than one type of data in the previous dialog. The files will all be given the same prefix but different suffixes.
#:[[Image:ImportFromWeb-Save.png|none|450px|Save dialog]]
#'''Confirm File Creation'''
#'''Confirm File Creation'''
#:You may be asked to confirm that you want to create the files.
#:You may be asked to confirm that you want to create the files.
#:[[Image:ImportFromWeb-CreateFiles.png|none|208px|Confirmation of file creation dialog]]
#'''Initialize Connection'''
#'''Initialize Connection'''
#:The following dialog is shown while the connection is being made.
#:The following dialog is shown while the connection is being made.
#:[[Image:ImportFromWeb-Initializing.png|none|166px|Dialog shown during initial connection]]
#'''Select Scale'''
#'''Select Scale'''
#:Smaller numbers (larger scales) will result in better resolution, but longer download times.
#:Smaller numbers (larger scales) will result in better resolution, but longer download times.
#:[[Image:ImportFromWeb-SelectScale.png|none|220px|Select Scale dialog]]
#'''Downloading'''
#'''Downloading'''
#:This dialog reports the download progress. If you click '''Abort''', your image will exist but will be only that portion that you've downloaded so far.
#:This dialog reports the download progress. If you click '''Abort''', your image will exist but will be only that portion that you've downloaded so far.
#:[[Image:ImportFromWeb-TilesRemaining.png|none|166px|Dialog showing download progress]]


Steps 6-8 will repeat for each data type you selected in step 4.
Steps will repeat for each data type selected.
After everything is finished, the data (images etc.) will appear in the [[GMS:Project Explorer|Project Explorer]].
After everything is finished, the data (images etc.) will appear in the Project Explorer.


==See also==
==See also==

Revision as of 18:48, 15 April 2013

Overview

The Import from Web feature allows you to connect to the internet to download free data – images, elevation data etc. If you have an internet connection, this is an easy and convenient way to acquire this type of data.

The data is made available for free by various entities who provide web services. Each of the XMS programs has a number of available data types they can retrieve.

It should be noted that the Import from Web feature links to external internet sites which can change without warning. For example, historically the XMS programs retrieved data from the Terraserver site which was terminated. The termination or modification of an online source may result in invalid links in the XMS program until the links can be corrected.

The Import from Web command is accessed in a number of ways. These include:

  • From the "File" menu (WMS) or "Web" menu (SMS).
  • From the "Get Data From Map" macro (WMS only).
  • From the "Get Data" tool (SMS and WMS).

In the first two options the XMS program brings up a map locator tool (Virtual Earth) that allows the user to select (via pan and zoom) an area of interest and download data for this area. (As shown below)

The "Get Data" tool is available from the data toolbar when the XMS application is using a global projection. Which this tool active in SMS or WMS, the user can graphically select a rectangle in the graphics window and download data inside this rectangle.

Note: The Import from Web feature is no longer used for GMS as of GMS 9.0. The feature is still used in GMS 8.3 and earlier. However, since these tools used the now defunct "TerraServer" services, they are no longer referenced here.

SMS WMS

Data Availability

Elevation (NED, ASTER, and SRTM) Data

  • NED data contains the best available raster elevation data of the conterminous United States, Alaska, Hawaii, and territorial islands. NED data are not available for other areas.
  • ASTER and SRTM data are available for most of the earth's surface. The ASTER dataset is reliable and high-quality.

Imagery

All the imagery (World Imagery, Street Maps, Topo Maps, and OpenStreetMap.org data) are available for anywhere on the earth. Besides downloading these images using the Import from Web command, these images can be read as online maps and then converted to a static map (stored locally on your computer) for faster display after you have decided on a project area.

Land Cover Data

  • The 100 m Resolution CORINE dataset (raster) is available for anywhere in Europe.
  • The 30 m NLCD dataset (raster) is only available for the conterminous United States.
  • The Land Use Shapefile dataset is currently only available for the states of Utah and Louisiana.
  • The Global Land Cover dataset is currently only available for Morocco. If you are interested in making data available for your region, you can either follow the following steps or contact Aquaveo, who can make data for your area available on their web servers for a fee. Follow the following steps to bring Land Use data for your area into WMS:
  1. Go to the European Space Agency site to download land use data.
  2. Download the .zip file Globcover2009_V2.3_Global_.zip and unzip this file on your computer.
  3. Open GLOBCOVER_L4_200901_200912_V2.3.tif in a GIS (such as ArcMap) and convert it to an ESRI raster file. Trim the raster as needed, then convert the raster to a shapefile.
  4. Convert the file Globcover2009_Legend.xls to a *.dbf file and join this file with the shapefile values to get the land use names and IDs.

Soil Data

  • SSURGO soil datasets are available for some parts of Utah, Colorado, and California and are available for most of Louisiana.
  • A STATSGO soil dataset is available for all of Utah. You can also download the STATSGO dataset for the entire United States, but this is a large download (338 MB) and will take some time to download.
  • Data from the Harmonized World Soil Database are only available for Morocco. If you are interested in making data available for your region, you can either follow the following steps or contact Aquaveo, who can make data for your area available on their web servers for a fee. Follow the following steps to bring soil data for your area into WMS:
  1. Download and install the Harmonized World Soil Database program to your computer from the Harmonized World Soil Database web site.
  2. Launch the HWSD Viewer on your computer. The soil data will be copied to the folder c:\program files (x86)\HWSD_v<xxx>\Data where <xxx> is the version of the viewer you have downloaded. The program may also be installed in c:\program files\<...> if you are running a 32-bit version of Windows. The following files are contained in this folder:
    1. The HWSD Raster *.zip file.
    2. The HWSD DBF file.
    3. The HWSD_META DBF file.
  3. Copy the files in the data folder to a writable location on your computer and unzip the HWSD Raster *.zip file.
  4. Open the .bil file in ArcMap and convert the *.bil file to a shapefile using the IDs.
  5. Join the HWSD DBF file with the IDs in the shapefile.
  6. Join the attribute IDs with the HWSD_META DBF file. This gives you a shapefile with the soil IDs and various soil attributes that can be used for hydrologic modeling in WMS.

Additional Information

Note that more vector-based soil and land use datasets are available; Contact Aquaveo if you are interested in adding data from a specific area to the list of available land use or soil data that can be downloaded. A comprehensive list of soil and land use data available for download is located here.

Terraserver images are no longer available because this web service has gone offline.

Using the Import from Web Command

When the Import from web command is invoked from a menu or macro, the virtual earth map locator is launched:


  • Virtual Earth Map Locator:Use the map in this dialog to go to your location of interest.
    • You can zoom in or out using the controls or the mouse wheel.
    • You can pan using the controls or by clicking and dragging. You can also enter the latitude and longitude to jump to a specific location.
    • Use the Map Options menu to turn on the floating controls in the map (search, pan and zoom).
    • Use the Map Style menu, or the floating controls, to change the map between Road, Aerial, and Hybrid.
    Virtual Earth Map Locator

Once the region for data download is defined, a series of dialogs appear which allow the user to define the data to be downloaded. These dialogs include:

  1. Data Service Options
    Here you select which type of data you are interested in.
  2. Save
    Now you are asked where you want to save the data. You only need to specify one file name, even if you've selected more than one type of data in the previous dialog. The files will all be given the same prefix but different suffixes.
  3. Confirm File Creation
    You may be asked to confirm that you want to create the files.
  4. Initialize Connection
    The following dialog is shown while the connection is being made.
  5. Select Scale
    Smaller numbers (larger scales) will result in better resolution, but longer download times.
  6. Downloading
    This dialog reports the download progress. If you click Abort, your image will exist but will be only that portion that you've downloaded so far.

Steps will repeat for each data type selected. After everything is finished, the data (images etc.) will appear in the Project Explorer.

See also