eblondel / ows4R

R Interface for OGC Web-Services (OWS)

Home Page:https://eblondel.github.io/ows4R/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pass exact argument to findFeatureTypeByName() in getFeatures()?

maelle opened this issue · comments

ft <- self$capabilities$findFeatureTypeByName(typeName)

Related to #56

Actually, no we should not expect to pass exact parameter, in that case, implementing the OGC service the getFeatures should exactly match the feature type name. Same for other WxS services. exact should be always TRUE. If we would let user specify exact = FALSE, this would mean either to read features for 1st matched feature type name (as it is set now, wrongly), or let read everything which is not expected.
An OGC WFS getFeatures method should necessarily be done over a single coverage here. I will dig further into the standard to see if we can expect more than one type names, in which case this could be implemented and performing GetFeatures over multiple feature types.

Thank you 🙏