Skip to content

Commit

Permalink
Merge pull request #541 from tdrwenski/fix-epsg-database-path
Browse files Browse the repository at this point in the history
Revert change to database path
  • Loading branch information
tdrwenski authored Oct 3, 2024
2 parents 1662945 + ccb1836 commit 7c03450
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tds/src/main/java/thredds/server/config/TdsInit.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ public void onApplicationEvent(ContextRefreshedEvent event) {
configCatalogInitializer.init(readMode, (PreferencesExt) mainPrefs.node("configCatalog"));

// set epsg database location for edal-java (comes from apache-sis)
EpsgDatabasePath.DB_PATH = (new File(tdsContext.getThreddsDirectory(), "/cache/edal-java/epsg/").getPath());
EpsgDatabasePath.DB_PATH =
(new File(tdsContext.getThreddsDirectory(), "/cache/edal-java/epsg/").toURI().toString());
startupLog.info("EPSG database path: " + EpsgDatabasePath.DB_PATH);
startupLog.info("TdsInit complete");
}
Expand Down

0 comments on commit 7c03450

Please sign in to comment.