File Exchange > Graphing >    Maps Online

Author:
OriginLab Technical Support
Date Added:
9/29/2015
Downloads (90 Days):
196
Last Update:
4/15/2016
Total Ratings:
7
File Size:
741 KB
Average Rating:
File Name:
Maps Online.opx
Created Using:
Origin 2016 SR2
File Version:
1.2
Minimum Versions:
2016 SR2
License:
Free
Summary:

Fetch map image from a WMS server and place as background image in a graph.

Screen Shot and Video:
Description:

This App fetches map images of a given longitude and latitude range from a WMS server. The map is then inserted as an image into the active graph layer. Multiple layers of maps can be combined and inserted.

Installation

Download the file Maps Online.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.

Operation
  1. Click the Maps Online icon to open the dialog.
  2. Select a map source from the Map Source drop-down.
    You can click the + button next to the drop-down to add a map source. See examples below.
  3. Select a map layer from the Layers drop-down.
    To insert multiple layers of maps, click the + button next to the drop-down and select the desired layers.
  4. Latitude and longitude boundary values for the map are automatically entered into their respective Area edit boxes. To use the axis scale values of the active graph layer (dimmed if a graph window is not active), click the  button.
  5. Click  and choose to Load Into a 2D Graph or Matrix.
  6. Click OK.
    If you opted to load into a matrix, the image will be imported into a matrix.
    If you opted to load into a 2D graph and a graph window was active when launching tool, the image will be placed in the active graph layer.
    If you opted to load into a 2D graph and a graph window was not active, a new graph window will be created.

NOTE: The graph layer is automatically resized to maintain the correct aspect ratio for the inserted map image.

Press F1 when dialog is open, to view documentation. Several examples are provided below as well.

Retrieving Map Examples
  1. Use a Built-in Map Source                                                                               
    To use a built-in Map Source, simply click the Maps Online icon to launch the App, select Map Source and its Layers from the drop-down boxes with specified longitude range and latitude range. Change the resolution as required. The following is an example of land from NASA Terra MODIS:
  2. Add New Map Source
    To add a new Map Source, click the + button on the right of Map Source, which opens the file MapsOnline.ini file. Then add two lines such as below:
    [name_of_Map_Source]
    URL=address_of_service

    Save the ini file. And the added map source will be shown in Map Source drop-down list.
    For example:

    [Land Mark]
    URL=http://oos.soest.hawaii.edu/erddap/wms/erdMHchla8day/request?VERSION=1.1.1

    Some examples are listed below:

    1. Land Mark
      Map Source = http://oos.soest.hawaii.edu/erddap/wms/erdMHchla8day/request?VERSION=1.1.1
      Layers = LandMask
      North = 90, South = -90, West = 0, East = 360
    2. Blue Marble: Next Generation +Topography and Bathymetry
      Map Source = http://neowms.sci.gsfc.nasa.gov/wms/wms?VERSION=1.1.1
      Layers = BlueMarbleNG-TB
      North = 90, South = -90, West = -180, East = 180
    3. National Boundaries
      Map Source = http://sedac.ciesin.columbia.edu/geoserver/ows
      Layers = cartographic:national-boundaries
      North = 83.667, South = -55.792, West = -180, East = 180
    4. Continental United States
      Map Source = http://www.geocommunicator.gov/ArcGIS/services/Basemaps/MapServer/WMSServer
      Layers = 15
      North = 55, South = 20, West = -130, East = -65
    5. Japan
      Map Source = http://www.finds.jp/ws/kiban25000wms.cgi
      Layers = JpSmpl
      Style = thin
      North = 47, South = 23, West = 120, East = 150
      Resolution = 8000
    6. Colour-shaded DEM of EU
      Map Source = http://image.discomap.eea.europa.eu/arcgis/services/GioLandPublic/EU_DEM/MapServer/WMSServer
      Layers = 0
      North = 75, South = 25, West = -35, East = 45
Map Application Example
  1. Open Earthquakes 2014.opj located in the Maps Online subfolder under your Apps folder
    You can type %@A= in script window to quickly locate your Apps main folder.
  2. Activate the bubble graph showing earthquake data.
  3. Click the Maps Online icon to launch the App.
  4. In the Maps Online dialog, select the BLUE MARBLE as Map Source and BlueMarbleNG-TB as Layers.
  5. Click the button in the Area group so that North = 90, South = -90, West = -180, East = 180.
  6. Click OK button to add the map to the layer.
