Closed timwis closed 8 years ago
@ajturner, any suggestions?
@chelm may know too?
I'm not entirely sure - but by nomenclature I would presume that POLYGON
is the right query, and the SODA Doc example only has a single polygon of the multipolygon. Kind of like a one-element array.
Polygon!
Okay, thanks guys!
SODA2 supports
within_polygon()
(docs). Example query:$where=within_polygon(location, 'MULTIPOLYGON (((-87.637714 41.887275, -87.613681 41.886892, -87.625526 41.871555, -87.637714 41.887275)))')
Should this use Geoservice's
Multipoint
orPolygon
query?Example
Multipoint
:Example
Polygon
:Aesthetically, it looks more like
Multipoint
, but considering it's standard WKT (MULTIPOLYGON),Polygon
may be the direct translation.