Esri / weighted-raster-overlay-service-toolbox

Tools to help you setup a mosaic dataset to support fast, web-based suitability analysis
Apache License 2.0
23 stars 46 forks source link

Error msg when consuming the WRO Image service from the widget / app #27

Open gudeso23 opened 3 years ago

gudeso23 commented 3 years ago

Dear Community,

I have recently been using this tool, I was able to successfully publish an image service. However, when I am trying to consume this Image service and validating it < i receive the following error msg ( see attached snapshot) any suggestions on what I have done wrong?

As I can't attach the file, the screenshot of the error msg can be viewed here: https://www.dropbox.com/s/9a0hyprh5qizoy0/thumbnail_image004.png?dl=0

Thanks a lot, Ori

gudeso23 commented 3 years ago

Also, I had to overcome another issue of AGO Enterprise presenting non-data values of the image service, this was resolved by following these steps (I share this as I think might help others here):

I used the DefineMosaicDatasetNoData geoprocessing tool to achieve this.

The steps I followed in detail were:

From ArcGIS Pro, create a mosaic dataset in a the geodatabase. Added the 3 raster datasets to the mosaic dataset and ensure that the statistics and pyramids are build as part of the process. (There are checkboxes for these) Build overviews for the mosaic dataset. Analyse the mosaic dataset. Build pyramids for the mosaic dataset. Set the the no data value for the mosaic dataset (65536) Run the DefineMosaicDatasetNoData geoprocessing tool and set the noData value for ALL BANDS based of the previous calculation. Share the mosaic dataset as an imagery layer to the Enterprise Portal. Open the imagery layer in the Portal Map viewer. View the noData displays with no colour.

kennethWalton commented 3 years ago

Hi @gudeso23 , can you try loading the mosaic dataset in the "Update WRO Layer Info" and "Update WRO Layer Classification" Pro tools from this Github repo? image

Here's some doc on running these 2 tools: https://enterprise.arcgis.com/en/geoplanner/latest/documentation/create-a-mosaic-dataset.htm

Can you do the following to check the default resampling method?

  1. Right click on the mosaic dataset in the Catalog pane, select Properties image
  2. Click Defaults in left column
  3. For "Default Resampling Method", verify the value is set to "Nearest Neighbor"
gudeso23 commented 3 years ago

Dear Kenneth Walton

While trying to0 create a mosaic I get the eero:

aMapdoc' is not defined.

[cid:51308785-1acd-4950-af3a-9b6a65cb0575]

Regards Ori

Dr. Ori Gudes

Adjunct Senior Lecturer - School of Population Health | UNSW Medicine

Sessional Academic - UNSW Built Environment

My list of publications (as of June 2021): https://tinyurl.com/37yk22xm

Website: https://research.unsw.edu.au/people/dr-ori-gudes

A new online course: Introduction to Geographic Information Systems for Public Health; an open-source approach: https://www.udemy.com/course/gis-for-public-health/?referralCode=79581C293537FE6FC045 & https://www.youtube.com/watch?v=0wTcn7QJhTk&feature=youtu.be

UNSW SYDNEY NSW 2052 AUSTRALIA @.**@*.**@*.***>


From: Kenneth Walton @.> Sent: Sunday, 19 September 2021 10:19 PM To: Esri/weighted-raster-overlay-service-toolbox @.> Cc: Ori Gudes @.>; Mention @.> Subject: Re: [Esri/weighted-raster-overlay-service-toolbox] Error msg when consuming the WRO Image service from the widget / app (#27)

Hi @gudeso23https://github.com/gudeso23 , can you try loading the mosaic dataset in the "Update WRO Layer Info" and "Update WRO Layer Classification" Pro tools from this Github repo? [image]https://user-images.githubusercontent.com/15200654/133926841-9452cc7a-c7a5-41c2-af20-26776b52b575.png

Here's some doc on running these 2 tools: https://enterprise.arcgis.com/en/geoplanner/latest/documentation/create-a-mosaic-dataset.htm

Can you do the following to check the default resampling method?

  1. Right click on the mosaic dataset in the Catalog pane, select Properties [image]https://user-images.githubusercontent.com/15200654/133927094-baed53fe-c7ef-49cc-881f-f3401dbcd912.png
  2. Click Defaults in left column
  3. For "Default Resampling Method", verify the value is set to "Nearest Neighbor"

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Esri/weighted-raster-overlay-service-toolbox/issues/27#issuecomment-922464831, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG3MUJG6UF2FPAYPEKJZX4LUCXINBANCNFSM5EDTZSDQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kennethWalton commented 3 years ago

Hi @gudeso23, it looks like you may have replied through email, so I'm not able to see the screenshot you previously added. Are you able to post the screenshot in the Github issue?

Can you provide the following?

Can you verify there are raster layers in the Contents pane in Pro? I'm able to reproduce the error when there are no raster layers available in the Contents pane: image