WMS Resources
  1. List of Servers:
    1. WHO: http://mapservices.euro.who.int/arcgis/rest/services
    2. OneGeology: http://portal.onegeology.org/statusView.jsp
    3. (USGS) Mineral Resources On-Line Spatial Data: http://mrdata.usgs.gov/wms.html
    4. (USGS) GISDATA: http://gisdata.usgs.gov/services.php
    5. The National Map: http://viewer.nationalmap.gov/example/services/serviceList.html
    6. PACIOOS: http://oos.soest.hawaii.edu/pacioos/data_access/dataservers.php
    7. SEDAC: http://sedac.ciesin.columbia.edu/maps/services
    8. GeoCommunicator: http://www.geocommunicator.gov/GeoComm/services.htm
    9. European Soil Data Center: http://eusoils.jrc.ec.europa.eu/wms/wms.htm
    10. Discover the map services of the European Environment Agency: http://discomap.eea.europa.eu/home.html
    11. ArcGIS: http://www.arcgis.com/home/search.html?t=content&q=tags:WMS
    12. Free GIS Data: http://freegisdata.org/place/
    13. Spatineo Directory: http://directory.spatineo.com/
    14. Kansas Biological Survey (the University of Kansas): http://kars.ku.edu/arcgis/rest/services
    15. New Zealand: https://maps.stats.govt.nz/wss/service/ArcGIS1/guest
    16. Atlas of the Cryosphere Data Sources:
      1. North: http://nsidc.org/data/atlas/cryosphere_atlas_north_info.html
      2. South: http://nsidc.org/data/atlas/cryosphere_atlas_south_info.html
  2. Server
    1. NASA
      1. NASA Earth Observations (NEO) WMS: http://neowms.sci.gsfc.nasa.gov/wms/wms
      2. Data from NASA Goddard Earth Sciences Data and Information Services Center (GES DISC): http://disc1.gsfc.nasa.gov/daac-bin/wms_ogc
      3. Hurricane Project - Terra MODIS WMS: http://wms.gsfc.nasa.gov/cgi-bin/terra-wms.cgi
      4. Atmospheric Infrared Sounder (AIRS) Near-Real-Time http://disc1.sci.gsfc.nasa.gov/daac-bin/wms_airsnrt? version=1.1.1
      5. Atmospheric Infrared Sounder (AIRS) Data Products http://disc1.sci.gsfc.nasa.gov/daac-bin/wms_airs? version=1.1.1
      6. Tropical Rainfall Measurement Mission (TRMM) Gridded Rainfall Data: http://disc1.sci.gsfc.nasa.gov/daac-bin/wms_trmm? VERSION=1.1.1
    2. GEBCO Web Map Service: http://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv
    3. Japan
      1. Fundamental Geospatial Data (25000): http://www.finds.jp/ws/kiban25000wms.cgi
      2. Fundamental Geospatial Data (2500): http://www.finds.jp/ws/kiban2500wms.cgi
    4. GeoServer WMS (globedata.nl): http://www.globedata.nl/geoserver/wms
    5. WORLD OSM WMS (osm-wms.de): http://129.206.228.72/cached/osm?VERSION=1.1.1
    6. terrestris.de
      1. OpenStreetMap WMS (Color): http://ows.terrestris.de/osm/service
      2. OpenStreetMap WMS (Grayscale): http://ows.terrestris.de/osm-gray/service
    7. metaspatial.net (the Great Britain): http://metaspatial.net/cgi-bin/ogc-wms.xml?VERSION=1.3.0
    8. eAtlas Australia's Tropical Land and Seas: http://maps.eatlas.org.au/maps/wms?&VERSION=1.1.1
    9. Europakart WMS: http://wms.geonorge.no/skwms1/wms.europa
    10. New Zealand
      1. Boundaries Local Government: http://maps.stats.govt.nz/wss/service/ArcGIS1/guest/Boundaries/Local_government/MapServer/WMSServer
      2. MPI SDI: http://sdi.fish.govt.nz/sdi/mapserver.wms

Updates:

v 1.1: Import map to graph or matrix;.Set latitude and longitude from graph axis values.
v 1.2: Fixed compiling problem due to codepage

Reviews and Comments:
02/24/2017tainxianbaobaonice

02/03/2017loku5658Its a very nice and simple way to draw graphs

10/06/2016rmani612@gmail.com

02/21/2016florinunga

11/26/2015andrewcool

11/26/2015andrewnice

11/26/2015andrewnice