Select to view content in your preferred language

data sources for testing and identifying

1454
8
12-06-2010 05:39 AM
JayKappy
Frequent Contributor
I am tryign to find additional data sources for testing my app....
that and sources to test identify etc against...
The ESRI example has these:

        Dim identifyTask2 As New IdentifyTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/" & "Demographics/ESRI_Census_USA/MapServer")

Where can I fidn different ones to test against....

Thanks
0 Kudos
8 Replies
JayKappy
Frequent Contributor
I tried this and it does not seem to work

Dim identifyTask2 As New IdentifyTask("http://services.arcgisonline.com/ArcGIS/rest/services/" & "Demographics/USA_Recent_Population/MapServer")
0 Kudos
DominiqueBroux
Esri Frequent Contributor
http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Recent_Population/MapServer doesn't seem a live service for now.

If you browse from http://services.arcgisonline.com/ArcGIS/rest/services , you can find the argisonline map services and test with one of them by copying the URL to your program (e.g. http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Recent_Population_Change/MapS...)
0 Kudos
JayKappy
Frequent Contributor
I GUESS I am having two issues....one just getting some more data in my map...
And 2 getting additional sources for identify...

FIRST adding another data source.....

I went here
http://services.arcgisonline.com/ArcGIS/rest/services

Then scrolled down and clicked World_Topo_Map
Then Clicked "Places Names (Country Level) (6)"

This game me this URL:
http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/6


services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/6

I then tried to do this in my Map, BUT NOTHING shows up....there is no map for this....Why cant I simply get a new layer displaying in my application....

Ex. 1
<esri:ArcGISTiledMapServiceLayer ID="WORLD" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" /> 


Ex. 2
<esri:ArcGISTiledMapServiceLayer ID="WORLD" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/6" /> 
0 Kudos
JayKappy
Frequent Contributor
For soem reason the last one I tried....(My last post) did NOT work

but this one does:
<esri:ArcGISTiledMapServiceLayer ID="World Income" Opacity="0.6" Url="http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_MedianIncome_US_2D/MapServer"/>                   

Am I doing something wrong?
0 Kudos
JayKappy
Frequent Contributor
I sort of seperated my two thoughts into two different entries...

THis one needs to work on getting the data sources simply drawn on the map....for seom reason a bunch are not drawing...http://services.arcgisonline.com/ArcGIS/rest/services

Ex. The World_Topo_Map

I started another entry specifically on my Identify issues..

Thanks and sorry for the confusion....
0 Kudos
JenniferNery
Esri Regular Contributor
Do you get this error when you add the layer index to the service URL?

"ArcGISTiledMapServiceLayer does not support Multi-Layer Caches. Use an ArcGISDynamicMapServiceLayer instead or create a single fused cache."

This error is expected. http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISTile...

You might want to visit this help page to learn more about the differences in the layers.
http://help.arcgis.com/en/webapi/silverlight/help/index.html#//016600000019000000.htm
0 Kudos
JayKappy
Frequent Contributor
Thank you very much.....yea I agree I need more work.....but sort of learn as you go....the link for more info is appreciated...

http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer

One last question....I viewed this page (link above) where the info for the World Topo is...I am not seeing on there where to determine of its an ArcGISDynamicMapServiceLayer or ArcGISTiledMapServiceLayer...


Do you get this error when you add the layer index to the service URL?

"ArcGISTiledMapServiceLayer does not support Multi-Layer Caches. Use an ArcGISDynamicMapServiceLayer instead or create a single fused cache."

This error is expected. http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISTile...

You might want to visit this help page to learn more about the differences in the layers.
http://help.arcgis.com/en/webapi/silverlight/help/index.html#//016600000019000000.htm
0 Kudos
DominiqueBroux
Esri Frequent Contributor
I viewed this page (link above) where the info for the World Topo is...I am not seeing on there where to determine of its an ArcGISDynamicMapServiceLayer or ArcGISTiledMapServiceLayer...

If in the definition there are 'Tile infos' you can use both services else you can only use ArcGISDynamicMapServiceLayer.

In you example, there are tiles, so you can use both (but ArcGISTiledMapServiceLayer recommended for taking advantage of the browser cache)

Tile Info:



  • Height: 256

  • Width: 256

  • DPI: 96

  • Levels of Detail: (# Levels: 20)


    • Level ID: 0 [Start Tile, End Tile]


      • Resolution: 156543.033928

      • Scale: 591657527.591555

      • .............

0 Kudos