Thursday, June 18, 2009

Webmap of US Oil and Gas Production

The USGS Energy Resources Program recently upgraded the US Oil and Gas Production map service for use in their new web mapping platform called Envision which is based on the ArcGIS Server Sample Flex Viewer. The ERP is actively updating the system to deliver all legacy map services and has recently upgraded the US Oil and Gas Production map (By Laura R.N. Biewick USGS DDS 69-q)

Friday, June 12, 2009

Interesting MTB Routes (South Denver)

I have been a recreational MTB cyclist for a long time. Some of my buds are crazy in the cycling world ( but I never could get into it at that level. Not knocking it because guys like @skinnerchris can ride freakishly. Its just not in my DNA.

Anyhow, check out a couple of these routes. These are by no means my favorites but represent those that are not mentioned online much. My favorites have been ridden like mad and have been documented well.

Route 1: In Highlands Ranch. Brand new trails. Not much climbing. Not many people. Smooth, non-technical, leisurely (Hope this crappy GM works. Should show actual trail).

View hr route 1 in a larger map

Route 2: Private property (residents only). Great range. Technical, climbing, private. Got to have an "in" to use these particular trails. Heavy Security by local rangers.

View Ranch Loop in a larger map

Monday, June 1, 2009

ArcGIS Server Sample Flex Viewer: Adding ArcIMS Image Map Service Support

Adding ArcIMS image map service support to the Sample Flex Viewer (SFV) is rather simple and handy for those of you who might have loads of legacy services that might not make the AGS migration any time soon. It is simply a matter of extending the ConfigManager class and MapManager class. You will then need to make a slight modification to any ArcIMS elements in the config.xml file.

Extend the ConfigManager class by adding the following:


var configMap:Array = [];

var mapserviceList:XMLList = configXML..mapservice;

for (i = 0; i < mapserviceList.length(); i++)


var msLabel:String = mapserviceList[i].@label;

var msType:String = mapserviceList[i].@type;

var msVisible:Boolean = true;

if (mapserviceList[i].@visible == "false")

msVisible = false;

var msAlpha:Number = 1;

if (!isNaN(mapserviceList[i].@alpha))

msAlpha = Number(mapserviceList[i].@alpha);

//retrieve newly added arcims service host attribute from map service entry

var msHost:String = mapserviceList[i].@host;

var msURL:String = mapserviceList[i];

var mapservice:Object =


label: msLabel,

type: msType,

visible: msVisible,

alpha: msAlpha,

url: msURL,

//add newly added host attribute to mapservice object for ArcIMS Map Services

host: msHost




Continue by extending the MapManager class as follows:

for (i = 0; i < configData.configMap.length; i++)


var label:String = configData.configMap[i].label;

var type:String = configData.configMap[i].type;

var url:String = configData.configMap[i].url;

var visible:Boolean = configData.configMap[i].visible;

var alpha:Number = Number(configData.configMap[i].alpha);

//new variable for collecting host attribute for arcims services

var host:String = configData.configMap[i].host;

switch (type.toLowerCase())


case "tiled":


var tiledlayer:ArcGISTiledMapServiceLayer = new ArcGISTiledMapServiceLayer(url); = label;

tiledlayer.visible = visible;

tiledlayer.alpha = alpha;




case "dynamic":


var dynlayer:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(url); = label;

dynlayer.visible = visible;

dynlayer.alpha = alpha;




case "arcims":


var arcimslayer:ArcIMSMapServiceLayer = new ArcIMSMapServiceLayer(host,url) = label;

arcimslayer.visible = visible;

arcimslayer.alpha = alpha;

arcimslayer.imageFormat = "jpg"






The entry for the config.xml file would then be something like this:

<mapservice label="2008 Province 31 Assessment" type="arcims" visible="false" alpha="0.7" host="">prov31_2000</mapservice>

where the value of the element is the map service name. One thing to keep in mind with this is that some of the FLEX api features are not supported for ArcIMS image map services including the identify task. There is also some info on this in the ESRI user forums that may also be helpful.