Difference between revisions of "Using the sandbox with GIS tools"

From IMSMA Wiki
Jump to: navigation, search
(Created page with "There are two options: # using the Staging area database # using the so called sandbox which is the geodatabase which is used by the client. {{Warning| The sandbox and the cl...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
There are two options:
+
{{Warning| The sandbox and the client background map are used by the {{IMSMANG}} application so if they become broken then the Map pane inside {{IMSMANG}} will stop working.}}
# using the Staging area database
 
# using the so called sandbox which is the geodatabase which is used by the client.
 
  
{{Warning| The sandbox and the client background map are used the {{IMSMANG}} application so if they become broken then the Map pane inside {{IMSMANG}} stop working.}}
+
The sandbox option is '''NOT''' recommended to use but if you decided to do it anyhow please:
 +
# make a copy of the file based geodatabase
 +
# make a copy of the client's mxd file
 +
by '''following''' the instructions below and use copies when working with ArcGIS.
  
The '''[[Connecting to IMSMA Staging area from ArcGIS | Staging area database option]]''' is the best one since it gives you access to all attributes including CDFs in ArcMap.
+
If the client's current background map is called ''World'' then you will find the file based geodatbase in ''C:\IMSMAng\client\gis\sandbox\World\map''.
 +
<ol>
 +
<li>Close the {{IMSMANG}} client.
 +
<li>Copy the folder called ''IMSMA.gdb'' in ''C:\IMSMAng\client\gis\sandbox\World\map'' to e.g. IMSMA_3Aug.gdb.
 +
<li>Open ArcMap with an empty mxd or start ArcCatalog.
 +
<li>In ArcCatalog right-click on World.mxd and select ''Set Data Source(s)''
 +
<li>Set the name to the output file to e.g. ''World'''_3Aug'''.mxd''.
 +
<li>Click on '''Select All''' button.
 +
<li>Click on '''Replace All''' button.
 +
<li>Set ''Replace with'' to e.g. ''C:\IMSMAng\client\gis\sandbox\World\map\IMSMA'''_3Aug'''.gdb''.
 +
<li>Click on '''Replace All''' button.
 +
<li>Verify the result and click on '''OK''.
 +
<li>Open the new mxd, ''World_3Aug.mxd''.
 +
[[Image:Change datasource mxd.png|400px|center]]
 +
<li>Click on the second tab ''List by Source'' and verify that '''IMSMA_3Aug.gdb''' is used.
 +
</ol>
 +
See more on [http://desktop.arcgis.com/en/arcmap/10.3/map/working-with-layers/repairing-broken-data-links.htm#GUID-4A6945FD-F159-4FB3-B6D8-699E930D879A Updating/Changing data source].
 +
{{NavBox AGOL Extension}}
 +
[[Category:PEW]]

Latest revision as of 08:07, 29 August 2017

Warning.jpg The sandbox and the client background map are used by the IMSMANG application so if they become broken then the Map pane inside IMSMANG will stop working.

The sandbox option is NOT recommended to use but if you decided to do it anyhow please:

  1. make a copy of the file based geodatabase
  2. make a copy of the client's mxd file

by following the instructions below and use copies when working with ArcGIS.

If the client's current background map is called World then you will find the file based geodatbase in C:\IMSMAng\client\gis\sandbox\World\map.

  1. Close the IMSMANG client.
  2. Copy the folder called IMSMA.gdb in C:\IMSMAng\client\gis\sandbox\World\map to e.g. IMSMA_3Aug.gdb.
  3. Open ArcMap with an empty mxd or start ArcCatalog.
  4. In ArcCatalog right-click on World.mxd and select Set Data Source(s)
  5. Set the name to the output file to e.g. World_3Aug.mxd.
  6. Click on Select All button.
  7. Click on Replace All button.
  8. Set Replace with to e.g. C:\IMSMAng\client\gis\sandbox\World\map\IMSMA_3Aug.gdb.
  9. Click on Replace All button.
  10. Verify the result and click on 'OK.
  11. Open the new mxd, World_3Aug.mxd.
    Change datasource mxd.png
  12. Click on the second tab List by Source and verify that IMSMA_3Aug.gdb is used.

See more on Updating/Changing data source.