Skip to content

Instantiating pynhd.GeoConnex() fails. Has an OGC schema changed? #44

Answered by cheginit
05michaelallen asked this question in Q&A
Discussion options

You must be logged in to vote

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 of GeoConnex class. Then you can use your geometry to only keep the items within your geometry (or any other predicates). For example:

gcx = GeoConnex("gages")
gages = gcx.bybox(geom.bounds)
g…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cheginit
Comment options

@05michaelallen
Comment options

@cheginit
Comment options

Answer selected by 05michaelallen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants