Hi,
Is there some sample code for displaying the BSB Nautical Chart Format (.kap)
Thanks
Hi,
Is there some sample code for displaying the BSB Nautical Chart Format (.kap)
Thanks
Kevin,
I am sorry to say that we have not supported (wrapped) this format up to now, I will add this item to our tracking work system.
If possible, could you send us the .kap file you are trying? That would be helpful.
Any more questions just feel free to let me know.
Thanks.
Yale
Kevin,
The nautical charts deserve a bit more explanation. We recently created a plug-in that integrates FDO, GDal, and OGR which support nautical charts. We release that kind of at your own risk as we rely heavily on the third party dlls to do all of the work. If there are formats that work for you great if some don’t then there is not much we can do. Some of the formats we want and will support in-house eventually.
Ok enough of the prep. nautical charts fall into that risky category as the extension will render the lines in many cases but when people think of the charts they already have a pre-defined color scheme and look to them they expect. You will not get that from the extension and our current support for them. What I suggest if you want charts is that you check out a third part company that renders these on demand as an image. You can then wrap that with our Overlay or Layer. The nautical chart vendors put allot of time into rendering them and keeping the data up to date and at this point we are not there. I know we have customers doing this now with success as we have had the vendors on here asking questions about integration. Wrapping their stuff is pretty easy as I have seen. If you e-mail support@thinkgeo.com and ask them to forward to David I can suggest a company or two.
David
We have decided to go with S-57 charts so this is no longer an issue. However, do you know if there is any label data attached to S-57 files? If so, any idea how i display it? Currently I am getting the following to display areas but I would like to include depth data.
S57A = New S57FeatureLayer("C:\SpatialData\S-57\Pacific Coast\CA270389.000", Nothing, Nothing, "Area")
S57A.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country2
S57A.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20
Thanks
Hi!
I’ve seen what happends with S57 charts. And as David says, people(including myselft) think that they will look just like they look on other viewers. But it’s OK, all data is there, you just have to change the featureClassName and you’ll get al the points and lines you need to render the chart by yourself.
Anyway About BSB’s I’ve tried to open one of this files, and i’m having a problem here. Throws a TargetInvocationException what am I doing wrong?
Dim bsbOverlay As LayerOverLay
Dim bsbLayer As GdalRasterLayer
bsbLayer = New GdalRasterLayer(“C:\BSB\231-3\231-3.kap”)
bsbLayer.Open()
bsbOverlay=New LayerOverlay
bsbOverlay.Layers.Add(bsbLayer)
mapEnc.Overlays.Add(bsbOverlay)
mapEnc.Refresh()
Ingemar,
Thanks for your help and posts. Just want to let you know that currently, we do not support the BSB file format in FDO extension.
Sorry for the inconvinience now.
Thanks.
Yale