fusionstream
2014-04-10 11:40:45 UTC
Hello all.
I'm glad to say that today, I had a breakthrough of sorts regarding at5
file generations.
Previously, I had used the Navico Insight Map Creator (IMC) to generate
charts populated only with OSM data.
After tinkering around, I have managed to add some basic data from OSeaM
to the chart as well.
I'm working on a tool right now to get it working easily but for those
who need it urgently, these are the steps I used.
1) Get IMC version 0.7.2.0
2) Download the relevant OSM.pbf for your area (IMC will render
everything it finds in the PBF)
3) Generate your shapefiles:
3a) Contours are currently generated using Reefmaster.
3b) Using a custom script, I get the relevant nodes in xml format via
the Overpass API (you should be able to do this locally of course) and
save it to a .osm file
3c) I convert the .osm file to a .shp file (and the other relevant
files). In this case, I used osm2shp.jar (listed on the OSM wiki)
3d) I go into qGis and add the relevant columns to the attribute table
(listed later) and resave the shapefile. As the osm2jar was the only
tool that was working, and it was quite limited, I had to use qGis to
add attributes. Hopefully, I/we can combine all the steps into an easy
to use interface.
4) I go into IMC->View->Processing Modes->Vector Mode Window and add the
relevant shapefiles (reefmaster contours, the OSeaM shapefile) and the
OSM .pbf file. I also change IMC->Advanced Options->Atlas Options->Atlas
Version 12.
5) Click build.... and tada! an at5 file is generated.
I will be refining everything later on and will post an update with a
much better/shorter process, including possible values and mappings to
OSeaM keys/values.
For point data (for port buoys - which is what I used in my test), I add
the following columns/values. IMC doesn't seem to mind extra columns.
L_LIMIT, 0,
U_LIMIT, 19,
COLOR, 19,
RTP_COLOR, 19,
RTP_LIMIT, 15,
WIDTH, 1,
FONT, 15,
MODE, T,
INFO_BOX, abuoy,
VALUE, abuoy,
LAYER, 50,
MAJ_CAT, Nautical,
MIN_CAT, Beacon/Buoy - Lateral,
ICON, RED_LIGHTED_BUOY,
P_ICON, RED_LIGHTED_BUOY,
Almost all of the Keys/Values used are described here:
http://in-touch-with-adventure.de/downloads/InsightMapCreator_0650.pdf
ICON and P_ICON have values that are defined in the IMC->View->Icon
Documentation->Icon Documentation Window. It would appear that custom
icons are thus possible!
With Great Excitement,
Shawn.
I'm glad to say that today, I had a breakthrough of sorts regarding at5
file generations.
Previously, I had used the Navico Insight Map Creator (IMC) to generate
charts populated only with OSM data.
After tinkering around, I have managed to add some basic data from OSeaM
to the chart as well.
I'm working on a tool right now to get it working easily but for those
who need it urgently, these are the steps I used.
1) Get IMC version 0.7.2.0
2) Download the relevant OSM.pbf for your area (IMC will render
everything it finds in the PBF)
3) Generate your shapefiles:
3a) Contours are currently generated using Reefmaster.
3b) Using a custom script, I get the relevant nodes in xml format via
the Overpass API (you should be able to do this locally of course) and
save it to a .osm file
3c) I convert the .osm file to a .shp file (and the other relevant
files). In this case, I used osm2shp.jar (listed on the OSM wiki)
3d) I go into qGis and add the relevant columns to the attribute table
(listed later) and resave the shapefile. As the osm2jar was the only
tool that was working, and it was quite limited, I had to use qGis to
add attributes. Hopefully, I/we can combine all the steps into an easy
to use interface.
4) I go into IMC->View->Processing Modes->Vector Mode Window and add the
relevant shapefiles (reefmaster contours, the OSeaM shapefile) and the
OSM .pbf file. I also change IMC->Advanced Options->Atlas Options->Atlas
Version 12.
5) Click build.... and tada! an at5 file is generated.
I will be refining everything later on and will post an update with a
much better/shorter process, including possible values and mappings to
OSeaM keys/values.
For point data (for port buoys - which is what I used in my test), I add
the following columns/values. IMC doesn't seem to mind extra columns.
L_LIMIT, 0,
U_LIMIT, 19,
COLOR, 19,
RTP_COLOR, 19,
RTP_LIMIT, 15,
WIDTH, 1,
FONT, 15,
MODE, T,
INFO_BOX, abuoy,
VALUE, abuoy,
LAYER, 50,
MAJ_CAT, Nautical,
MIN_CAT, Beacon/Buoy - Lateral,
ICON, RED_LIGHTED_BUOY,
P_ICON, RED_LIGHTED_BUOY,
Almost all of the Keys/Values used are described here:
http://in-touch-with-adventure.de/downloads/InsightMapCreator_0650.pdf
ICON and P_ICON have values that are defined in the IMC->View->Icon
Documentation->Icon Documentation Window. It would appear that custom
icons are thus possible!
With Great Excitement,
Shawn.