-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plot simulation on nautical map, fix #93 #95
Conversation
ax = plt.axes(projection=crs) | ||
|
||
# base map layer | ||
ax.add_wms(wms='https://sgx.geodatenzentrum.de/wms_topplus_open',layers=['web'])#quote source: Kartendarstellung: © Bundesamt für Kartographie und Geodäsie (2021), Datenquellen: https://gdz.bkg.bund.de/index.php/default/wms-topplusopen-wms-topplus-open.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about using this as optional source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, i also have other sources at hand. But this one is pretty. I tried to find nautical charts but couldnt find a suitable service.
i'd still recommend using wms, its way nicer result and easier to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openseamap maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know any wms for that. We could probably download the map
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have no idea about WMS, whats so special about this?
is it possible to draw geodata from geojson?
https://gitlab.com/civilmrcc/onefleet/-/tree/develop/data?ref_type=heads
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WMS just works out of the box. With tiles i struggled with zoom level. I just kinda dislike tiles.. but of course if you have something that works, lets do it. But why not wms?
Geojson is of course possible and i want to include the SAR zones. But not sure how to do that in a meaning full way. its not yet worth the effort.
README.md
Outdated
6. Build the enhanced Docker container: | ||
```bash | ||
cd opendrift | ||
docker build -t opendrift-owslib . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would call it different , more generic, as we most likely add more stuff later.
d6c4830
to
6ada733
Compare
6ada733
to
5b2b155
Compare
The tests probably fail because the IP of the test servers has been blocked from pulling more current and wind data. I will ignore that for now and merge. |
plotting of map tiles from wms requires new library
apt-get install python3-owslib
or
pip3 install OWSLib