Instantiating pynhd.GeoConnex() fails. Has an OGC schema changed? #44
-
When instantiating
I dug a little deeper into the error (coming from My goal is to use TIA for any help you may be able to provide! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Thanks for noting this issue. I have already addressed it, but haven't officially released a new version. I will release a new version over the weekend. In the meanwhile, you need to install all HyRiver packages from source ( That said, one outstanding issue with GeoConnex is CQL and spatial queries, which unfortunately is a server side issue, and we need to wait for the GeoConnex web service developers to address it. However, for simple spatial queries, you can use gcx = GeoConnex("gages")
gages = gcx.bybox(geom.bounds)
gages = gages[gages.within(geom)] This assumes that |
Beta Was this translation helpful? Give feedback.
Thanks for noting this issue. I have already addressed it, but haven't officially released a new version. I will release a new version over the weekend. In the meanwhile, you need to install all HyRiver packages from source (
git
) to make it work.That said, one outstanding issue with GeoConnex is CQL and spatial queries, which unfortunately is a server side issue, and we need to wait for the GeoConnex web service developers to address it. However, for simple spatial queries, you can use
bybox
method ofGeoConnex
class. Then you can use your geometry to only keep the items within your geometry (or any other predicates). For example: