ArcGIS Server Web ADF Samples and Code

November 19, 2008

Links to Samples and Code I have found for ArcGIS Server.  As I test the samples I will try to post reviews.  Let me know if you have tried any of the samples as well.

Code Gallery : ArcGIS Server Web ADF for the Microsoft .NET Framework

Access a data source specific API

GIS4 and Campus Download


USGS – Natural Hazards Support System (NHSS)

November 19, 2008

Map Service that shows current Natural Hazards around the USA.  Of particular interest is the “Weather Warnings”.

via USGS – Natural Hazards Support System (NHSS)


FEMA: Mapping Information Platform

November 19, 2008

The “NFHL” service provides access to most features in the NFHL and has map symbols that highlight flood hazards.

NFHL WMS Instructions

The URL for the WMS Capabilities file is:

http://hazards.fema.gov/wmsconnector/wmsconnector/Servlet/NFHL?REQUEST=GetCapabilities&SERVICE=WMS

The service responds to GetMap requests at the URL:

http://hazards.fema.gov/wmsconnector/wmsconnector/Servlet/NFHL?VERSION=1.1.1&REQUEST=GetMap&

followed by your WMS GetMap parameters that describe a particular map.

The service responds to GetFeatureInfo requests through the URL:

http://hazards.fema.gov/wmsconnector/wmsconnector/Servlet/NFHL?VERSION=1.1.1&EST=GetFeatureInfo&

followed by your WMS GetFeatureInfo parameters that describe a particular map, and the layer(s) and the location on the map for which the information is requested.

GIS software and web-based mapping applications that display images from a Web Map Service use these URLs to access the service. See the documentation for your software to learn the preferred method of adding a Web Map Service.

See the web site “Flood Data Symbology for Web Map Services” for the titles of layers, the names of the features they include, and the map symbols for the features.

FEMA released a new version of the NFHL WMS in early August 2008. The WMS now:

* Displays only the boundaries of “effective” Letters of Map Revision.

* Displays the case numbers of Letters of Map Amendment and Letters of Map Revision Based on Fill (at 1:32,000 scale and larger).

* Displays map layers in a more useful drawing order.

* Has new map symbols that provide better contrast when overlaid on aerial images.

* Provides layers that, when used together, create an image that shows flood hazard areas and areas for which there are no data in the NFHL.

* Provides images that match the map provided by the “e–z Print” function in the MapViewer – Web tool.

flood service

NOTICE: FEMA will withdraw the flood WMS from service on November 30, 2008. Users should change their applications to use the NFHL WMS to avoid an interruption in service.

via FEMA: Mapping Information Platform: NOPAGETAB_NFHLWMS


Hyperlinking in ArcGIS Server

November 17, 2008

Had trouble finding a solution for using hyperlinks in ArcGIS Server. Saw this post and I highlighted the section we were able to get working.

ArcGIS Server Blog : Hyperlinking in task results: “Hyperlinking in task results”

If you don’t want to add any custom code to your application, you can add a field to the feature class that stores the complete HTML for the hyperlink. You should include the tag, attributes, and text for the hyperlink, like this

: <a href=http://www.esri.com target=_blank>ESRI</a>

This is how it would look in the ArcMap table view:
Hyperlink HTML in ArcMap table view

This will create the following result in the ADF for a task result. You don’t have to do anything extra to create the link; the HTML gets interpreted automatically:

Task results with link to ESRI website Clicking this link will open http://www.esri.com.