[Geoserver-users] GeoServer 2.3.0 GDAL native libraries- Windows

I have been using GeoServer 2.2.2 on Windows for a while now and am trying
out the new 2.3.0 but I can't get my GDAL types to show up in my data
Stores. Can anyone help me get past this? Thanks!

INFO | jvm 1 | 2013/04/17 10:52:46 | java.lang.UnsatisfiedLinkError:
C:\Program Files (x86)\GeoServer 2.3.0service\wrapper\lib\gdaljni.dll: The
specified procedure could not be found

The above file (gdaljni.dll) DOES exist at that location.

I notice that the instructions for installing the GDAL native libraries are
a bit different now compared to 2.2.2. I am used to grabbing the libraries
from:
http://java.net/projects/imageio-ext/downloads/directory/Releases/Dependencies/GDAL/NativeLibraries/1.7.3/Windows32

But the new instructions point toward:
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/

http://docs.geoserver.org/stable/en/user/data/raster/gdal.html

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ciao,
yeah, the GDAL version has been updated, we now use 1.9.2 hence the
old version is not correct anymore.
Please, try the new one. We also added support for windows64 bits.

Regards,
Simone Giannecchini

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Wed, Apr 17, 2013 at 6:00 PM, mortac8 <ashley_c_mort@anonymised.com> wrote:

I have been using GeoServer 2.2.2 on Windows for a while now and am trying
out the new 2.3.0 but I can't get my GDAL types to show up in my data
Stores. Can anyone help me get past this? Thanks!

INFO | jvm 1 | 2013/04/17 10:52:46 | java.lang.UnsatisfiedLinkError:
C:\Program Files (x86)\GeoServer 2.3.0service\wrapper\lib\gdaljni.dll: The
specified procedure could not be found

The above file (gdaljni.dll) DOES exist at that location.

I notice that the instructions for installing the GDAL native libraries are
a bit different now compared to 2.2.2. I am used to grabbing the libraries
from:
http://java.net/projects/imageio-ext/downloads/directory/Releases/Dependencies/GDAL/NativeLibraries/1.7.3/Windows32

But the new instructions point toward:
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/

http://docs.geoserver.org/stable/en/user/data/raster/gdal.html

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Simone,
good to hear!!

But whats the difference to libs at the following link:
http://www.gisinternals.com/sdk/

Regards,
Wolfram

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5048313.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Thanks for the reply Simone! I see that GeoServer now uses GDAL 1.9 but I
can't get it to work. I mentioned I was using GeoServer 2.2/GDAL 1.7
previously just to show I'm not a total noob :slight_smile:

Currently I did the following (Windows 7 64-bit, Java6 32-bit) but still get
"java.lang.UnsatisfiedLinkError: F:\GeoServer\wrapper\lib\gdaljni.dll: Can't
find dependent libraries". Any ideas on where to dig in to?

Here is what I did.
-Install GeoServer 2.3 for Windows..

-Extract GDAL libs to GeoServer WEB-INF/lib:
http://downloads.sourceforge.net/geoserver/geoserver-2.3.0-gdal-plugin.zip

-Put 32bit GDAL native libs on my PATH (I do have msvc10 32bit SDK
installed):
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-1.9.2-MSVC2010.zip

-Set a GDAL_DATA environment variable:
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.7/native/gdal/gdal-data.zip

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5048314.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ciao Wolfram,
easy to explain, no difference, we are just repackaging in a slightly
different way and also
putting them side-to-side with imageio-ext for convenience.

The gisinternas effort has been of tremendous help.

Regards,
Simone Giannecchini

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Fri, Apr 19, 2013 at 3:49 PM, wwsmith <wwsmith@anonymised.com> wrote:

Hi Simone,
good to hear!!

But whats the difference to libs at the following link:
http://www.gisinternals.com/sdk/

Regards,
Wolfram

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5048313.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ciao,
within the zip file you should be able to find inside the javainfo
directory a simple java utility
that mimics the gdal gdalinfo tool.
Try to run it to make sure the libraries do work. Run it in a
commandline with a proper raster file and you should get the familiar
gdalinfo output.

