geopython / OWSLib

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models.
https://owslib.readthedocs.io
BSD 3-Clause "New" or "Revised" License
381 stars 273 forks source link

[WFS 2.0.0] getfeature argument to specify SRS/CRS? #910

Open digital-idiot opened 6 months ago

digital-idiot commented 6 months ago

As of version '0.29.2' there is no way to specify CRS/SRS when calling WebFeatureService_2_0_0.getfeature . See:

https://github.com/geopython/OWSLib/blob/f8e3ff65ad70d72a640e2b7883459b8aa8fcb4b6/owslib/feature/wfs200.py#L220-L287)

However both in WebFeatureService_1_1_0 and WebFeatureService_1_0_0 have the following parameter to specify SRS:

srsname: string 
             EPSG code to request the data in 

https://github.com/geopython/OWSLib/blob/f8e3ff65ad70d72a640e2b7883459b8aa8fcb4b6/owslib/feature/wfs110.py#L216-L269

https://github.com/geopython/OWSLib/blob/f8e3ff65ad70d72a640e2b7883459b8aa8fcb4b6/owslib/feature/wfs100.py#L208-L255

jnicho02 commented 4 months ago

ditto #905

lukas-paulun commented 1 month ago

I would also be interested in an answer to that question