Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-18 Thread Andrea Aime
Mats,
the Windows installer is there to help people get started, testing
GeoServer and getting to know it,
and play with it on their development machine (which is Windows for many).
Having an installer that gives many people a quick intro to GeoServer is
important for the project diffusion.

We agree it's not meant for production, making a production grade installer
would be possible, but there are no resources
for it, Windows installations drive very little business (as GeoServer on
Linux is anecdotally 30% faster than on Windows,
and easier to handle due to file lock issues on Windows).

I'm guessing there is a business opportunity there, if nobody wants to do a
production grade installer for Windows in spare time,
some could come up with it as a paid product. GeoServer would remain GPL,
but the installer could be closed source.
Would be a good fit for those that have trouble handling a Tomcat
installation (believe it or not, I've met various).

Having a good guide on how to setup GeoServer on Windows for production
would help, and maybe it's easier to
find someone that is willing to contribute it in their spare time, rather
than writing an installer.
If anyone is so inclined, please see the following to get started:
https://docs.geoserver.org/latest/en/docguide/

Cheers
Andrea


On Thu, Oct 17, 2019 at 12:05 PM Mats Elfström 
wrote:

> Hi!
> I really do not miss the windows installer. The war-file approach is so
> mych easier to deploy, and makes Geoserver run as a service. As a server
> application obviously should.
> Also, it was said that the Windows installer only created a test or toy
> installation. I had no use for that.
> Last month I was setting up a geodata server, and was a bit taken back
> without the familiar windows installer. But figured out how to use the war
> file. I also wanted Geonetwork which was even easier to launch.
> So, I Installed Apache Tomcat/9.0.26 as a service, dropped two war files
> in a folder and that was it.
> Then (as previously reported) I had a bit of trouble installing the GDAL
> libraries. This was because no documentation dealt with this setup.
> This was so simple that I'm afraid I am missing some important point here.
> What would be the advantage be with a windows installer, as compared to
> the war-file installation?
>
>
> *GisKraft*, Geodatakonsult
>
> Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
> tel: +46 70 595 39 35 / web: www.giskraft.com
>
>
> Den tors 17 okt. 2019 kl 11:39 skrev Andrea Aime <
> andrea.a...@geo-solutions.it>:
>
>> On Thu, Oct 17, 2019 at 4:33 AM Tom Lynch  wrote:
>>
>>> Hi Daniele and Mats,
>>>
>>> Just to report on my experience, after that tip from Daniele I was able
>>> to get the whole setup working almost immediately, but using the WAR
>>> download and a 64-bit install of Tomcat 8.5 as a service. I wasn't able to
>>> get the platform-independent binary to load the GDAL stack despite it
>>> running under a 64-bit JRE, which was a bit perplexing.
>>>
>>
>> Hum... did you try to start it stand alone or as a service? The service
>> mode is compatible only with 32bit, was a limitation of the tool
>> we used many years ago to create a service around GeoServer. The Windows
>> installer could certainly use a make over, if anyone
>> wants to put some development time in it, it would be appreciated.
>>
>>
>>> All good though, working now and I'm unblocked. Thanks again for your
>>> help. Let me know if there's a way I can contribute to documentation and so
>>> on.
>>>
>>
>> The docs are in version control, written in RST, pull requests are
>> welcomed:
>> https://github.com/geoserver/geoserver/tree/master/doc/en/user/source
>>
>> If you find that you just want to modify parts of a page, you can just
>> hit the "edit" link available in each page right menu,
>> and will brig you to the relevant github resource where you can follow
>> the quick fix procedure:
>> https://docs.geoserver.org/latest/en/docguide/quickfix.html
>>
>> Hope this helps
>>
>> Cheers
>> Andrea
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
>> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
>> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
>> 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 

Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-17 Thread Mats Elfström
Hi!
I really do not miss the windows installer. The war-file approach is so
mych easier to deploy, and makes Geoserver run as a service. As a server
application obviously should.
Also, it was said that the Windows installer only created a test or toy
installation. I had no use for that.
Last month I was setting up a geodata server, and was a bit taken back
without the familiar windows installer. But figured out how to use the war
file. I also wanted Geonetwork which was even easier to launch.
So, I Installed Apache Tomcat/9.0.26 as a service, dropped two war files in
a folder and that was it.
Then (as previously reported) I had a bit of trouble installing the GDAL
libraries. This was because no documentation dealt with this setup.
This was so simple that I'm afraid I am missing some important point here.
What would be the advantage be with a windows installer, as compared to the
war-file installation?


*GisKraft*, Geodatakonsult

Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
tel: +46 70 595 39 35 / web: www.giskraft.com


Den tors 17 okt. 2019 kl 11:39 skrev Andrea Aime <
andrea.a...@geo-solutions.it>:

> On Thu, Oct 17, 2019 at 4:33 AM Tom Lynch  wrote:
>
>> Hi Daniele and Mats,
>>
>> Just to report on my experience, after that tip from Daniele I was able
>> to get the whole setup working almost immediately, but using the WAR
>> download and a 64-bit install of Tomcat 8.5 as a service. I wasn't able to
>> get the platform-independent binary to load the GDAL stack despite it
>> running under a 64-bit JRE, which was a bit perplexing.
>>
>
> Hum... did you try to start it stand alone or as a service? The service
> mode is compatible only with 32bit, was a limitation of the tool
> we used many years ago to create a service around GeoServer. The Windows
> installer could certainly use a make over, if anyone
> wants to put some development time in it, it would be appreciated.
>
>
>> All good though, working now and I'm unblocked. Thanks again for your
>> help. Let me know if there's a way I can contribute to documentation and so
>> on.
>>
>
> The docs are in version control, written in RST, pull requests are
> welcomed:
> https://github.com/geoserver/geoserver/tree/master/doc/en/user/source
>
> If you find that you just want to modify parts of a page, you can just hit
> the "edit" link available in each page right menu,
> and will brig you to the relevant github resource where you can follow the
> quick fix procedure:
> https://docs.geoserver.org/latest/en/docguide/quickfix.html
>
> Hope this helps
>
> Cheers
> Andrea
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
> 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.*
> ___
> 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
>
___
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 

Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-17 Thread Andrea Aime
On Thu, Oct 17, 2019 at 4:33 AM Tom Lynch  wrote:

> Hi Daniele and Mats,
>
> Just to report on my experience, after that tip from Daniele I was able to
> get the whole setup working almost immediately, but using the WAR download
> and a 64-bit install of Tomcat 8.5 as a service. I wasn't able to get the
> platform-independent binary to load the GDAL stack despite it running under
> a 64-bit JRE, which was a bit perplexing.
>

Hum... did you try to start it stand alone or as a service? The service
mode is compatible only with 32bit, was a limitation of the tool
we used many years ago to create a service around GeoServer. The Windows
installer could certainly use a make over, if anyone
wants to put some development time in it, it would be appreciated.


> All good though, working now and I'm unblocked. Thanks again for your
> help. Let me know if there's a way I can contribute to documentation and so
> on.
>

The docs are in version control, written in RST, pull requests are welcomed:
https://github.com/geoserver/geoserver/tree/master/doc/en/user/source

If you find that you just want to modify parts of a page, you can just hit
the "edit" link available in each page right menu,
and will brig you to the relevant github resource where you can follow the
quick fix procedure:
https://docs.geoserver.org/latest/en/docguide/quickfix.html

Hope this helps

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
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.*
___
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


Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-16 Thread Tom Lynch
Hi Daniele and Mats,

Just to report on my experience, after that tip from Daniele I was able to
get the whole setup working almost immediately, but using the WAR download
and a 64-bit install of Tomcat 8.5 as a service. I wasn't able to get the
platform-independent binary to load the GDAL stack despite it running under
a 64-bit JRE, which was a bit perplexing.

All good though, working now and I'm unblocked. Thanks again for your help.
Let me know if there's a way I can contribute to documentation and so on.

Tom Lynch

On Thu, Oct 17, 2019 at 10:03 AM Tom Lynch  wrote:

> Hi Daniele (and Mats),
>
> Thanks for that — you were correct, I'd copied the jars to the wrong /lib
> folder. I'm now seeing a string of driver initialisation issues, but I'll
> investigate those further as I've got some information to go on now.
>
> Appreciate the assistance,
>
> Tom
>
> On Wed, Oct 16, 2019 at 5:12 PM Daniele Romagnoli <
> daniele.romagn...@geo-solutions.it> wrote:
>
>> Hi Tom,
>>
>> On Wed, Oct 16, 2019 at 6:44 AM Tom Lynch  wrote:
>>
>>> 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?
>>>
>> That's correct.
>>
>>
>>>
>>> (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.
>>>
>>
>> I just downloaded the platform independent binary, added GDAL libs and
>> started and I get a log very similar to yours (see attachment) but I also
>> have a line referring to GDAL not properly installed (in my instance, I
>> didn't set PATH yet).
>>
>>
>> *ott 16, 2019 9:27:14 AM
>> it.geosolutions.imageio.gdalframework.GDALUtilities loadGDALAVVERTENZA:
>> Failed to load the GDAL native libs. This is not a problem unless you need
>> to use the GDAL plugins: they won't be enabled.*
>>
>> Based on that difference, I suspect your GDAL jars haven't been properly
>> installed.
>> Reading again your message I see that you said: *" and copied the jars
>> into my GeoServer's /lib area "*
>>
>> Wait, make sure that you copied them into:
>> C:\Program Files\GeoServer 2.16.0\webapps\geoserver\WEB-INF\lib
>>
>> and NOT in
>> C:\Program Files\GeoServer 2.16.0\lib
>>
>> Please, double check that.
>> Once done and restarted, you should see a LOG referring GDAL loading
>> status, something like this:
>>
>>
>> *ott 16, 2019 9:39:08 AM
>> it.geosolutions.imageio.gdalframework.GDALUtilities loadGDALINFORMAZIONI:
>> GDAL Native Library loaded (version: 2.4.2)*
>>
>> Please, let us know.
>> Regards,
>> Daniele
>>
>>
>>> 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

Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-16 Thread Tom Lynch
Hi Daniele (and Mats),

Thanks for that — you were correct, I'd copied the jars to the wrong /lib
folder. I'm now seeing a string of driver initialisation issues, but I'll
investigate those further as I've got some information to go on now.

Appreciate the assistance,

Tom

On Wed, Oct 16, 2019 at 5:12 PM Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

> Hi Tom,
>
> On Wed, Oct 16, 2019 at 6:44 AM Tom Lynch  wrote:
>
>> 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?
>>
> That's correct.
>
>
>>
>> (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.
>>
>
> I just downloaded the platform independent binary, added GDAL libs and
> started and I get a log very similar to yours (see attachment) but I also
> have a line referring to GDAL not properly installed (in my instance, I
> didn't set PATH yet).
>
>
> *ott 16, 2019 9:27:14 AM
> it.geosolutions.imageio.gdalframework.GDALUtilities loadGDALAVVERTENZA:
> Failed to load the GDAL native libs. This is not a problem unless you need
> to use the GDAL plugins: they won't be enabled.*
>
> Based on that difference, I suspect your GDAL jars haven't been properly
> installed.
> Reading again your message I see that you said: *" and copied the jars
> into my GeoServer's /lib area "*
>
> Wait, make sure that you copied them into:
> C:\Program Files\GeoServer 2.16.0\webapps\geoserver\WEB-INF\lib
>
> and NOT in
> C:\Program Files\GeoServer 2.16.0\lib
>
> Please, double check that.
> Once done and restarted, you should see a LOG referring GDAL loading
> status, something like this:
>
>
> *ott 16, 2019 9:39:08 AM
> it.geosolutions.imageio.gdalframework.GDALUtilities loadGDALINFORMAZIONI:
> GDAL Native Library loaded (version: 2.4.2)*
>
> Please, let us know.
> Regards,
> Daniele
>
>
>> 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  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 

Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-16 Thread Mats Elfström
Hi Tom!
I just did this in a similar environment.
But I am running Geoserver as a web-app under Tomcat. Which made the 
installation very simple. However, the settings need to be applied to the Java 
settings, and I did not touch any Geoserver or Tomcat bat files. That did not 
work.
Also, the PATH setting and Gdal variables needed to be set in the machine 
system variables. 
I can be more specific if the Tomcat web-app configuration applies to you. 

Hälsning / Regards
Mats.E

Skickat från min / Sent from my iPad, Ursäkta att jag är kortfattad / Excuse my 
brevity. 

> 16 okt. 2019 kl. 06:33 skrev Tom Lynch :
> 
> 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 
>>  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  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: 
>>> 

Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-16 Thread Daniele Romagnoli
Hi Tom,

On Wed, Oct 16, 2019 at 6:44 AM Tom Lynch  wrote:

> 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?
>
That's correct.


>
> (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.
>

I just downloaded the platform independent binary, added GDAL libs and
started and I get a log very similar to yours (see attachment) but I also
have a line referring to GDAL not properly installed (in my instance, I
didn't set PATH yet).


*ott 16, 2019 9:27:14 AM
it.geosolutions.imageio.gdalframework.GDALUtilities loadGDALAVVERTENZA:
Failed to load the GDAL native libs. This is not a problem unless you need
to use the GDAL plugins: they won't be enabled.*

Based on that difference, I suspect your GDAL jars haven't been properly
installed.
Reading again your message I see that you said: *" and copied the jars into
my GeoServer's /lib area "*

Wait, make sure that you copied them into:
C:\Program Files\GeoServer 2.16.0\webapps\geoserver\WEB-INF\lib

and NOT in
C:\Program Files\GeoServer 2.16.0\lib

Please, double check that.
Once done and restarted, you should see a LOG referring GDAL loading
status, something like this:


*ott 16, 2019 9:39:08 AM
it.geosolutions.imageio.gdalframework.GDALUtilities loadGDALINFORMAZIONI:
GDAL Native Library loaded (version: 2.4.2)*

Please, let us know.
Regards,
Daniele


> 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  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?
>>>

Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-15 Thread Tom Lynch
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  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 

Re: [Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-14 Thread Daniele Romagnoli
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  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.
___
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


[Geoserver-users] Matching pre-built Windows x64 binaries for GeoServer 2.16.0, GDAL 2.x, and ECW JPEG 2000 SDK 5.4

2019-10-13 Thread Tom Lynch
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