Overview
This document provides a guide for integrating GeoServer with Altibase.
This document is based on the following versions:
Altibase 7.1.0 or higher
GeoServer 2.16.2 or higher
GeoServer
GeoServer is an open-source GIS software server developed in Java that allows sharing and editing of geospatial data.
As a community-based project, GeoServer is developed, tested, and supported by diverse groups of individuals and organizations worldwide.
GeoServer serves as a reference implementation not only for Web Map Service (WMS) but also for Open Geospatial Consortium (OGC) standards such as Web Feature Service (WFS), Web Coverage Service (WCS), and Web Processing Service (WPS).
GeoServer forms a core component of the Geospatial Web.
GeoServer Installation and Setup
This document is based on installing GeoServer on Windows 10.
1. To install GeoServer, JRE (Java Runtime Environment) must be installed:
JRE version 8 or higher is recommended.
You can download and install it from OpenJDK or Oracle JRE.
After installation, verify the JAVA environment settings.
2. Installing GeoServer:
Download the stable version from the GeoServer download site.
This document uses version 2.16.2 as the reference.Extract the downloaded Zip file to the installation path and configure the environment.
Here, GeoServer is installed atC:\Program Files\GeoServer.
Set the environment variables as follows:GEOSERVER_HOME = C:\Program Files\GeoServerGEOSERVER_DATA_DIR = C:\Program Files\GeoServer\data_dir
3. To integrate with Altibase, additional libraries need to be installed.
Copy the required libraries to C:\Program Files\GeoServer\webapps\geoserver\WEB-INF\lib:
Altibase-specific spatial DBMS driver:
gt-jdbc-altibase-21-SNAPSHOT.jarJTS Topology Suite:
jts-1.14.jarAltibase JDBC driver:
TheAltibase.jarfile can be found in thelibdirectory of your Altibase installation folder.
4. Altibase Spatial module installation and coordinate system setup:
The spatial module is not installed by default during Altibase installation. Use the following commands to install the spatial module.
- Insert the coordinate system to be used when creating layers into the
spatial_ref_systable.
* More coordinate system information can be found here.
5. Starting GeoServer
- Run the startup.bat file located in the GEOSERVER_HOME directory to start GeoServer.
Integrating GeoServer with Altibase
1. Accessing GeoServer
Open a browser and go to http://localhost:8080/geoserver
Username: admin
Password: geoserver
2. Adding a Store
Add Altibase as a data store.
- The required input fields are as follows:
| Item | Description |
|---|---|
| Workspace | To publish or register a layer, you must add a workspace. Here, the default workspace "cite" was selected. |
| Data Store Name | Enter the name of the data store. |
| dbtype | Set to "altibase". |
| host | Enter the address of the Altibase server. |
| port | Enter the service port configured in Altibase. The default value is 20300. |
| database | Enter the database name configured in Altibase. The default value is "mydb". |
| schema | Altibase does not manage schemas. |
| user | Enter the Altibase DB account name. |
| password | Enter the Altibase DB account password. |
| preparedStatements | Optional. Not checked for Altibase. |
3. Registering a Layer
Register a layer in the data store.
The registered layer is managed as a Table in Altibase.
Select a layer from the left tree and click “Add New Layer.”
- Select the data store where the layer will be created. Here, the data store called ALTIBASE_SPATIAL in the workspace cite was selected.
- Click "Create New Feature Type" to create the layer.

Enter the type name. This name will be used as the table name.
Click "Add New Attribute Field" to add attribute fields. These attribute fields are defined as columns.
Enter the name. This will be the column name.
Enter the type. This will be the data type of the column.
If the data type requires a length, specify the size.
For geometry types, specify the coordinate system and click the save button.
Review the attribute information and enter the layer’s minimum bounding area.
Clicking "Calculate from Data," "Calculate from SRS Extent," or "Calculate from Source Extent" will automatically fill it in.Click "Save" to save.
Spatial Data Import
You can import a layer using a shapefile.
1. Install the extension plug-in
Download the importer plug-in, unzip it, and copy it to
C:\Program Files\GeoServer\webapps\geoserver\WEB-INF\lib
You need to restart GeoServer for it to take effect.
2. When you access GeoServer, the "Import Data" option will be added.
3. Select the spatial file from the data source to import.
Currently, Altibase only supports importing spatial files.
Click the browse button to select the spatial file.
4. Select the directory where the spatial file is located.
- Select the workspace and data store, then click the Next button.
- Select the spatial data file to import, then click the Import button to complete the import.
Check the registered layer.
The registered layer can be viewed in the layer preview.
레이어 미리보기를 클릭하여 확인할 레이어에서 OpenLayers를 클릭한다.
In Altibase, it can be verified as follows.
Reference materials
Altibase Manual
Open Geospatial