Hi Daniele, Thanks a lot for your response - really appreciate any help you are able to offer.
My reply is slightly delayed because I wanted to get the details of the server I'm configuring correct. However, I think my main issue is just with getting a GDAL 2.x based extension to load within GeoServer 2.16.0 on Windows x64. I'm setting up on WIndows Server 2012 R2 Standard using the platform-independent binary. I've downloaded and set up the 2.16.0 release without issues, base install runs fine. I also downloaded the geoserver-2.16.0-gdal-plugin.zip archive from the Extensions area and copied the jars into my GeoServer's /lib area as instructed. To install the Windows native dependencies, I followed the instructions here https://docs.geoserver.org/stable/en/user/data/raster/gdal.html under "Windows packages and setup": I downloaded the following archive from GISInternals: release-1900-x64-gdal-2-4-2-mapserver-7-4-0.zip and extracted it to C:\gisinternals Then added the following lines to startup.bat in the GeoServer bin area: set PATH=%PATH%;C:\gisinternals\bin;C:\gisinternals\bin\gdal\java set GDAL_DRIVER_PATH=C:\gisinternals\bin\gdal\plugins set GDAL_DATA=C:\gisinternals\bin\gdal-data The main GDAL DLL in this extracted ZIP is gdal204.dll ... is this as expected? (I realise there are some additional paths I need to add for the ECW plug-in etc, but not worried about that for now. I've previously verified this GDAL can read ECW files correctly via gdalinfo and the plug-in on this server.) Anyway, when I start GeoServer again after these changes, I don't see the additional Raster Formats available as Data Sources. I've attached the log of startup, which doesn't seem to mention loading GDAL as expected. Some tips on whether I've got the right GISInternals ZIP, whether my PATH looks right, perhaps what logging diagnostics I should expect to see as the GDAL extension is loaded would be really helpful! Tom On Mon, Oct 14, 2019 at 5:08 PM Daniele Romagnoli < daniele.romagn...@geo-solutions.it> wrote: > Hi Tom, > I didn't get if you are having problems with GDAL registering in general > or if you only have problem in ECW loading. > I have a couple of questions to better identify the problem. > Are you at least seeing the "standard" GDAL drivers from the coverage > stores in the GUI (as an instance DTED,NITF) and you are missing the ECW > ones only? > https://docs.geoserver.org/stable/en/user/_images/newsource.png > > Or are you not seeing any GDAL driver in the stores list, instead, and you > are getting some log messages reported that GDAL isn't loaded properly? > > Please, let us know. > Best Regards, > Daniele > > > On Mon, Oct 14, 2019 at 7:20 AM Tom Lynch <t...@trailmarker.io> wrote: > >> Hi all, >> >> Scratching my head slightly about this one after a few hours attempting >> to get GDAL 2.x / ImageIO-Ext set up with GeoServer 2.16.0. >> >> https://docs.geoserver.org/stable/en/user/data/raster/gdal.html >> >> Following the instructions above I can see I need GDAL 2.x. I've obtained >> what I think should be a compatible GISInternals download and unzipped it >> on the target x64 Windows Server >> >> The good news is that I've installed and licensed the ECW JPEG 2000 SDK >> 5.4, and I can now read ECW files correctly on the server via GDAL 2.x. >> >> Unfortunately, the GDAL / ImageIO-Ext extension for GeoServer 2.16.0 is >> not registering correctly when the webapp initialises - my additional >> raster formats don't appear in the Data Sources page. >> >> >> Does anyone out there have this configuration, or a similar one set up? >> GeoServer 2.16.x + GDAL 2.x + ECW SDK 5.4 on 64-bit Windows? >> >> Thanks in advance, >> >> Tom Lynch >> _______________________________________________ >> Geoserver-users mailing list >> >> Please make sure you read the following two resources before posting to >> this list: >> - Earning your support instead of buying it, but Ian Turton: >> http://www.ianturton.com/talks/foss4g.html#/ >> - The GeoServer user list posting guidelines: >> http://geoserver.org/comm/userlist-guidelines.html >> >> If you want to request a feature or an improvement, also see this: >> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >> >> >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > > > -- > Regards, > Daniele Romagnoli > == > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > > Ing. Daniele Romagnoli > Senior Software Engineer > > GeoSolutions S.A.S. > Via di Montramito 3/A > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE > 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si > precisa che ogni circostanza inerente alla presente email (il suo > contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è > riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il > messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra > operazione è illecita. Le sarei comunque grato se potesse darmene notizia. > > This email is intended only for the person or entity to which it is > addressed and may contain information that is privileged, confidential or > otherwise protected from disclosure. We remind that - as provided by > European Regulation 2016/679 “GDPR” - copying, dissemination or use of this > e-mail or the information herein by anyone other than the intended > recipient is prohibited. If you have received this email by mistake, please > notify us immediately by telephone or e-mail. >
startup.log
Description: Binary data
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users