For things like simple filters and comparisons in a where clause, is there any way of representing a location value? For example, something like:
https://data.seattle.gov/rescource/82su-5fxf.json?location='LOCATION (Seattle, 47.612237, -122.290868)'
The documentation mentions that other geographic data can be represented as Well-known Text (WKT) and you can use that in things like simple filters and comparisons, however as far as I can find, there doesn't seem to be a WKT representation of location values.
It's probably intended for users to use things like within_circle
rather than directly comparing the values and I've seen the note on the documentation page that location is a legacy datatype, so it would make sense if there wasn't a way.
I personally would use something like within_circle
in an app, but I'm working on writing a haskell SODA bindings library, so I just want to make it available (although discouraged) if it is possible. I wouldn't want the bindings to prevent a valid call from being made.