11-25-2019 04:38 AM
Hi,
I have just installed the new ERDAS Apollo Client - Catalog Explorer. It works very fast - at first i was thinking that when i am adding to map my ecw file, it is added as a ecwp (but is still WMS - very fast).
When i noticed that i am using WMS instead of ECWP i have tried to add ecwp. For the given example (ecwp://demo-apollo.hexagongeospatial.com/SampleIWS/images/geodetic/bluemarble.ecw) it works fine - at least the image was displayed. But for my image it returs error - request failed.
My ECWP works fine in ERDAS Imagine 2020 so i guess it is set propoerly
ecwp://demo.intergraph.pl/Orto/RGB_2016.ecw
Is it a bug?
Solved! Go to Solution.
11-27-2019 05:26 AM
Hi,
It seems to be a bug, I have also an issue with ecwp and other layers, you could submit a support ticket for that.
This functionality might have bug(s) as it is still in an experimental phase:
12-23-2019 06:47 PM
Hi tmalej, I just tried to load ecwp://demo.intergraph.pl/Orto/RGB_2016.ecw, and looking at the console the error is:
Access to XMLHttpRequest at 'http://demo.intergraph.pl/erdas-iws/ecwp3.dll?cmd=0&v=1&layer=/Orto/RGB_2016.ecw' from origin 'http://trident-dev.luciad.com:8080' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value 'localhost'.
This makes me suspect that CORS is incorrectly configured on the server.
Unfortunately due to CORS being a security feature CORS failures areren't reported to the application, the only way to check them if via opening the console.
The header sent was:
Access-Control-Allow-Origin: localhost
So this should work if you change your CORS setting to '*' or the serer name.
Also I know this feature is marked as being in an experimental phase, but don't let that dissuade you from reporting bugs. Everything should work, it's more that some features aren't implemented yet, and browser support is limited.
Tim.
09-01-2020 06:16 AM - edited 09-01-2020 06:16 AM
Hi,
I am refreshing the topic as we have already Catalog Explorer v2.
I have already set the CORS properly - for today the external link demo.intergraph.pl is not available but i have tried to use ECWP on local machine using localhost - still not working. (It still working fine in ERDAS Imagine)
Does anyone has working ECWP service? - except demo-apollo.hexagongeospatial.com
Regards,
Tomek
09-09-2020 02:28 PM
Got "request failed" error when request ECW @ CE->DATA->ECWP->Endpoint URL. I use the latest CE 1.0.0.1299
Looks like a bug.
Please log a bug againt CE or Apollo.
best
Qu
09-10-2020 12:47 AM
Hi Haiyan,
After Tim suggestions (on email) I have found that there is still CORS problem.
Access to XMLHttpRequest at 'http://war-hsiv-papoll/erdas-iws/ecwp3.dll?cmd=0&v=1&layer=/Orto/RGB_2016.ecw' from origin 'http://war-hsiv-papoll:8080' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'localhost, *', but only one is allowed.
This need to be fixed first.
I will let you know about the results.
Regards,
Tomek
09-10-2020 05:11 AM
Hi,
The solution that works for me:
Thanks everyone for help
Tomek
09-10-2020 06:18 AM
Hi Tomek,
Thanks so much for the update.
My situation is little different.
In my CE 2.0 instance, there is no error in CE console.
But after click on "Get Information" button, it kept "Loading..."
I unchecked "Enable CORS" option, and added "Access-Control-Allow-Origin *" to IIS->Default Web Site->HTTP Response Headers.
The same ECWP can be opened in IMAGINE without issue.
09-10-2020 06:24 AM
Ye, it`s different.
Anyway for me now WMS works much faster than ECWP which is a little bit suprising.
I rember that in Geospatial Portal in 2016 ECWP was super fast.
Tomek
09-10-2020 11:15 AM
Yes, ECWP browser plug-in was super fast.
But nowdays morden browser dropped plug-in support, so no more ECWP browser plug-in.
best
haiyan