Hello, I still was not able to get ECW / MRSID working so I decided to try to start from the beginning. I have a couple questions about your steps, and I am not sure if I should always use the 64 bit versions to match my OS, or if I should use 32 bit versions to match GeoServer.
Thank You #1) Install Java - Should I install 1.7 or 1.8, and does it matter if I install 32 bit or 64 bit? #2) Install GeoServer, make sure it is set to run as a service. #3) Install GDAL extension to C:\Program Files (x86)\GeoServer 2.6.3\webapps\geoserver\WEB-INF\lib #4) make sure you have no others GDAL versions around on your PATH. #5) extract all GDAL DLLs on a folder and set your PATH env variable to refer that folder. >What exact DLLs are you referring to? >What directory should I put these in? C:\GDAL? #6) extract the ECW/MRSID plugins on a folder, then copy them to C:\GDAL >On this step I assume this should be GDAL-19-1600-x64-ecw.msi and >GDAL-19-1600-x64-mrsid.msi from >http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.10/native/gdal/windows/MSVC2010/? > By default they install to program files. It sounds like I can copy the >contents of the folder and place them into the same directory as the previous >step. >Is there a good place to figure out what MSVC version I need for a particular >OS? I may also repeat these steps for Windows 7, Windows Server 2008. >Does it matter if I install the 32 or 64 bit versions? #7) extract the gdal_data.zip on a folder and set a GDAL_DATA env var against that folder. >I assume that the contents of >http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.10/native/gdal/ > should be placed in C:\GDAL_DATA is that correct? #8) since you are running GS as a service, check the bin/wrapper/wrapper.conf of your GeoServer installation and make sure to add a wrapper.java.library.path.2=path/to/the/GDAL/DLLs/folder after the path.1 line > At first this crashed Geoserver. What folder and format should I map to such > as wrapper.java.library.path.2=C:\GDAL #9) Add path variables PATH=C:\GDAL;C:\GDAL_DATA #10) set an environment variable GDAL_DRIVER_PATH=C:\GDAL… Is this redundant to step #9? Sincerely, Mark Volz, GISP Lyon County GIS Coordinator From: [email protected] [mailto:[email protected]] On Behalf Of Daniele Romagnoli Sent: Thursday, May 28, 2015 3:37 AM To: Per Söderström Cc: [email protected]; Mark Volz Subject: Re: [Geoserver-users] MrSID and ECW files in GeoServer - Issues installing GDAL in Windows Hi Mark, I think the crucial steps are: #1) make sure you have no others GDAL versions around on your PATH. #2) extract all GDAL DLLs on a folder and set your PATH env variable to refer that folder. #3) extract the ECW/MRSID plugins on a folder and set a GDAL_DRIVER_PATH env variable to refer that folder. (if you prefer, you can extract these libs on same place as #2 but you need to specify GDAL_DRIVER_PATH in any case). #4) extract the gdal_data.zip on a folder and set a GDAL_DATA env var against that folder. #5) since you are running GS as a service, check the bin/wrapper/wrapper.conf of your GeoServer installation and make sure to add a wrapper.java.library.path.2=path/to/the/GDAL/DLLs/folder after the path.1 line Even before starting GS, I would also run the javainfo/gdalinfo.bat script against one of your sample files to check if everything is properly configured. (That script is available in the GDAL zip archive you downloaded). Hope this helps. Cheers, Daniele On Thu, May 28, 2015 at 8:48 AM, Per Söderström <[email protected]<mailto:[email protected]>> wrote: Hi, See post from Apr 30, 2013 in http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-td5047711.html. That helped me. Comment on point 4: After installing .msi, copy all the files from C:\ProgramFiles\GDAL\* to C:\GDAL I also coiped gdal_ECW_JP2ECW.dll from C:\GDAL\gdalplugins to C:\GDAL Hope it helps! Regards, Per Från: Mark Volz [mailto:[email protected]<mailto:[email protected]>] Skickat: den 27 maj 2015 15:18 Till: [email protected]<mailto:[email protected]> Ämne: [Geoserver-users] MrSID and ECW files in GeoServer - Issues installing GDAL in Windows Hello, I am trying to enable MrSID and ECW for GeoServer on a Windows 8 64 bit machine. I thought that I followed all the steps on http://docs.geoserver.org/stable/en/user/data/raster/gdal.html, but the new formats are not appearing. I was not exactly clear as to if I should install the 32 or 64 bit version of GDAL, or what GDAL DLL files I need to include in my path. It may be possible that I missed a step or two. If anyone has any more verbatim instructions for installing MrSID, ECW, and perhaps the other GDAL formats in GeoServer please share. I am running GeoServer as a service. Thank You! Sincerely, Mark Volz, GISP Lyon County GIS Coordinator ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- == Meet us at the INSPIRE Conference in Lisbon 25-29 May 2015! Visit http://goo.gl/WHKDXT for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
