Select to view content in your preferred language

Getting rasters from ImageServer.

4032
3
02-03-2015 01:03 AM
NachoMiralles1
Deactivated User

Hi All,

I'm starting using the REST API and the Javascript and I'm full of doubts.

I have a REST Service as an ImageServer.

http://ermes.dlsi.uji.es:6080/arcgis/rest/services/Italy_NDVI_avg_2000_2013/ImageServer

I'am trying to access to the different rasters this image should have by using i.e.;

"fids" : [1]

or

"fids" : [12]

But I allways recieve the same image.

I suppose I'm missunderstanding something, but i can't discover what it is.

Than you in advance,

Nacho.

Tags (2)
0 Kudos
3 Replies
by Anonymous User
Not applicable

Hi Nacho - From your rest endpoint you can view the service in different ways (see the 'View In' links across the top of the screen). When I opened it as an arcgis.com map I only saw one NDVI layer. What layers/rasters were you expecting? Or are you trying to access particular tiles that constitute the image?

NachoMiralles1
Deactivated User

Hi Sarah,

I'm not sure what I'm actually receiving because the service is provided by a third party. But I'm expecting a mosaic with diferent rasters.

Thank you!!

0 Kudos
by Anonymous User
Not applicable

Are you accessing them using the ArcGIS JavaScript API? Trying adding it as an Image Service layer: ArcGISImageServiceLayer | API Reference | ArcGIS API for JavaScript

0 Kudos