Select to view content in your preferred language

overlay raster image on map

839
3
05-08-2012 06:39 AM
wan_mohd_shariffuddinwan_mohd_
Deactivated User
hye all...

i need help, i have application using flex viewer, the question is, how i can overlay my raster image into map in flex using operational layer..or if any solution that i can overlay raster image when i click layer than raster image show on map..

i have mxd file that contain raster layer that in make the mxd as services..

i really need help...

thanks in advance
Tags (2)
0 Kudos
3 Replies
AnthonyGiles
Honored Contributor
budinz,

You can add your raster map by publishing your mxd as a service, then add the service as another operational layer using:

<layer label="layer name" type="dynamic" visible="true" url="url to rest endpoint"/>

If you find that your raster layer is slow to draw you can always create a cache on the service, you would then need to change the layer type to "tiled"

Regards

Anthony
0 Kudos
wan_mohd_shariffuddinwan_mohd_
Deactivated User
budinz,

You can add your raster map by publishing your mxd as a service, then add the service as another operational layer using:

<layer label="layer name" type="dynamic" visible="true" url="url to rest endpoint"/>

If you find that your raster layer is slow to draw you can always create a cache on the service, you would then need to change the layer type to "tiled"

Regards

Anthony


Anthony,

Thanks for reply, i try what u say, but nothing happen, the image not show on map..
this is my image rest service:

http://localhost/ArcGIS/rest/services/Perak/MapServer/6
Layer: 267341wgs.img (ID: 6)
Display Field:

Type: Raster Layer

Geometry Type:

Description:

Definition Expression:

Copyright Text:

Min. Scale: 0

Max. Scale: 0

Default Visibility: True
0 Kudos
AnthonyGiles
Honored Contributor
The rest endpoint you supplied is on your local host so it does not help us to try and see what is wrong.

A quick observation though both your minimum and maximum scales are set to 0.

Anthony
0 Kudos