• mohit vashistha

Installing and Configuring GeoServer with GDAL Extension

Step 1: Download latest stable release of GeoServer from here.

Step2: Download the GDAL plugin from Extensions.

Step3: Install GeoServer.

Step4: Check GeoServer started by going to http://localhost:8080/geoserver/web (port no what you have specified during installation step-3)

Step5: In store section click “Add Store”

    It shows very limited data source that can be added as layer in GeoServer.

Step 6: Now we will install GDAL extension.

Step 6.1: Extract all the content of downloaded zip folder.

Step 6.2: Copy the extracted content to “%ProgramFiles(x86)%\GeoServer2.15.1\webapps\geoserver\WEB-INF\lib” Overwrite the prompted jars.

Step 6.3: Select GDAL Native dlls from here. If you GDAL plugin jar extracted in step 6.1 has name “imageio-ext-gdaldted-1.2.1” then choose folder 1.2.X, else choose according to your GDAL plugin version.

Step 6.4: Download the jar zip location selected in Step 6.3.

Step 6.5: Download the GdalData.zip & MVC 2010.zip & other required Gdal plugin msi from native folder

Step 6.6: Extract the GDAL-Data.zip and place it in some secure location. After that add environment variable with Name “GDAL_DATA” and link you path here

Step 6.7: Extract the downloaded GDAL binaries from step 6.5 and add the path in “Path” environment variable:

Step 6.8: Copy & replace the file from GdalBin\javainfo to “%ProgramFiles(x86)%\GeoServer 2.15.1\webapps\geoserver\WEB-INF\lib”

Step 6.9: Check gdal is configured correctly or not by opening command prompt in GdalBin folder and using command “Gdalinfo --formats”. If everything is fine, then it will list all the drivers available in GDAL.

Step 7: Restart the server.

Step 8: If you now try to add a new store you will see more data source options:

3 views0 comments