ArcGIS Server: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
mNo edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Latest ==
{{Deprecated}}


2012 Dec 24
Some time (years now) ago they changed the name from ArcGIS Server (AGS) to [[ArcGIS Enterprise]] (AGE)
and now "ArcGIS Server" is a component in AGE.
 
Here are my notes from the AGS days. Probably best to go here: [[ArcGIS Enterprise]].
 
== January 2014 ==
 
=== 06 Jan 2014 ===
 
Somewhere in the last year the 10.1 server stopped working.
I am going to install 10.2 anyway.
 
Also I am going to set it up to store data in PostgreSQL.
 
=== 07 Jan 2014 ===
 
In preparation for ArcGIS 10.2, I did updates ("yum update") I had to remove pgadmin3 and php packages since they depend on the libpq package that I removed to install the bespoke PostgresSQL/PostGIS. I don't need pgadmin3 because I don't run it on the console anyway. I use it on client machines.
I am not sure why the php thing was installed, probably just against future need. Hopefully wiki.geo-ceg.org does not need it...
 
Specifically I did this:
rpm -e php-pgsql php-ZendFramework-Db-Adapter-Pdo-Pgsql
rpm -e pgadmin3_92-1.16.1-4.rhel6.x86_64
yum update
reboot
 
== Last year ==
 
=== 11 Feb 2013 ===
 
Working the open source side this week. Loading data into PostGIS and publishing it.
I got distracted last week when I decided I'd spend some time trying to organize my data.
I want to press on so i am not going to invent anything clever this afternoon.
 
I am trying to build a base map. I will continue adding pages to the Open source section from the last session 21 Jan...
Actually I have already written on most of those topics so I linked to existing pages.
 
The data that I put into the ArcGIS map included:
 
* railroads
* highways (red lines)
* rivers (blue lines)
* state parks (green polygons with transparency)
* city limits (tan polygons) labelled when zoomed in
* counties (polygons)
 
I symbolized the counties 2 ways, as a border line at < 100K and as colorful polygons >= 100K, with labels when zoomed out
 
