Hi,
I have an error message when I open a rasterLayer Jp2 or ecw (ie. screen shot) like this
if (!rasterRasterLayer.IsOpen) rasterRasterLayer.Open();
Can you tell me where the problem may come from, please?
Thank you
Regards.
Steph
Hi,
I have an error message when I open a rasterLayer Jp2 or ecw (ie. screen shot) like this
if (!rasterRasterLayer.IsOpen) rasterRasterLayer.Open();
Can you tell me where the problem may come from, please?
Thank you
Regards.
Steph
Hi Step,
Just like the exception mentioned, it looks you need to install the package https://www.nuget.org/packages/MapSuiteDependency-LizardTechMrSid/11.0.0-beta003
But in fact if you installed this package it’s enough: https://www.nuget.org/packages/ThinkGeo.MapSuite.Layers.Jpeg2000/11.0.0-beta018
And for ecw you should want to installed the:
Then you can use the special layer to render jp2 and ecw file.
Regards,
Ethan
Hi Ethan,
Thanks for your help.
What’s odd is that I did not have a problem with my workstation with version 10.2.5.
I updated a project by updating the nuget package from 10.2.5 to 10.4.1 and I had this problem.
I made a version rollback by re-switching to 10.2.5 (thinking that this would solve my problem) but I still have the problem …
Our nuget packages are managed in package reference format
How do I know which unmanaged dlls are called?
Thanks
Regards.
Steph
Hi Steph,
I guess you use Nuget package by the plugin of VS, and sometimes it have strange problem in certain scenario.
So that’s why I suggest you just remove at the first then install target package again, instead of use the “update” operation.
Because when install the package, some scripts will run.
So please try to remove package 10.4.1 then install package 10.2.5 and let me know whether it works for your project.
Regards,
Ethan