Solved! Go to Solution.
I'll try this out and let you know how it went.
Hi there,
I've been trying to use my own basemap in flexviewer.
I've a raster layer but after I've done some researched I found out that a raster layer could not be used as a basemap.
Only dymanic, wms, tiled, image and arcIMS layers are supported to use as basemap.
Then I've tried this link: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00530000000v000000
But as a service it still shows the data type as raster layer.
My question is: what can I do with my data (which is raster) to yet use it as a basemap.
thank you
Hi Eric,
Thanks for your reply, i appreciate it.
I meant raster dataset.
I 've made a service of it then "cached" it using the example of the link I've posted earlier.
But when I type: myserver/arcgis/rest/services I see the following:
[ATTACH=CONFIG]12955[/ATTACH]
The type layer stays raster 😞 :confused:
I've tried changing the type in the config.xml file to tiled, but it gives me an error:
Satelite layer failed to load: Fault code: null
Fault info: E0005E: Invalid tile service: http://myserver/ArcGIS/rest/services/DEMOS/Setar_Sat_2011/ImageServer
Fault details: null
So my question is what am i doing wrong?
Thank U
David
David,
It appears that you published the wrong type of map service...you need a rest endpoint like this:
http://gis-srv3.village.gurnee.il.us/ArcGIS/rest/services/Aerial_1939/MapServer
With MapServer at the end.
Hope this helps.
Eric
David,
One other thing....here is my procedure for creating a map service that contains aerial imagery:
1) I add the imagery into an mxd
2) Save it as an msd
3) Publish this msd as a service in ArcGIS Server (Map Service)
4) Cache the service
I'll try this out and let you know how it went.
Hi Eric,
For the first time I was able to see my own basemap in FLEX, following your suggested steps. 🙂 (progress, getting there)
But not as type "tiled" but as "dynamic" though.
Is there something maybe that I've missed out on. Because the performance of my own current basemap is slow.
When I pan to a new area it takes a while to display.
Another question, do I need to specify a new cache directory everytime i make a new basemap?
David