derby.jar and geotk-epsg.jar files
are on the classpath.None. Just having the above JAR files on the classpath should cause an automatic
installation in the $HOME/Geotoolkit.org/EPSG directory, where $HOME
is the user home directory (the exact location may vary on different platforms).
hsql.jar and geotk-epsg.jar files
are on the classpath.derby.jar file is not on the
classpath, otherwise the Derby database will have precedence over the HSQL database.None. Just having the above JAR files on the classpath should cause an automatic
installation in the $HOME/Geotoolkit.org/EPSG directory, where $HOME
is the user home directory (the exact location may vary on different platforms).
EPSG_version.mdb file anywhere on your file system.EPSG.EPSG_version.mdb file.jdbc:odbc:EPSG". Finally click on the "Apply" button.The last step should have created an EPSG/DataSource.properties file in the Geotoolkit data
directory (see CONFIGURATION_FILE
for more information) with the following content:
# # Connection parameters to the EPSG database. # URL = jdbc:odbc:EPSG
Creates an initially empty PostgreSQL database. The following lines creates a "Geotoolkit"
role and a "Referencing" database on the local host using the UTF-8 encoding. If an other role,
host or database name is wanted, just replace Geotoolkit, localhost
and Referencing respectively in the lines below.
createuser --createdb Geotoolkit createdb --username=Geotoolkit --host=localhost --encoding=UTF-8 Referencing "CRS definitions" createlang plpgsql --dbname=Referencing --username=Geotoolkit
Run geotk-epsg as below:
java -jar geotk-epsg.jar create jdbc:postgresql://localhost/Referencing Geotoolkit --schema=epsg
Cleanup:
vacuumdb --full --analyze --username Geotoolkit --host localhost Referencing psql -c 'ALTER USER \"Geotoolkit\" WITH NOCREATEDB' Referencing
Run geotk-setup.
Click on the "EPSG" tab. Click on the "Use a specific database"
radio button. In the URL field, type "jdbc:postgresql://localhost/Referencing".
In the user field, type "Geotoolkit". Finally click on the "Apply"
button.
If the geotk-setup graphical application can not be executed, an alternative is
to store manually an EPSG/DataSource.properties file in the Geotoolkit data directory
(see CONFIGURATION_FILE
for more information) with the following content (to be adapted to your actual configuration):
# # Connection parameters to the EPSG database. # URL = jdbc:postgresql://localhost/Referencing user = Geotoolkit
Alternatively you can also register a JNDI datasource with the "jdbc/EPSG" name.