S-57 data
More to come
Basics
- Import with v.in.ogr
- There is a some info and links on the Export for GpsDrive wiki page
Obtaining data
Worldwide
- ...
Cananda
- ...
USA
- Free ENCs for the USA from NOAA
- (see the Gpsdrive page above)
Accessing S-52 symbology
S-57 is the data format. The S-52 standard contains the standardized coloring and symbology for electronic navigation charts
- Interface to display imported S-57 data using S-52's coloring and
- With the OpenEV plugin (functional)
- As a QGIS plugin (wishlist)
libS52
- GPL library
- housed in OpenEV CVS as contrib/S52/
How to build
- Get source code from http://openev.cvs.sourceforge.net/openev/contrib/S52/
- Install build dependencies
- Install OpenGL and X11 -dev packages build dependencies. (X11/Xlib.h and GL/gl.h)
- PROJ.4 for proj_api.h?
- Build it:
make # for s52glx simple test program make default # for libS52
Run simple s52glx test program
- Edit s52test.conf with the full path to your ENC datafile (*.000 file)
- Run it with ./s52glx and you should see a new window with all layers rendered
OpenEV S52 plugin
- Copy libS52.so to GDAL's lib directory
- Set environment variables
export S57_CSV=/usr/share/gdal export OGR_S57_OPTIONS="LNAM_REFS:ON,UPDATES:ON,\ SPLIT_MULTIPOINT:ON,PRESERVE_EMPTY_NUMBERS:ON,\ RETURN_LINKAGES:ON"
- test:
openev/openev/gvtest -ogr=../../gpsdrive/ENC_ROOT/US3NY01M/US3NY01M.000
-OR-
openev/contrib/S52/s52testdyn (s52test.conf will need ENC path ajusted)
Testing
- s52glxsimple
- edit S52/s52test.conf with the full path to your downloaded ENC dataset (the .000 file)
- OpenEV plugin