If this step succeeds, then you need to double check your PATH to make
sure you have configured it properly and you are not mixing up
different versions of gdal. The same applies to GeoServer, you need to
make sure you deployed the correct extension as it would bring along
the gdal.jar that contains the java counterpart of the bindings.

Regards,
Simone Giannecchini

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Fri, Apr 19, 2013 at 3:51 PM, mortac8 <ashley_c_mort@anonymised.com> wrote:

Thanks for the reply Simone! I see that GeoServer now uses GDAL 1.9 but I
can't get it to work. I mentioned I was using GeoServer 2.2/GDAL 1.7
previously just to show I'm not a total noob :slight_smile:

Currently I did the following (Windows 7 64-bit, Java6 32-bit) but still get
"java.lang.UnsatisfiedLinkError: F:\GeoServer\wrapper\lib\gdaljni.dll: Can't
find dependent libraries". Any ideas on where to dig in to?

Here is what I did.
-Install GeoServer 2.3 for Windows..

-Extract GDAL libs to GeoServer WEB-INF/lib:
http://downloads.sourceforge.net/geoserver/geoserver-2.3.0-gdal-plugin.zip

-Put 32bit GDAL native libs on my PATH (I do have msvc10 32bit SDK
installed):
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-1.9.2-MSVC2010.zip

-Set a GDAL_DATA environment variable:
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.7/native/gdal/gdal-data.zip

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5048314.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Simone,
thats really good, because of the crossover for the python 2.7 bindings I
want to use.
Now we can think of upgrading our complete geoserver side from 32-bit to
64-bit (windows 2008 r2).
Once again: great!

Best,
Wolfram

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5048324.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

My path variable or the relevant bits of it:

C:\Program Files\ERDAS\ERDAS ECW JPEG2000 Read 4.3 SDK\bin\vc10\x64;

C:\Program Files\GDAL; (gdaljni and all other other dll's and exe's are
here)
C:\Program Files\GDAL\gdalplugins; (gdal_ECW_JP2ECW.dll for instance is
here)
C:\Program Files\GDAL\java; (gdal.jar is here)

stuff it all in the path.

other sensible vars:
GDAL_DRIVER_PATH --> goes to the gdalplugins
GDAL_DATA --> goes to all the WellKnownText and csv files

Stick to Simone's advice: Don't mix GDAL versions (in your path).

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5048950.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hello to GeoServer users!

I am stuck, please help. Maybe is a trivial but i didnt sleep all night
trying to solve this.
I want to move on newer version GeoServer 2.3.0. But I cant get GDAL
extension to work.

I have installed GDAL plugin before on Win7 32bit, GeoServer 2.2.1 with this
method bellow and no problem at all. Now only difference I am trying to
install for the first time GeoServer on 64bit Windows 7.
I have instaled Java 32bit JDK because of JAI support (JAI is not available
on Windows x64 OS as far I know)

1. My system info

  OS>
  Windows 7 64-bit,
  
  JAVA>
  installed
  jdk-7u17-windows-i586.exe (32bit)
  Java HotSpot(TM) Server VM (build 23.7-b01, mixed mode)
  
  Apache Tomcat/7.0.39
  GeoServer v2.3.0
  Native JAI -true
  Native JAI ImageIO -true

2. Instaled GDAL from http://www.gisinternals.com/sdk/
  MSVC2010 (Win32) -release 1600-gdal-1-9-2-mapserver-6-2-0.zip
    gdal-19-1600-core.msi
    gdal-19-1600-ecw.msi
    gdal-19-1600-mrsid.msi

3. I set all paths in Environment Variables
  PATH
  C:\Program Files (x86)\GDAL;C:\Java\bin; ... etc

  GDAL_DATA
  C:\Program Files (x86)\GDAL\gdal-data

  GDAL_DRIVER_PATH
  C:\Program Files (x86)\GDAL\gdalplugins

