Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSGeo4w 2.2 build missing ECW support #18629

Closed
qgib opened this issue May 4, 2014 · 8 comments
Closed

OSGeo4w 2.2 build missing ECW support #18629

qgib opened this issue May 4, 2014 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented May 4, 2014

Author Name: Nathan Woodrow (@NathanW2)
Original Redmine Issue: 10175
Affected QGIS version: 2.2.0

Assignee: Jürgen Fischer


Seems the ECW support no longer works in the 2.2 build of OSGeo4W (32) bit. Might be related to the 1.11 GDAL update as 2.2 is still on 1.10. Not sure but just guessing as ECWs work in qgis-dev.

@qgib
Copy link
Contributor Author

qgib commented May 4, 2014

Author Name: Jürgen Fischer (@jef-n)


QGIS 2.2 is built against GDAL 1.10.


  • status_id was changed from Open to Closed
  • resolution was changed from to up/downstream

@qgib
Copy link
Contributor Author

qgib commented May 5, 2014

Author Name: Nathan Woodrow (@NathanW2)


And we can't have both gdal plugin versions installed? Is that correct?

@qgib
Copy link
Contributor Author

qgib commented May 13, 2014

Author Name: Jürgen Fischer (@jef-n)


See also http://trac.osgeo.org/osgeo4w/ticket/417

@qgib
Copy link
Contributor Author

qgib commented May 19, 2014

Author Name: Miroslav Umlauf (@mirouml)


Does this link from QGIS FAQ helps as workaround before the whole problem will be solved? http://www.faunalia.com/content/adding-ecw-support-quantum-gis

@qgib
Copy link
Contributor Author

qgib commented May 20, 2014

Author Name: Giovanni Manghi (@gioman)


Miroslav Umlauf wrote:

Does this link from QGIS FAQ helps as workaround before the whole problem will be solved? http://www.faunalia.com/content/adding-ecw-support-quantum-gis

it should work, but use this

http://www.gisinternals.com/sdk/Download.aspx?file=release-1600-gdal-1-10-1-mapserver-6-4-1\\gdal-110-1600-ecw.msi

@qgib
Copy link
Contributor Author

qgib commented May 20, 2014

Author Name: Miroslav Umlauf (@mirouml)


Thank you. I have installed that msi but there is only gdal_ECW_JP2ECW.dll (no libecwj2.dll). Also gdal_ECW_JP2ECW.dll is already in folder C:\OSGeo4W64\bin\gdalplugins.

Update: On Win 8/32 and OSGeo4W, QGIS 2.2 it works. After installing http://www.gisinternals.com/sdk/Download.aspx?file=release-1600-gdal-1-10-1-mapserver-6-4-1\\gdal-110-1600-ecw.msi I took the C:\Program Files\GDAL\NCSEcw.dll and C:\Program Files\GDAL\gdalplugins\gdal_ECW_JP2ECW.dll and overwritten existing dlls in C:\OSGeo4W\bin\NCSEcw.dll and C:\OSGeo4W\bin\gdalplugins\gdal_ECW_JP2ECW.dll.

After some more testing only the C:\OSGeo4W\bin\gdalplugins\gdal_ECW_JP2ECW.dll is needed to replace on Win 8/32.

On Win 7 64 it is needed to download http://www.gisinternals.com/sdk/Download.aspx?file=release-1600-x64-gdal-1-10-1-mapserver-6-4-1\\gdal-110-1600-x64-ecw.msi and copy the C:\Program Files\GDAL\gdalplugins\gdal_ECW_JP2ECW.dll to C:\OSGeo4W64\bin\gdalplugins\gdal_ECW_JP2ECW.dll

@qgib
Copy link
Contributor Author

qgib commented May 20, 2014

Author Name: Jürgen Fischer (@jef-n)


This is not a qgis problem - hence I closed the ticket. QGIS 2.2 in OSGeo4W is built against GDAL 1.10. OSGeo4W moved on to GDAL 1.11. There is a compatibility package that provides GDAL 1.10 that QGIS 2.2 uses, but that doesn't extent to the plugins. qgis-dev (the master build) is built against GDAL 1.11.

If you need QGIS with GDAL plugins, you can still use the standalone installer for 2.2 (it has GDAL 1.10) or qgis-dev. Downgrading GDAL and it's plugins to 1.10 in OSGeo4W is also an option - but that will likely break qgis-dev.

@qgib
Copy link
Contributor Author

qgib commented Jun 17, 2014

Author Name: Andre Joost (Andre Joost)


I wrote a workaround here:

http://gis.stackexchange.com/questions/102193/how-to-change-gdal-version-in-qgis-to-get-ecw-import-to-work

Downgrading the ecw driver in OSGEO4W still works.

QGIS 2.4 should solve the problem anyway.

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib added this to the Version 2.2 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant