cql2 0.5.5

Parse, validate, and convert Common Query Language (CQL2) text and JSON
Documentation
1
2
3
S_WITHIN(POLYGON Z ((-49.88024 0.5 -75993.341684, -1.5 -0.99999 -100000.0, 0.0 0.5 -0.333333, -49.88024 0.5 -75993.341684), (-65.887123 2.00001 -100000.0, 0.333333 -53.017711 -79471.332949, 180.0 0.0 1852.616704, -65.887123 2.00001 -100000.0)), "geometry") 
s_within(POLYGON Z ((-49.88024 0.5 -75993.341684, -1.5 -0.99999 -100000.0, 0.0 0.5 -0.333333, -49.88024 0.5 -75993.341684), (-65.887123 2.00001 -100000.0, 0.333333 -53.017711 -79471.332949, 180.0 0.0 1852.616704, -65.887123 2.00001 -100000.0)), geometry)
{"op":"s_within","args":[{"type":"Polygon","coordinates":[[[-49.88024,0.5],[-1.5,-0.99999],[0.0,0.5],[-49.88024,0.5]],[[-65.887123,2.00001],[0.333333,-53.017711],[180.0,0.0],[-65.887123,2.00001]]]},{"property":"geometry"}]}