I will show some details on the loading into PostGIS, [[Loading data into PostGIS#Comparison|here]]
 
=== 21 Jan 2013 ===
 
Last week we decided to compare what it takes to get the same map up and running,
one in ESRI using ArcGIS and one in open source using PostGIS, Geoserver, and Openlayers.
 
Working on creating the ESRI basemap.
 
I had some data stashed already that I can use, a file geodatabase that's a few years old.
I built it with ArcGIS 9.3. FGDB has come a long way since then. My first step therefore was to
open it in ArcCatalog and use the "Update" button to convert it to 10.1 format... continued in [[Creating a basemap in ArcGIS Desktop]].
 
I decided to start breaking this topic out into separate pages... something like this.
 
Here is the proposed list of pages, so far.
 
==== ESRI ArcGIS ====
 
With ESRI we've made it to step 4.
 
# [[Setting up ArcGIS For Server on Linux]]
# [[Creating a basemap in ArcGIS Desktop]]
# [[Publishing the basemap as a service]]
# [[Consuming the service in ArcGIS Online]]
# [[Creating a stand-alone web map using ArcGIS Server]]
 
==== Openlayers ====
 
With open source we have steps 1 and 2 done so far.
 
# '''Setting up PostGIS''': How I went about setting up PostGIS is covered in detail here: [[PostGIS]]
# '''Setting up GeoServer: See this page [[GeoServer]]
# [[Loading data into PostGIS]]
# [[Publishing data with GeoServer]]
# [[Creating the web map using Openlayers]]
 
=== 2013 Jan 14 ===
 
Got Christian set with OpenVPN to access the Geo-CEG server (dart).
 
Started work on a map to use (step 1 below)
 
=== 2012 Dec 24 ===


I am thinking about hosting a Google Hangout to collaboratively learn about it.
I am thinking about hosting a Google Hangout to collaboratively learn about it.
Line 30: Line 120:
2012 DEC 24
2012 DEC 24


Let's say I want a map of Corvallis, and I want these layers.
Let's say I want a map of Benton County, and I want these layers.


* Centerlines
* Centerlines
Line 37: Line 127:
* Parcels
* Parcels
* Parks
* Parks
* Hydro
* Rivers


It would be nice to drop the OregonExplorer air photo in there as a base layer.
It would be nice to drop the OregonExplorer air photo in there as a base layer.


I happen to have all this in PostGIS. Instead of trying to move it all to FGDB format I think I will
=== Gather together data ===
try using WMS as a start today.
 
For now I am going to drop my random collection of Benton County GIS data into a folder and try to use it.
 
On dart:
sudo mkdir -p /workspace/OR/BentonCounty
sudo chown -R bwilson /workspace/OR
 
On kilchis:
cd /g/GISData
rsync --av -exclude \*.zip OR/BentonCounty/ dart:/workspace/OR/BentonCounty
 
=== Now how do I see that in the server? ===
 
Instructions: [http://resources.arcgis.com/en/help/main/10.1/index.html#//01550000058s000000%7C10.1 ArcGIS 10.1 for Server Help], "How to publish a service"
 
Immediately they want me to use an ArcMap document. They also say "About connecting to ArcGIS Server in ArcGIS for Desktop". So far I am not liking this. I don't want to be forced train Geo-CEG clients to be ArcGIS Desktop users.
Pressing on. I now have to go set up ArcGIS 10.1 For Desktop in a Virtual Machineand that's all I will have time for today.
 
[[Category: ArcGIS/Opensource knockdown]]
[[Category: GIS]]

Latest revision as of 18:43, 19 October 2019

The information on this page is badly out-of-date.
This page describes a system that is no longer in production or has drastically changed, and needs to be updated or rewritten

Some time (years now) ago they changed the name from ArcGIS Server (AGS) to ArcGIS Enterprise (AGE) and now "ArcGIS Server" is a component in AGE.

Here are my notes from the AGS days. Probably best to go here: ArcGIS Enterprise.

January 2014

06 Jan 2014

Somewhere in the last year the 10.1 server stopped working. I am going to install 10.2 anyway.

Also I am going to set it up to store data in PostgreSQL.

07 Jan 2014

In preparation for ArcGIS 10.2, I did updates ("yum update") I had to remove pgadmin3 and php packages since they depend on the libpq package that I removed to install the bespoke PostgresSQL/PostGIS. I don't need pgadmin3 because I don't run it on the console anyway. I use it on client machines. I am not sure why the php thing was installed, probably just against future need. Hopefully wiki.geo-ceg.org does not need it...

Specifically I did this:

rpm -e php-pgsql php-ZendFramework-Db-Adapter-Pdo-Pgsql
rpm -e pgadmin3_92-1.16.1-4.rhel6.x86_64
yum update
reboot

Last year

11 Feb 2013

Working the open source side this week. Loading data into PostGIS and publishing it. I got distracted last week when I decided I'd spend some time trying to organize my data. I want to press on so i am not going to invent anything clever this afternoon.

I am trying to build a base map. I will continue adding pages to the Open source section from the last session 21 Jan... Actually I have already written on most of those topics so I linked to existing pages.

The data that I put into the ArcGIS map included:

  • railroads
  • highways (red lines)
  • rivers (blue lines)
  • state parks (green polygons with transparency)
  • city limits (tan polygons) labelled when zoomed in
  • counties (polygons)

I symbolized the counties 2 ways, as a border line at < 100K and as colorful polygons >= 100K, with labels when zoomed out

I will show some details on the loading into PostGIS, here

21 Jan 2013

Last week we decided to compare what it takes to get the same map up and running, one in ESRI using ArcGIS and one in open source using PostGIS, Geoserver, and Openlayers.

Working on creating the ESRI basemap.

I had some data stashed already that I can use, a file geodatabase that's a few years old. I built it with ArcGIS 9.3. FGDB has come a long way since then. My first step therefore was to open it in ArcCatalog and use the "Update" button to convert it to 10.1 format... continued in Creating a basemap in ArcGIS Desktop.

I decided to start breaking this topic out into separate pages... something like this.

Here is the proposed list of pages, so far.

ESRI ArcGIS

With ESRI we've made it to step 4.

  1. Setting up ArcGIS For Server on Linux
  2. Creating a basemap in ArcGIS Desktop
  3. Publishing the basemap as a service
  4. Consuming the service in ArcGIS Online
  5. Creating a stand-alone web map using ArcGIS Server

Openlayers

With open source we have steps 1 and 2 done so far.

  1. Setting up PostGIS: How I went about setting up PostGIS is covered in detail here: PostGIS
  2. Setting up GeoServer: See this page GeoServer
  3. Loading data into PostGIS
  4. Publishing data with GeoServer
  5. Creating the web map using Openlayers

2013 Jan 14

Got Christian set with OpenVPN to access the Geo-CEG server (dart).

Started work on a map to use (step 1 below)

2012 Dec 24

I am thinking about hosting a Google Hangout to collaboratively learn about it. It will be 4-5pm PST Mondays if it happens. I have the Hangout open right now as a test.

Overview

  • I am working with ArcGIS For Server 10.1
  • I have installed it on a CentOS 6.2 server.
  • I am using an EDN developer license.

The to-do list

I will probably use the Benton Solar Map as a test project here. Funny since it was just Winter Solstice and it's very dark and rainy today!

  1. Put together a basic web map.
  2. Add a marker layer.
  3. Allow updates to the marker layer.
  4. I know there used to be several options ie Flex vs Javascript. What are the options now?
  5. ESRI suggests that File Geodatabases are good enough for many applications and may even perform better than ArcSDE based geodatabases. COMPARE
  6. Can I do real GIS work on an ArcGIS Server?
    1. For example, can I upload and run models to do geoprocessing jobs? I mean, does it really work?
    2. What about just running Python scripts without invoking the evil Model Builder?
  7. Can I use PostGIS and ArcGIS Server together smoothly? Or are the rough edges just not worth it?

Basic Web map

2012 DEC 24

Let's say I want a map of Benton County, and I want these layers.

  • Centerlines
  • Railroads
  • Building footprints
  • Parcels
  • Parks
  • Rivers

It would be nice to drop the OregonExplorer air photo in there as a base layer.

Gather together data

For now I am going to drop my random collection of Benton County GIS data into a folder and try to use it.

On dart:

sudo mkdir -p /workspace/OR/BentonCounty
sudo chown -R bwilson /workspace/OR

On kilchis:

cd /g/GISData
rsync --av -exclude \*.zip OR/BentonCounty/ dart:/workspace/OR/BentonCounty

Now how do I see that in the server?

Instructions: ArcGIS 10.1 for Server Help, "How to publish a service"

Immediately they want me to use an ArcMap document. They also say "About connecting to ArcGIS Server in ArcGIS for Desktop". So far I am not liking this. I don't want to be forced train Geo-CEG clients to be ArcGIS Desktop users. Pressing on. I now have to go set up ArcGIS 10.1 For Desktop in a Virtual Machineand that's all I will have time for today.