4. After all this in cmd promt I get:
  
  >gdalinfo --version
  GDAL 1.9.2, released 2012/10/08
  
  my ecw test file shows good response in gdalinfo:
  
  C:\gdalinfo of.ecw
  Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)
  Files: of.ecw
  Size is 5000, 5000....
         ...<cut>.....
        Overviews: 2500x2500, 1250x1250, 625x625, 312x312, 156x156

  so i think GDAL is properly installed on system ?
    
5. I have extracted geoserver-2.3.0-gdal-plugin.zip to GeoServer WEB-INF/lib

6. Restarted computer

7. Started GeoServer and there is no GDAL formats in "Add store" (not even
single one!)

What am I doing wrong ? :cry: Should I install ALL 64bit compononents (so I am
without JAI)
or is it something else I missed ??

Please help. Thanks for any info.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5050382.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ciao,
a couple of things:

-1- it might be worth to use 2.3.1 as it has been recently release
-2- I would follow these instructions closely
http://docs.geoserver.org/stable/en/user/data/raster/gdal.html
-3- don't hijack hold/closed threads :stuck_out_tongue:

The compressed packages contains all the native libs plus a small java
util that mimics gdalinfo that you can use for testing that the java
bindings do actually work.
If you go back to the history of this thread you'll find additional info.

Regards,
Simone Giannecchini

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Tue, Apr 30, 2013 at 11:06 AM, sys49152 <mr_bungle@anonymised.com> wrote:

Hello to GeoServer users!

I am stuck, please help. Maybe is a trivial but i didnt sleep all night
trying to solve this.
I want to move on newer version GeoServer 2.3.0. But I cant get GDAL
extension to work.

I have installed GDAL plugin before on Win7 32bit, GeoServer 2.2.1 with this
method bellow and no problem at all. Now only difference I am trying to
install for the first time GeoServer on 64bit Windows 7.
I have instaled Java 32bit JDK because of JAI support (JAI is not available
on Windows x64 OS as far I know)

1. My system info

        OS>
        Windows 7 64-bit,

        JAVA>
        installed
        jdk-7u17-windows-i586.exe (32bit)
        Java HotSpot(TM) Server VM (build 23.7-b01, mixed mode)

        Apache Tomcat/7.0.39
        GeoServer v2.3.0
        Native JAI -true
        Native JAI ImageIO -true

2. Instaled GDAL from http://www.gisinternals.com/sdk/
        MSVC2010 (Win32) -release 1600-gdal-1-9-2-mapserver-6-2-0.zip
                gdal-19-1600-core.msi
                gdal-19-1600-ecw.msi
                gdal-19-1600-mrsid.msi

3. I set all paths in Environment Variables
        PATH
        C:\Program Files (x86)\GDAL;C:\Java\bin; ... etc

        GDAL_DATA
        C:\Program Files (x86)\GDAL\gdal-data

        GDAL_DRIVER_PATH
        C:\Program Files (x86)\GDAL\gdalplugins

4. After all this in cmd promt I get:

        >gdalinfo --version
        GDAL 1.9.2, released 2012/10/08

        my ecw test file shows good response in gdalinfo:

        C:\gdalinfo of.ecw
        Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)
        Files: of.ecw
        Size is 5000, 5000....
         ...<cut>.....
        Overviews: 2500x2500, 1250x1250, 625x625, 312x312, 156x156

        so i think GDAL is properly installed on system ?

5. I have extracted geoserver-2.3.0-gdal-plugin.zip to GeoServer WEB-INF/lib

6. Restarted computer

7. Started GeoServer and there is no GDAL formats in "Add store" (not even
single one!)

What am I doing wrong ? :cry: Should I install ALL 64bit compononents (so I am
without JAI)
or is it something else I missed ??

Please help. Thanks for any info.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5050382.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks for help Simone!
I made it.

This is how its done, just for the record.

OS>* Windows 7 64-bit*,

1. Install

  - *jdk-7u21-windows-x64.exe* *(without Native JAI + Native JAI ImageIO
since there is no Win x64 support)
  - *Apache Tomcat/7.0.39*
  - *GeoServer v2.3.1 *

