Select to view content in your preferred language

Raster publishing with ARcgGIS Viewer for Flex?

3115
3
Jump to solution
06-29-2013 11:48 PM
RokCiglic
Deactivated User
Hi!
I'm a new user of ArcGIS for Server. I'd like to publish several raster layers (tif or similar) and some shape files.
I uploaded the data to my server and I've decided to publish it with Viewer for Flex. When I started to work with Flex I noticed that I cannot add raster (tif files) to my application.
Is there any way to publish tif files? If not, what kind of options do I have? Silverlight?

Thanks for any adivce!
Rok
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RokCiglic
Deactivated User
this is the answer from http://gis.stackexchange.com/:
You need to publish separate map services for each of your rasters layers. One for your DEM. One for NDVI. You should cache them for better performance. Then in your config file for flex, add your RESt endpoints to these services as operational layers.

it works:)

View solution in original post

0 Kudos
3 Replies
BjornSvensson
Esri Regular Contributor
Is there any way to publish tif files?

You would "publish" a service using ArcGIS Server, then you can use that service within your Flex application.

http://resources.arcgis.com/en/help/main/10.1/#/Approaches_for_publishing_services_with_ArcGIS/01540...
0 Kudos
RokCiglic
Deactivated User
this is the answer from http://gis.stackexchange.com/:
You need to publish separate map services for each of your rasters layers. One for your DEM. One for NDVI. You should cache them for better performance. Then in your config file for flex, add your RESt endpoints to these services as operational layers.

it works:)
0 Kudos
RhettZufelt
MVP Notable Contributor
Just so you know, you do not need a separate service for each raster.

Sure, if you want to pull each one in as an individual layer.  However, you could put all of your rasters in a single map document and publish.  then just add the REST endpoint to that service and you will see all the rasters with a checkmark in front of them to turn on/off in the FV app.

Just depends on what your final outcome/useage is.

R_
0 Kudos