tutorial locations and mapping - esdat environmental data ... · importing and editing locations...
Embed Size (px)
TRANSCRIPT
For use with ESDAT version 4 (version 4 software updates available from www.esdat.com.au)
using the ESdat Environmental Database System
TUTORIAL - Locations and Mapping
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 1
Function Tutorial - Locations and Mapping
Contents Function Tutorial - Locations and Mapping 1 Contents 1 Summary 2 Pre-requisites 2 Introduction 3 Importing and editing locations and co-ordinates 4
Exercise 1: Bulk Import using Import templates ...................................................... 4
Exercise 2: Specifying the co-ordinate system ....................................................... 5
Basemaps 6 Exercise 3: Adding a vector basemap .................................................................... 6
Exercise 4: Changing layer display properties ........................................................ 6
Basemap Coordinate Systems 7 Imagery Basemaps ................................................................................................. 7
Vector Basemaps ................................................................................................... 8
Exercise 5: Assigning a coordinate system to a basemap ...................................... 8
Adding Web Mapping Service Layers 8 Exercise 6: Adding OpenStreetMap data to the map ............................................. 9
Map Functions 9 Adding and moving ESdat Locations directly on the map 11
Exercise 7: Adding a Location directly onto the Map. ........................................... 11
Exercise 8: Changing the position of an existing location on the map. ................. 12
Creating labels for data points on maps 12 Exports to ArcMap / MapInfo / Google Earth 13
Exercise 9: Exporting to Google Earth .................................................................. 13
Exercise 10: Exporting to ArcMap ........................................................................ 13
Further Tutorials 13
mailto:[email protected]://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 2
Summary
This tutorial will examine using location data in bulk (ie from a surveyor), basemaps, importing locations through the map panel, and use of the mapping features and tools. It will also cover labelling options.
The tutorial can be completed using either the Access and SQL versions of ESdat.
Pre-requisites
Tutorial 1 and the Function Tutorial Importing and Editing Data should all be completed before you begin this tutorial.
For a full list of the Tutorials available for use with ESdat please see the Tutorial List
mailto:[email protected]://www.esdat.net/http://www.esdat.net/esdathelp/index.html?tutorials.htm
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 3
Introduction Most site data entered into ESdat needs to be associated with a Location via specification of a
Location Code. By assigning a Location Code to any data, the information in the Location
table for that Location Code (coordinates and other information) will also be associated.
Wells (Piezometers), Chemistry Samples, Groundwater Levels, and many other kinds of data
have the facility to store a Location Code (or LocCode), which will always match a LocCode
value in the Locations Table.
The relationship between location codes and other information held in ESdat is shown below.
Location Codes in the Location Table may be automatically generated in some cases, if certain
choices are made in the import process. If a user is attempting to import Chemistry Samples or
other data using a Location not previously entered they will initially be unable to do so.
However if they then select Create Missing Parent Records a Location entry will be added. All
other Location information such as co-ordinates will then need to be added to that location later.
mailto:[email protected]omhttp://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 4
Importing and editing locations and co-ordinates We are going to import some new Location data into a new database. It is assumed you are
able to set up a new database in ESdat, if not see
http://www.esdat.net/esdathelp/index.html?tutorials.htm
ESdat allows location data to be added either in Bulk (ie data supplied from a surveyor) or by adding directly onto the Map in ESdat. Bulk import is covered below, and adding to a map is covered later, once we have a basemap generated.
We want to add new locations to a new ESdat Site/Project. The information about the location is as follows:
x Y
BH1 153.556756 -28.86857486
BH2 153.5568892 -28.86848345
BH3 153.5560937 -28.86837448
BH4 153.5564424 -28.86842897
BH5 153.5559023 -28.86846963
Exercise 1: Bulk Import using Import templates Create a new, blank, ESdat Site/Project to import this data into.
Click on the Import view type.
From the Blank Import Templates area, select Locations, and copy the above data into the Blank Import Template.
Click the Import button (Under the Add Ins button on the Custom tool bar), and select the Import button to import the new data.
mailto:[email protected]://www.esdat.net/http://www.esdat.net/esdathelp/index.html?tutorials.htm
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 5
The cells will now be shaded light green to indicate the data was successfully imported.
Click on the Close button.
In ESdat, go back to the Data panel and reclick on the Locations button to refresh the data, and to confirm that the data is present.
This approach can also be used to Update or Overwrite existing Location data in the database,
using the generic Import Template functionality described in the Importing and Editing Tutorial.
Exercise 2: Specifying the co-ordinate system The coordinate system for the data in ESdat is specified in the Project table (Access Version)(or
Site table (SQL Server versions). Using the new ESdat Site/Project we have previously created
(Exercise 1) complete the following:
Hover the mouse over the Data Tables button (top right)
Click on the Project table (Access Version)(or Site table (SQL Server versions)
Information about the Site/Project will now be displayed; note the Coordinate System for this dataset is blank (unless you specified it on project setup).
Put ESdat into Edit mode by clicking on the Allow Editing icon (make sure the icon goes red).
Make the Coordinate_System column wider, so you can see all the values in the drop-down, and from the Drop-Down select WGS_84 (these co-ordinates are latitude/longitude, and most latitude/longitude co-ordinates use the WGS_84 system).
mailto:[email protected]://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 6
Basemaps
Exercise 3: Adding a vector basemap To add a basemap:
Select the Location Data-Type button, and click on the Map panel.
A basemap layer can be added in most common GIS formats (the Add button) or a new layer
can be drawn in ESdat. We will draw our own, new site boundary.
Click the New button (pointer 1 on the image below).
You will be prompted to save this layer as a file (save it as test.dxf). The DXF format is the
most versatile for drawing. After saving the file the layer will be added to the Map Layers (on
the right), but will be empty.
To edit this layer click the Pencil icon in the toolbar immediately underneath the layer toolbar. On doing that the toolbar will change as shown below (pointer 2b).
Click Add Polygon (2b)
Draw a line around the outside of the points on the map (3)
Click Save (4)
Exercise 4: Changing layer display properties Double click the layer to change the properties the example shows the options to
change the Basemap layer.
mailto:[email protected]://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 7
Select the Area tab, and the Outline Sub-tab.
Change the Color to Red and click OK. The outline of the areas in the layer will be shown in red.
Try changing some of the other options here and note the changes.
For more information on base maps, see http://www.esdat.net/esdathelp/index.html?adding_basemaps.htm
Basemap Coordinate Systems If the coordinate system of the data in ESdat isnt specified, then all GIS Layers must be in the
same coordinate system as the ESdat data. However, ESdat has the ability to overlay data and
layers in different coordinate systems.
Imagery Basemaps All imagery basemaps (ie arial photographs or satellite imagery) need to be georeferenced
before it can be properly viewed in ESdat.
Some imagery formats contain the co-ordinate system within the file (ie ecws) and others require a world file (ie tiffs). If a co-ordinate system isnt specified the imagery will need to be geo-referenced using a geo-referencing package, or one of the mainstream GIS applications.
Whenever possible ESdat will automatically detect the co-ordinate system, requiring no user action other than adding the layer.
mailto:[email protected]://www.esdat.net/http://www.esdat.net/esdathelp/index.html?adding_basemaps.htm
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 8
Vector Basemaps
Vector basemaps (ie lines such as Autocad dxf files) may need to have their co-ordinate system specified in ESdat.
Exercise 5: Assigning a coordinate system to a vector basemap
To assign a coordinate system to a vector basemap, do the following:
Click on the Map panel.
On the right side of the map double click on the test layer we previously created.
Click the Layer Tab in the dialogue box that opens, and then on the Select button.
A Coordinate System dialogue box will open (the screenshot below shows the outcome of these steps, from right to left).
Select WGS84 (ie Latitude/Longitude)
Click OK to close all forms.
Adding Web Mapping Service Layers Because we have indicated the co-ordinate system of the data in ESdat we can integrate with
publically available basemaps exposed by WMS (Web Mapping Service).
mailto:[email protected]://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 9
One such publically available WMS service which has global coverage is OpenStreetMap, and a
specific button is included for this. Users can also specify their own WMS address to take
advantage of corporate WMS layers, or other publically available WMS layers.
Exercise 6: Adding OpenStreetMap data to the map
Click the + Web button ( )to add a Web Layer.
Click the Get Open Street Map button.
The streets around the EScIS offices will be displayed, where the locations have been randomly
placed.
Map Functions ESdat offers a range of mapping functions. Users can add or edit locations through a map (as
seen above), zoom in and out, move maps, add base maps and change coordinate systems, as
required.
Buttons for controlling map zoom, panning, selection style or interrogation are included on the toolbar to the left of the map. The buttons include options to:
Select a number of points by Rectangle
Select a number of points by Circle
Clear All selection
Move map (within the map extents)
Zoom to World (whole extent)
Zoom to Selected Layer (will zoom to the extent of the whichever map layer has been selected in the map layer list on the right of the map)
Zoom In
Zoom in/out to window
Zoom out
Select and Show information about a specific point (click on this button, then click on a point on the map that you want information about).
mailto:[email protected]://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 10
Use the different functions on the example map to ensure you are comfortable with their use.
On the top right of the Map panel there are three buttons Lock Extent, Labels and To filter.
The Lock Extent button freezes the extent (or scale) of the maps showing different data types. If this is not selected ESdat will zoom out to all points whenever a new Data-Type is selected.
(as this ESdat project only contains Location information this cannot be illustrated. It can be verified using the Sample Hydrogeology and Contam dataset if desired)
The Labels button provides options for changing the way data points in the maps appear.
Click on the Labels button and note the options. Note the More Layer Options button clicking on this provides a further range of choices for customizing the look of maps.
Try turning on and off some of the options to see the changes these create on the map.
The use of the To Filter button is examined in the Function Tutorial on Filtering. It enables you to select one or more locations and add that location to the main ESdat filter.
mailto:[email protected]://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 11
Adding and moving ESdat Locations directly on the map
Exercise 7: Adding a Location directly onto the Map. Well now look at adding a location using the ESdat Map panel. This method is useful when
adding a point to a known spot on a basemap.
Make sure that the Location Data-Type button is selected, so that you are viewing Location data (you can only use this method when in the Location view).
Click on the Map panel button. You should now see the Locations on the Map.
Click on the button at the top left of the map.
Click anywhere on the map to locate an additional data point (BH7).
You will be prompted in the Add coordinates to the Database dialogue box to add a LocCode type in BH7 here, and click OK.
A Location data entry box will now open, with the coordinates of the point listed. These can be corrected to the actual data (if you have it), and you can also add other location information here; add a comment about this location.
Click Add when you have finished.
Now click on the Data panel and review the information you have added for these two Locations. (You may need to refresh the Data panel either by re-clicking on the Locations data-type button, or clicking Apply Filter.)
mailto:[email protected]://www.esdat.net/
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 12
Exercise 8: Changing the position of an existing location on the map. Imagine that you have realised that BH7 is showing on the map in the wrong place and you
need to move it. Open the Data panel and make a note of the coordinates currently given for
BH7.
To change the position of an existing location on the map:
Change to the Map Panel.
Click the button on the Map Panel toolbar.
Select the point for BH7 on the map by mouse-clicking on the point, and while holding onto the point, drag it to a new location. Release the mouse-button.
Click on the Data panel and compare the coordinates for BH7 to those you noted previously they should have changed. (You may need to refresh the Data panel either by re-clicking on the Locations data-type button, or clicking Apply Filter.)
More information on locations is available in the Help files: http://www.esdat.net/esdathelp/index.html?locations.htm
Creating labels for data points on maps Labels for data points on maps can easily be created and manipulated in ESdat, allowing for
specific items of interest to be highlighted.
Two options are available, depending on the type of data being viewed. If the data is non-
chemistry users will have the option to view a Location Code and one of a Result Range, Max,
Min, Count, Average. For chemistry data users will additionally have the option to show
Chemistry Tables and Exceedances on the map. Users are referred to the relevant Data-Type
tutorial for coverage of the label options for each Data-Type.
mailto:[email protected]://www.esdat.net/http://www.esdat.net/esdathelp/index.html?locations.htm
Function Tutorial - Locations and Mapping
EarthScience Information Systems Pty Ltd
Email: [email protected] Web: www.esdat.net Page 13
Exports to ArcMap / MapInfo / Google Earth ESdat can export points and labels to all the above GIS applications.
For Google Earth and MapInfo only Location Codes and simple Result Values can be shown next
to a point. ArcMap supports all labels that can be generated in ESdat.
Exercise 9: Exporting to Google Earth If you dont have Google Earth, a link to the Google Earth download is provide in the ESdat
Google Earth Export.
View the data on the Map Panel in ESdat.
Click the Google Earth export on the Export Toolbar.
The first time you may need to specify where GoogleEarth.exe has been installed.
Google Earth will zoom into the area around the EScIS offices, where the locations are
randomly placed.
Exercise 10: Exporting to ArcMap / MapInfo If you have ArcMap or MapInfo, click the relevant button on the Exports toolbar to export data
and launch ArcMap.
Further Tutorials For a list of other tutorials available with ESdat see
http://www.esdat.net/esdathelp/index.html?tutorials.htm
mailto:[email protected]://www.esdat.net/http://www.esdat.net/esdathelp/index.html?tutorials.htm
Sample01 Tutorialv19_2