Wow, this looks exactly the sort of thing i need. I’ve been charged with setting up a charity website for someone kayaking long distance for charity, and we want a live map (either from a SPOT or a Garmin InReach).
I would LOVE to be able to plot over the top of https://map.openseamap.org/ is that possible do you think? there are some nice layers on that opensea map – water depths and live marine traffic! etc.
glad you like this!
This has been a little less active from the development part, but I remember i have added the seamap as an overlay. This will only work if you use the shortcode. (The block editor is not supporting it.) Depending on your skills you can try and figure it out on your own, or I will help you tomorrow and explain how to set it up.
The sea map can only be added as an overlay, to looks similar to the ofiicial openseamap just use the openstreetmap as a baselayer.
Okay found it!
try to use
this should do the job.
wow, thanks so much for the fast response. we don’t actually have our Spot device yet. i’m just doing some ground work to help my client decide on hardware first of all.
out of interest, do you know if Spot have any ‘sample’ XML feeds that can be used for testing (until we get out own device and feed)? or do you have anything.
finally – please could you clarify this, i’m not quite understanding this bit… “The sea map can only be added as an overlay, to looks similar to the ofiicial openseamap just use the openstreetmap as a baselayer.”
OpenSeaMap is an free nautical chart, and also a touristical land map. The basemap is rendered with Mapnik using the OpenStreetMap-data. This map is extended with nautical data that is saved in the OSM-Database as well. OpenLayers is used to overlay additional nautical Information, which can be displayed in a popup by clicking on the map.
The opensea map you see is in fact the openstreetmap basemap and an overlay.
The plugin cannot display the opensea map on its own but you have to use a basemap. You can use any map that can be configured with the plugin. See the config file for a full list of supported maps
I’m not aware of any sample xml feed.
you can still install the plugin and play with different maps settings even without using any xml feed.
It will show you the map and an error, but for the first look and feel it should be enough. You can import some GPX tracks if you like to see something more.
and if needed I can provide you with some database dumps of some Iceland tours of Thomas (https://thomas.rigert.com/2021-island/)
much appreciated! i will start setting things up, and hopefully we’ll have a Spot device with feed running soon.
hi there, thanks for this. i’m finally getting onto this – my kayaker has only just got his Spot device. i’ve installed the plugin, and put your shortcode in [spotmap map-overlays=openseamap] – am i supposed to do something with line 153 in the file your mention above??
the feed from the spot isn’t set up yet, but i can see a map – it’s not quite the map i see on https://map.openseamap.org/ – do i have to specify/activate layers or something?
one thing – i can’t drag the map around with the mouse – is that supposed to happen? i can zoom in/out but pan doesn’t work?
also, i note the XML feeds from spot only return the last 7 days data. if the trip is longer than this is there any way to create an overview ‘entire’ progress map with saved data??
This is unfortunately the design from Spot. So you need to make sure the xml feed is properly configured. Fetched points are stored internally in WordPress and will stay there forever.
The file only shows all options you can choose as a basemap. You don’t have to edit the file. Unless you like to use a custom tile provider.
In which way does the map look different? If you choose the basic OSM map it should look pretty similar.
thank you. yes the base map looks right, but on http://map.openseamap.org/ i can turn on other layers like water depth, marine traffic, depth profile etc. – am i able to do that via the shortcode? (if so how). thanks!
hi again, any advice on turning on the other openseamap layers? have been looking at the maps.json file but can’t figure out how to turn on harbours, depth profile layers etc.
thank you. am so close! our project launches in the next couple of weeks.
I see what you mean regarding the additional layers.
There is no obvious instruction how to add these additional layers.
I’m currently quite busy with my real job. what parts are you interested in to see? the harbors? the waterdepth or the marine profile?
harbours looks quite easy to do to be added as a second overlay inside the maps.json whereas the marine profile is using WMS. This needs to be investigated if it can be used for overlays as simple as it can be used for the basemap.
harbours would be a great start (and might give me a pointer on how to edit the maps.json file to play with other layers). marine profile would be amazing if possible, and even marine traffic would be interesting for our project.
one thing. i used [spotmap map-overlays=openseamap] and i note the SEAMARKS (which are referenced in the maps.json) file still don’t show up on my map.
can i send you a link privately?
Hi @tallhat ,
I cannot follow you entirely. On the second image I can see the mapoverlay enabled and on the otherone it’s not. Did you use the same shortcode for it?
You can share the link in private via mail towards <my-first-name>@timoe.de. I think you’ll solve the riddle 🙂
- This reply was modified 3 months, 4 weeks ago by techtimo.
- You must be logged in to reply to this topic.