-
Notifications
You must be signed in to change notification settings - Fork 4
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
update example in request-params.Rmd #160
Comments
This layer was temporaly removed from EMODnet due to lifewatch/marineregions-issues#13 - we will update the maritime boundaries product in the next release. I would say better to not use layers from Human Activities as anything with a political content is more prone to change / disappear. In general layers should not be taken down but I wouldn't be surprised if it happens again without notification. Not sure I have a solution. I will look for a layer that works as an example |
Thank you! I'll wait for an update from you then. 🙏 |
@salvafern Friendly reminder 😸 |
@salvafern any update? 😺 |
@salvafern friendly reminder 🙂 |
Apologies for overlooking this. I cannot find an example outside human activities, it might be that it is the only lot that uses featureID. An example in human activities is the layer "pipelines": library(EMODnetWFS)
wfs <- emodnet_init_wfs_client("human_activities")
#> Loading ISO 19139 XML schemas...
#> Loading ISO 19115 codelists...
#> ✔ WFS client created successfully
#> ℹ Service: "https://ows.emodnet-humanactivities.eu/wfs"
#> ℹ Version: "2.0.0"
emodnet_get_layers(
wfs = wfs,
layers = "pipelines",
featureID = "pipelines.1",
reduce_layers = TRUE
)
#> Simple feature collection with 1 feature and 13 fields
#> Geometry type: MULTILINESTRING
#> Dimension: XY
#> Bounding box: xmin: -5.87186 ymin: 35.99551 xmax: -5.836784 ymax: 36.12588
#> Geodetic CRS: WGS 84
#> gml_id id status medium operator size_in length_m year from_loc to_loc
#> 1 pipelines.1 <NA> Active <NA> <NA> <NA> 15467.17 <NA> <NA> <NA>
#> country_co country notes the_geom
#> 1 ES Spain <NA> MULTILINESTRING ((-5.87186 ... Created on 2024-06-25 with reprex v2.1.0 I added a new branch and updated the article. But there are other places in the package where the Maritime Boundaries layer is mentioned (vignette EMODnetWFS and one of the test). |
Thank you!! I removed the example from the main vignette. It's a pity! |
* fix: switch example layer maritimebnds to pipelines #160 * docs: remove outdate example --------- Co-authored-by: salvafern <[email protected]>
We have this example code in a pkgdown article
However "martimebnds" seems to no longer be a layer for this service.
@salvafern I have two questions
sortBy
, enough features forstartIndex
to be interesting,propertyName
to be useful, and it needs geometry to demonstrate filtering by a box. Also how can we choose one that doesn't disappear?https://github.com/EMODnet/EMODnetWFS/blob/main/vignettes/articles/request-params.Rmd
The text was updated successfully, but these errors were encountered: