You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this @hgriesbauer. I think it's due to an internal inconsistency in the way the record is formatted - there is a layer_name field and an object_name field, and it seems that it is not consistent which one to use in the WFS call...
The 'record' name returned by bcdc_search() doesn't seem to work in bcdc_query_geodata() in certain cases. For example, this fails:
bcdc_search("Silviculture")%>%
.[5]%>% # select 'results-planting'
names() %>% # get name
bcdc_query_geodata() # pass to query
This also fails:
bcdc_query_geodata("results-planting")
However, the code works if I use the actual object name from the catalogue ("WHSE_FOREST_VEGETATION.RSLT_FOREST_COVER_SILV_SVW"):
bcdc_query_geodata("WHSE_FOREST_VEGETATION.RSLT_FOREST_COVER_SILV_SVW")
Am I doing something wrong, or have I missed something in the instructions? Thanks!
The text was updated successfully, but these errors were encountered: