cql2 0.5.5

Parse, validate, and convert Common Query Language (CQL2) text and JSON
Documentation
1
2
3
    beamMode='ScanSAR Narrow' AND swathDirection='ascending' AND polarization='HH+VV+HV+VH' AND s_intersects(footprint,POLYGON((-77.117938 38.936860,                                     -77.040604 39.995648,                                     -76.910536 38.892912,                                     -77.039359 38.791753,                                     -77.047906 38.841462,                                     -77.034183 38.840655,                                     -77.033142 38.857490,                                     -77.117938 38.936860))) 
(("beamMode" = 'ScanSAR Narrow') AND ("swathDirection" = 'ascending') AND (polarization = 'HH+VV+HV+VH') AND s_intersects(footprint, POLYGON((-77.117938 38.936860,                                     -77.040604 39.995648,                                     -76.910536 38.892912,                                     -77.039359 38.791753,                                     -77.047906 38.841462,                                     -77.034183 38.840655,                                     -77.033142 38.857490,                                     -77.117938 38.936860))))
{"op":"and","args":[{"op":"=","args":[{"property":"beamMode"},"ScanSAR Narrow"]},{"op":"=","args":[{"property":"swathDirection"},"ascending"]},{"op":"=","args":[{"property":"polarization"},"HH+VV+HV+VH"]},{"op":"s_intersects","args":[{"property":"footprint"},{"type":"Polygon","coordinates":[[[-77.117938,38.93686],[-77.040604,39.995648],[-76.910536,38.892912],[-77.039359,38.791753],[-77.047906,38.841462],[-77.034183,38.840655],[-77.033142,38.85749],[-77.117938,38.93686]]]}]}]}