Difference between revisions of "Connecting to IMSMA Staging area from ArcGIS"
Line 8: | Line 8: | ||
[[Image:Staging mxd.png|500px|center]] | [[Image:Staging mxd.png|500px|center]] | ||
− | There is also a special mxd-file, ''staging.mxd'', that contains the IMSMA symbology and has Data Source set to a PostgreSQL database called '''staging''' for all layers. You find the ''staging-MM-DD-YY.mxd'' in C:\IMSMAETLTool\data. | + | There is also a special mxd-file, ''staging.mxd'', that contains the IMSMA symbology and has Data Source set to a PostgreSQL database called '''staging''' for all layers. You find the ''staging-MM-DD-YY.mxd'' in ''C:\IMSMAETLTool\data''. The visible scale ranges in ''staging-MM-DD-YY.mxd'' are the same as in '''[[IMSMA.mxd]]'''. |
[[Image:Repair broken links SA.png|200px|center]] | [[Image:Repair broken links SA.png|200px|center]] |
Revision as of 10:02, 5 August 2016
To be able to connect to the IMSMA Staging area database from ArcGIS you need to copy the client library files to the \ArcGIS\Desktop10.1\bin folder:
- libeay32.dll
- libiconv-2.dll
- libintl-8.dll
- libpq.dll
- ssleay32.dll
You can download these files from here or copy from C:\IMSMAng\pgsql\bin.
There is also a special mxd-file, staging.mxd, that contains the IMSMA symbology and has Data Source set to a PostgreSQL database called staging for all layers. You find the staging-MM-DD-YY.mxd in C:\IMSMAETLTool\data. The visible scale ranges in staging-MM-DD-YY.mxd are the same as in IMSMA.mxd.
The red exclamation mark indicates that Data Connection is broken
If your IMSMA Staging area database is called something else than staging, you need to rebuild the Data Source links for each layer. On ESRI's ArcGIS Resource Center you will find instructions on how to Repair broken links for multiple layers.
- Right click on e.g. Lands - Generic - Land Polygon and choose Properties in the menu.
- The following window will open.
- Go to tab Source.
- Click on Set Data Source.
- If you not already have a Database connection to your Staging area database, you need to create one first. Double-click on Add Database Connection.
- Fill in server name, user and password.
- Select the database and click OK.
- Back in the Data Source window, double-click on the Database Connection.
- Select the corresponding view, in this example hazard_polygon_view. Click on Add.
- Back in Layer Properties window, click on OK.
- Now all other broken links to your Staging area database should be repaired too.
Layer Properties
The connection type is Database
Define the Database connection
Specify Database Connection
Define the Database connection
|