Geo Data tutorial: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Line 7: Line 7:


===Import data from a WFS===
===Import data from a WFS===
# Firstly, if you don’t have a WFS URL available, search for an open dataset on the Web. For the Netherlands, you can go for example to: [http://nationaalgeoregister.nl| het Nationaal Georegister].  On this website you can search for open datasets.  
====Import data from a WFS====
# Type in: “archeologie” and click on the first hit: ''Archeologie Catalogus''. Take a moment to read what this dataset is about. Then copy the WFS URL: this is the URL that contains WFS in the URL link.
* Firstly, if you don’t have a WFS URL available, search for an open dataset on the Web. For the Netherlands, you can go for example to: [http://nationaalgeoregister.nl| het Nationaal Georegister].  On this website you can search for open datasets.  
# Log in to the Tygron Engine, open your Project and start the Geo Data Wizard by clicking in the Editor on ''Geo import''.  
* Type in: “archeologie” and click on the first hit: ''Archeologie Catalogus''. Take a moment to read what this dataset is about. Then copy the WFS URL: this is the URL that contains WFS in the URL link.
* Log in to the Tygron Engine, open your Project and start the Geo Data Wizard by clicking in the Editor on ''Geo import''.  
{{Editor ribbon|header=Geo Data|bar=Geo Import}}
{{Editor ribbon|header=Geo Data|bar=Geo Import}}
# Start the wizard and choose the correct type for importing the data. Since we are going to create a map which is equivalent to an overlay, choose as type: AREAS. See the [[Geo_Data_Wizard]] for more information about the differences between the imported types.
* Start the wizard and choose the correct type for importing the data. Since we are going to create a map which is equivalent to an overlay, choose as type: AREAS. See the [[Geo_Data_Wizard|Geo Data Wizard]] for more information about the differences between the imported types.
# In step 1 of the wizard, choose for add WFS service.  
* In step 1 of the wizard, choose for add WFS service.  
# Click on, add a new Feature Service and provide a name, Service Type and URL of the WFS. For URLS where ArcGIS is part of the URL, choose as Service type ESRI_JSON. Otherwise you can choose for WFS_JSON. If the data is filled in correctly and you click on add, you can click on next.
* Click on ''add a new Feature Service'' and provide a custom name, Service Type (WFS_JSON) and URL of the WFS. If the data is filled in correctly and you click on add, you can click on next.
# In step 1.2; all the datasets that are published through this URL are shown (these are called layers). Choose the first layer: archeo_monumenten. If this dataset is not in your project: an error message is given. What could be a reason that the data is not in your project? If this is the case, try one of the other layers. If none of these layers are in your project area, go back one step and use another WFS URL.
* In step 1.2 all the datasets that are published through this URL are shown (these are called layers). Choose the first layer: ''archeo_monumenten''. If this dataset is not in your project, an error message is given. What could be a reason that the data is not in your project? If this is the case, try one of the other layers. If none of these layers are in your project area, go back one step and use another WFS URL.
# In step 2 the location of the objects in your project area is shown. Remember that point and line features should be buffered to create polygons. If your datasets is not consistent of polygons, buffer them.
* In step 2 the location of the objects in your project area is shown. Remember that point and line features should be buffered to create polygons. If your datasets is not consistent of polygons, buffer them.
# In step 3 we can filter the features and  in step 4 adding as new areas or updating areas. Click 2 times on next.
* In step 3 we can filter the features and  in step 4 adding as new areas or updating areas. Click 2 times on next.
# In step 5 we name the features. Click on: Based on specific Attribute and choose for the attribute ''TOPONIEM''. Now the features will be named after their geographic entity.
* In step 5 we name the features. Click on: Based on specific Attribute and choose for the attribute ''TOPONIEM''. Now the features will be named after their geographic entity.
# In step 6 the attributes can be selected. Only numerical attributes are imported in the Engine. These are by default checked. Notice that therefore the list of attributes is much smaller than the list of attributes was in step 5. Click on next.  
* In step 6 the attributes can be selected. Only numerical attributes are imported in the Engine. These are by default checked. Notice that therefore the list of attributes is much smaller than the list of attributes was in step 5. Click on next.  
# In step 7 click on Finish. Now the Geo data wizard is finished and the data is imported.
* In step 7 click on Finish. Now the Geo data wizard is finished and the data is imported.
 
 
====Create an overlay====
* Go in the Editor to Areas and notice that on the left side the areas you imported are listed. Click on them and see that in the 3D world the corresponding  area is highlighted. In the tab Attributes on the right side of the area the attributes are imported as well.
{{Editor ribbon|header=Geo Data|bar=AREAS}}
* Since we don't want to go by these areas one by one to see the archeological value areas, we are going to create a map so we can see them in one view.
Go therefore in the editor to overlays.
{{Editor ribbon|header=Geo Data|bar=OVERLAYS}}
* Add a new overlay by clicking in the bottom left corner on ''Add Areas''.
* Notice a new overlay, named: ''Speciaal gebied'' is added.
* Select this overlay and notice the new menu on the right side.
* Give the new overlay a fitting name and check the areas belonging to the archeological value map. If there are a lot of areas, you can also click on the button in the bottom right corner on ''Add Areas with Attribute''. Here you can select a common attribute that the areas have. Select the attribute and click on Add.

Revision as of 14:50, 11 June 2018

Please note: This page is currently being updated.

Getting Started

In this tutorial, you will learn the different ways to import and export data in your project. For this tutorial you can use your own project.

Importing data from Web services

In this section we are going to import data from a WFS (Web Feature Service) and a WMS (Web Map Service) to create an archeological value map.

Import data from a WFS

Import data from a WFS

  • Firstly, if you don’t have a WFS URL available, search for an open dataset on the Web. For the Netherlands, you can go for example to: het Nationaal Georegister. On this website you can search for open datasets.
  • Type in: “archeologie” and click on the first hit: Archeologie Catalogus. Take a moment to read what this dataset is about. Then copy the WFS URL: this is the URL that contains WFS in the URL link.
  • Log in to the Tygron Engine, open your Project and start the Geo Data Wizard by clicking in the Editor on Geo import.

Template:Editor ribbon

  • Start the wizard and choose the correct type for importing the data. Since we are going to create a map which is equivalent to an overlay, choose as type: AREAS. See the Geo Data Wizard for more information about the differences between the imported types.
  • In step 1 of the wizard, choose for add WFS service.
  • Click on add a new Feature Service and provide a custom name, Service Type (WFS_JSON) and URL of the WFS. If the data is filled in correctly and you click on add, you can click on next.
  • In step 1.2 all the datasets that are published through this URL are shown (these are called layers). Choose the first layer: archeo_monumenten. If this dataset is not in your project, an error message is given. What could be a reason that the data is not in your project? If this is the case, try one of the other layers. If none of these layers are in your project area, go back one step and use another WFS URL.
  • In step 2 the location of the objects in your project area is shown. Remember that point and line features should be buffered to create polygons. If your datasets is not consistent of polygons, buffer them.
  • In step 3 we can filter the features and in step 4 adding as new areas or updating areas. Click 2 times on next.
  • In step 5 we name the features. Click on: Based on specific Attribute and choose for the attribute TOPONIEM. Now the features will be named after their geographic entity.
  • In step 6 the attributes can be selected. Only numerical attributes are imported in the Engine. These are by default checked. Notice that therefore the list of attributes is much smaller than the list of attributes was in step 5. Click on next.
  • In step 7 click on Finish. Now the Geo data wizard is finished and the data is imported.


Create an overlay

  • Go in the Editor to Areas and notice that on the left side the areas you imported are listed. Click on them and see that in the 3D world the corresponding area is highlighted. In the tab Attributes on the right side of the area the attributes are imported as well.

Template:Editor ribbon

  • Since we don't want to go by these areas one by one to see the archeological value areas, we are going to create a map so we can see them in one view.

Go therefore in the editor to overlays. Template:Editor ribbon

  • Add a new overlay by clicking in the bottom left corner on Add Areas.
  • Notice a new overlay, named: Speciaal gebied is added.
  • Select this overlay and notice the new menu on the right side.
  • Give the new overlay a fitting name and check the areas belonging to the archeological value map. If there are a lot of areas, you can also click on the button in the bottom right corner on Add Areas with Attribute. Here you can select a common attribute that the areas have. Select the attribute and click on Add.