N. DataLink for ArcGIS
Introduction
The Datalink for ArcGIS plugin provides interoperability between Geocap and the ArcGIS suite of products from Esri. The DataLink allows you to open existing ArcMap Documents (.mxd) in Geocap and lets you display the data directly in the graphics window of Geocap.
It is also possible to open Esri File Geodatabases inside a Geocap project allowing you to copy data between the Geocap project and the geodatabase.
Â
The Datalink for ArcGIS is only available in the 32bit version of Geocap. You will also need an existing ArcGIS 10.x desktop license to be available on your machine.
Exercises
ArcMap documents in Geocap
Exercise
Load an ArcGIS map document the Geocap project
- Open the Atlantis project
- In the project toolbar click the Add Data Source toolbutton
- Click Add Data Source
- On the connection dialog type inn a name that describes the map file. This is optional.
- In the Datasource field choose ArcMap Document
- Click the Browse button to select the Atlantis.mxd map file
- Click Connect
- A map node will be created in the project. This is a link to the existing mxd file. No data is copied.
Exercise
Visualize map data in the Geocap project
- Select a layer that is not a group layer.
- Right click on the layer nodeÂ
- If the layer is a feature layer use  Display Features
- If the layer is a raster layer use LOD Grid Display. Open the command in edit mode an check Flip Z values.
-
File Geodatabases
Â
Exercise
Create a new file geodatabase in the project
- Create a new project or open an existing one
- In the project toolbar click the Add Data Source toolbutton
- Click Create ArcGIS File Geodatabase
- The database creation dialog pops up. There are two alternatives for the location of the new geodatabase:
- If you create the database inside the project directory the geodatabase and relative path names will continue to work even if you change the location of the Geocap project.
- If you create the database outside the project it can more easily be shared by several projects or other applications, but the database can no longer be accessed by the project if the project is moved..
- Choose the database location and name and click OK
- The geodatabase is create on disk and a new database object is created in the project.
Exercise
Copy data from Geocap to the geodatabase
- Right-click the dataset that you wish to move to the file geodatabase and select Copy
- Right click the geodatabase object and click Paste.
- A dialog will pop up showing you various options for tranforming the VTK data to a corresponding ESRI data format. Which conversion dialog is shown depends on whether the VTK data format is a raster dataset or polydata. If the source dataset is VTK Polydata the dataset will be split into two feature classes, one for points and for the the cell geometry. You may choose one or both. In most cases you will also choose to flip the Z values, which is default.
- Geocap will try to determine the ESRI spatial reference that corresponds to the one in the source dataset. If you think the chosen suggested spatial reference is wrong you may browse and select one of the standard ESRI spatial references.
- Click  OK to perform the conversion and close the dialogÂ
- The result data will be found in the project  under the geodatabase connection.