Own data in landscape modeler

4502
4
08-28-2014 12:12 AM
VictorEstevez1
New Contributor

Hi everyone!

I'm trying to load my own services following the steps of http://resources.arcgis.com/en/help/landscape-modeler/prepare-data/#/Creating_the_mosaic_dataset_for...

But i'm sticking here
1.jpg

I dont know where is the problem.
I'm trying different ways but...the same issue appears

I cant get the same configuration in the function chain.
2.jpg

Perhaps my mosaic dataset is wrong...

3.jpg
I'm dont know what else can i do.

Thank you for your time.

0 Kudos
4 Replies
RobertStauder
Occasional Contributor

Hi Victor,

Try this (working backwards from the app):

  1. Open the config.js file for the landscape modeler web app.
  2. Verify that the variable weightedOverlayServiceUrl points to your hosted mosaic image layer - Browse to the URL referenced by the variable. The URL should be something like this - http://your-arcgis-server/arcgis/rest/services/your-mosaic/ImageServer
  3. In the REST items details, check for RasterFunction Infos  - there should be two listed: (1) WeightedOverlay_7_0_9_histogram; (2) WeightedOverlay_7_1_9_colormap.
  4. In addition to all the fields in the mosaic, verify that you have all of these:
    • Title ( type: esriFieldTypeString , alias: Title , length: 50 )
    • Url ( type: esriFieldTypeString , alias: URL , length: 1024 )
    • InputRanges ( type: esriFieldTypeString , alias: Input Ranges , length: 256 )
    • OutputValues ( type: esriFieldTypeString , alias: Output Values , length: 256 )
    • NoDataRanges ( type: esriFieldTypeString , alias: NoData Ranges , length: 256 )
    • RangeLabels ( type: esriFieldTypeString , alias: Range Labels , length: 1024 )
    • NoDataRangeLabels ( type: esriFieldTypeString , alias: NoData Range Labels , length: 1024
  5. The field names, aliases, types, and lengths should match exactly. Double check against the doc here.
  6. Remove the overview images from the mosaic - Either create a new mosaic (and don't create overviews), or delete them. Alternatively, in config.js, you can set the queryParameters object where statement to remove the overviews from processing.
  7. Since your mosaic is stored in an eGdb, verify that ArcGIS Server can actually access it - just try to view it.
  8. Make sure you have the ArcGIS Server image extension installed (you probably do).
  9. Regarding the function chains - they are used to handle no data values in the weighted overlay process. First get your widget to display the correct layer names (from the title field in the mosaic). Then verify that the Range Labels display in the widget (from the RangeLabels field). Once you can do this, then handle no data by either: (1) using the function chains OR; (2) using the Raster Calculator to calc the no data values to another value. If you read the comments in config.js, note the comments around dummyRasterId:
    • This should be the OBJECT ID of a raster that is continuous for the entire extent of the service (ie does not have any NoData cells)
VictorEstevez1
New Contributor

Hi!

Thank you very much for your answer.

I will try this.

0 Kudos
VictorEstevez1
New Contributor

I have new issues...

I get the names of the service

1.PNG

But, if i run the model it doesn't show anything and in the developer mode i get this

2.PNG

My data has the correct coordinate system and i can load the service in arcgis online

3.PNG

Again, Thank you for your time.

0 Kudos
VictorEstevez1
New Contributor

Hi!!

Once Again thank you for your help!

This is the final result 

0 Kudos