Live Demo: https://openenc.com
Njord consumes S-57 IHO transfer standard for digital hydrographic data. S-57 format chart data is published by hydrographic offices such as NOAA. https://www.charts.noaa.gov/ENCs/ENCs.shtml
Njord displays ENC charts but does NOT strictly follow the IHO S-52 specifications for chart content and display.
S-52 display and S-57 data standards can be found here: https://iho.int/en/standards-and-specifications
- OpenJDK 17
- Gdal 3.6.2 with Java bindings
- Note: Homebrew Gdal does not come with Java bindings and the osgeo tap is broken.
See docs/gdal/README.md for building gdal from source with java via
brew
.
- Note: Homebrew Gdal does not come with Java bindings and the osgeo tap is broken.
See docs/gdal/README.md for building gdal from source with java via
- PostGIS 13
- See chart_server_db/README.md for running PostGIS in a container for development.
Bring up database
cd chart_server_db
docker-compose up
Bring up api
./gradlew :chart_server:run
Bring up front end with hot-reload
./gradlew :web:jsRun --continuous
export JAVA_OPTS="-Dcharts.webStaticContent=$HOME/source/njord/web/build/dist/js/productionExecutable -Djava.library.path=/opt/gdal/jni"
export CHART_SERVER_OPTS="-Dcharts.adminUser=test"
./gradlew :chart_server:installDist
./gradlew :web:jsBrowserDistribution
./chart_server/build/install/chart_server/bin/chart_server