Skip to content

Commit

Permalink
EpsgDatabasePath should not be a URI and add log info
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski committed Jan 22, 2024
1 parent d031899 commit d8b08fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tds/src/main/java/thredds/server/config/TdsInit.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +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/").toURI().toString());
EpsgDatabasePath.DB_PATH = (new File(tdsContext.getThreddsDirectory(), "/cache/edal-java/epsg/").getPath());
startupLog.info("EPSG database path: " + EpsgDatabasePath.DB_PATH);
startupLog.info("TdsInit complete");
}
}
Expand Down

0 comments on commit d8b08fe

Please sign in to comment.