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

Optimize WFS getFeatures depending on the outputFormat

eblondel opened this issue · comments

To optimize the WFS getFeatures, two internal properties are added:

  • read_features: required for objects that are not already sf objects, most of the cases, with the exception of CSV output formats for which geometry is empty. In this case, we return immediatly the data as tibble
  • validate_features: true for GML WFS default output formats. For JSON and CSV however, we do not need to coerce again data, so it will be set to TRUE.