2. Unpack *gdal-data.zip* to "/C:/gdal/gdal-data/" from
  /imageio-ext/releases/1.1.X/1.1.7/native/gdal/gdal-data.zip/

3. Unpack *gdal-1.9.2-MSVC2010-x64.zip* to "/C:/gdal//" from

/imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-1.9.2-MSVC2010-x64.zip/

4. Unpack *gdal-19-1600-x64-ecw.msi* (ECW lib) to "C:/gdal/" from

/imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-19-1600-x64-ecw.msi/
  
5. Configure new or add to existing paths in Environment Variables.

  *PATH*
  /C:/gdal/

  *GDAL_DRIVER_PATH*
  /C:/gdal/

  *GDAL_DATA *
  /C:/gdal/gdal-data/

         restart comupter (or logoff then logon)

6. Extract *geoserver-2.3.0-gdal-plugin.zip* to GeoServer /WEB-INF/lib/

7. Restart GeoServer

All the best.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5050443.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

For the life of me I cannot get the GDAL Stores to show up in GeoServer 2.3.2
on Java 6(32-bit) on Windows 7. I keep getting a startup message related to
gdaljni.dll (UnsatisfiedLinkError C:\gdal\gdaljni.dll cannot be
found...though it is right there).

I can go into my GDAL directory and run the gdalinfo.exe (that I obtained
from gdal-1.9.2-MSVC2010.zip) successfully on tif files but still always get
the gdaljni.dll warning on GeoServer startup.

I would try the 64-bit route but I want/need JAI. Any suggestions...other
than staying on GeoServer 2.2.1 :slight_smile: ?

sys49152 wrote

Thanks for help Simone!
I made it. Maybe someone should update that page about installing GDAL and
make it more clear ?

This is how its done, just for the record.

OS>

*

Windows 7 64-bit

*

,

1. Install

  -

*

jdk-7u21-windows-x64.exe

*

*(without Native JAI + Native JAI ImageIO since there is no Win x64
support)
  -

*

Apache Tomcat/7.0.39

*

  -

*

GeoServer v2.3.1

*

2. Unpack

*

gdal-data.zip

*

to "

/

C:/gdal/gdal-data

/

" from
  

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/gdal-data.zip

/

3. Unpack

*

gdal-1.9.2-MSVC2010-x64.zip

*

to "

/

C:/gdal/

/

" from
  

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-1.9.2-MSVC2010-x64.zip

/

4. Unpack

*

gdal-19-1600-x64-ecw.msi

*

(ECW lib) to "C:/gdal/" from
  

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-19-1600-x64-ecw.msi

/

  
5. Configure new or add to existing paths in Environment Variables.

*

PATH

*

  

/

C:/gdal

/

*

GDAL_DRIVER_PATH

*

  

/

C:/gdal

/

*

GDAL_DATA

*

  

/

C:/gdal/gdal-data

/

         restart comupter (or logoff then logon)

6. Extract

*

geoserver-2.3.0-gdal-plugin.zip

*

to GeoServer

/

WEB-INF/lib

/

7. Restart GeoServer

All the best.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5056991.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I blew away my PATH and included only the GDAL and it works now. Sorry for
the bogus question.

mortac8 wrote

For the life of me I cannot get the GDAL Stores to show up in GeoServer
2.3.2 on Java 6(32-bit) on Windows 7. I keep getting a startup message
related to gdaljni.dll (UnsatisfiedLinkError C:\gdal\gdaljni.dll cannot be
found...though it is right there).

I can go into my GDAL directory and run the gdalinfo.exe (that I obtained
from gdal-1.9.2-MSVC2010.zip) successfully on tif files but still always
get the gdaljni.dll warning on GeoServer startup.

I would try the 64-bit route but I want/need JAI. Any suggestions...other
than staying on GeoServer 2.2.1 :slight_smile: ?

sys49152 wrote

Thanks for help Simone!
I made it. Maybe someone should update that page about installing GDAL
and make it more clear ?

This is how its done, just for the record.

OS>

*

Windows 7 64-bit

*

,

1. Install

  -

*

jdk-7u21-windows-x64.exe

*

*(without Native JAI + Native JAI ImageIO since there is no Win x64
support)
  -

*

Apache Tomcat/7.0.39

*

  -

*

GeoServer v2.3.1

*

2. Unpack

*

gdal-data.zip

*

to "

/

C:/gdal/gdal-data

/

" from
  

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/gdal-data.zip

/

3. Unpack

*

gdal-1.9.2-MSVC2010-x64.zip

*

to "

/

C:/gdal/

/

" from
  

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-1.9.2-MSVC2010-x64.zip

/

4. Unpack

*

gdal-19-1600-x64-ecw.msi

*

(ECW lib) to "C:/gdal/" from
  

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-19-1600-x64-ecw.msi

/

  
5. Configure new or add to existing paths in Environment Variables.

*

PATH

*

  

/

C:/gdal

/

*

GDAL_DRIVER_PATH

*

  

/

C:/gdal

/

*

GDAL_DATA

*

  

/

C:/gdal/gdal-data

/

         restart comupter (or logoff then logon)

6. Extract

*

geoserver-2.3.0-gdal-plugin.zip

*

to GeoServer

/

WEB-INF/lib

/

7. Restart GeoServer

All the best.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5057024.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ciao,
one thing for the records.
The zip files for gdal also include since a few weeks ago a javainfo
small program
that basically does a gdalinfo but in java. It's been put there to
confirm that everything works fine, therefore
I would test it out next time to make sure DLLs are not corrupted and
the PATH is clear.

Regards,
Simone Giannecchini

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Thu, May 30, 2013 at 8:09 PM, mortac8 <ashley_c_mort@anonymised.com> wrote:

I blew away my PATH and included only the GDAL and it works now. Sorry for
the bogus question.

mortac8 wrote

For the life of me I cannot get the GDAL Stores to show up in GeoServer
2.3.2 on Java 6(32-bit) on Windows 7. I keep getting a startup message
related to gdaljni.dll (UnsatisfiedLinkError C:\gdal\gdaljni.dll cannot be
found...though it is right there).

I can go into my GDAL directory and run the gdalinfo.exe (that I obtained
from gdal-1.9.2-MSVC2010.zip) successfully on tif files but still always
get the gdaljni.dll warning on GeoServer startup.

I would try the 64-bit route but I want/need JAI. Any suggestions...other
than staying on GeoServer 2.2.1 :slight_smile: ?

sys49152 wrote

Thanks for help Simone!
I made it. Maybe someone should update that page about installing GDAL
and make it more clear ?

This is how its done, just for the record.

OS>

*

Windows 7 64-bit

*

,

1. Install

     -

*

jdk-7u21-windows-x64.exe

*

*(without Native JAI + Native JAI ImageIO since there is no Win x64
support)
     -

*

Apache Tomcat/7.0.39

*

     -

*

GeoServer v2.3.1

*

2. Unpack

*

gdal-data.zip

*

to "

/

C:/gdal/gdal-data

/

" from

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/gdal-data.zip

/

3. Unpack

*

gdal-1.9.2-MSVC2010-x64.zip

*

to "

/

C:/gdal/

/

" from

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-1.9.2-MSVC2010-x64.zip

/

4. Unpack

*

gdal-19-1600-x64-ecw.msi

*

(ECW lib) to "C:/gdal/" from

/

imageio-ext/releases/1.1.X/1.1.7/native/gdal/windows/MSVC2010/gdal-19-1600-x64-ecw.msi

/

5. Configure new or add to existing paths in Environment Variables.

*

PATH

*

/

C:/gdal

/

*

GDAL_DRIVER_PATH

*

/

C:/gdal

/

*

GDAL_DATA

*

/

C:/gdal/gdal-data

/

         restart comupter (or logoff then logon)

6. Extract

*

geoserver-2.3.0-gdal-plugin.zip

*

to GeoServer

/

WEB-INF/lib

/

7. Restart GeoServer

All the best.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-GDAL-native-libraries-Windows-tp5047711p5057024.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users