Skip to content

Commit 0497cce

Browse files
authored
Merge pull request #3 from stac-api-extensions/pv/fix-cql2-text-example-styling
fix cql2-text example styling
2 parents ddaaefa + d270ad3 commit 0497cce

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ This example uses the queryables definition in (Interaction with Endpoints)(#int
484484
Note that `filter-lang` defaults to `cql2-text` in this case. The parameter `filter-crs` defaults
485485
to `http://www.opengis.net/def/crs/OGC/1.3/CRS84` for a STAC API.
486486

487-
```http
487+
```
488488
filter=id='LC08_L1TP_060247_20180905_20180912_01_T1_L1TP' AND collection='landsat8_l1tp'
489489
```
490490

@@ -520,7 +520,7 @@ OGC API Features filters only operate against a single collection already.
520520

521521
#### Example 2: GET with cql2-text
522522

523-
```http
523+
```
524524
filter=collection = 'landsat8_l1tp'
525525
AND eo:cloud_cover <= 10
526526
AND datetime >= TIMESTAMP('2021-04-08T04:39:23Z')
@@ -672,7 +672,7 @@ a tiny sliver of data.
672672

673673
#### Example 3: AND cql2-text (GET)
674674

675-
```http
675+
```
676676
filter=sentinel:data_coverage > 50 AND eo:cloud_cover < 10
677677
```
678678

@@ -706,7 +706,7 @@ This uses the same queryables as Example 4.
706706

707707
#### Example 4: OR cql2-text (GET)
708708

709-
```http
709+
```
710710
filter=sentinel:data_coverage > 50 OR eo:cloud_cover < 10
711711
```
712712

@@ -762,7 +762,7 @@ This queryables JSON Schema is used in these examples:
762762

763763
#### Example 5: GET with cql2-text
764764

765-
```http
765+
```
766766
filter=prop1 = prop2
767767
```
768768

@@ -790,7 +790,7 @@ have any overlap between them.
790790

791791
#### Example 6: T_INTERSECTS cql2-text (GET)
792792

793-
```http
793+
```
794794
filter=datetime T_INTERSECTS INTERVAL('2020-11-11T00:00:00Z', '2020-11-12T00:00:00Z')
795795
```
796796

@@ -818,7 +818,7 @@ format uses GeoJSON geometries.
818818

819819
#### Example 7: S_INTERSECTS cql2-text (GET)
820820

821-
```http
821+
```
822822
filter=S_INTERSECTS(geometry,POLYGON((-77.0824 38.7886,-77.0189 38.7886,-77.0189 38.8351,-77.0824 38.8351,-77.0824 38.7886)))
823823
```
824824

@@ -853,7 +853,7 @@ logical operator.
853853

854854
#### Example 8: S_INTERSECTS cql2-text (GET)
855855

856-
```http
856+
```
857857
filter=S_INTERSECTS(geometry,POLYGON((-77.0824 38.7886,-77.0189 38.7886,-77.0189 38.8351,-77.0824 38.8351,-77.0824 38.7886))) OR S_INTERSECTS(geometry,POLYGON((-79.0935 38.7886,-79.0290 38.7886,-79.0290 38.8351,-79.0935 38.8351,-79.0935 38.7886)))
858858
```
859859

@@ -909,7 +909,7 @@ either of those properties.
909909

910910
#### Example 9: cql2-text (GET)
911911

912-
```http
912+
```
913913
filter=sentinel:data_coverage > 50 OR landsat:coverage_percent < 10 OR (sentinel:data_coverage IS NULL AND landsat:coverage_percent IS NULL)
914914
```
915915

@@ -953,7 +953,7 @@ The BETWEEN operator allows for checking if a numeric value is within a specifie
953953

954954
#### Example 10: cql2-text (GET)
955955

956-
```http
956+
```
957957
filter=eo:cloud_cover BETWEEN 0 AND 50
958958
```
959959

@@ -978,7 +978,7 @@ The LIKE operator allows for pattern-based string matching.
978978

979979
#### Example 11: cql2-text (GET)
980980

981-
```http
981+
```
982982
filter=mission LIKE 'sentinel%'
983983
```
984984

@@ -1008,11 +1008,11 @@ insensitive representation whereby the expressions `CASEI('Straße')`, `CASEI('s
10081008

10091009
#### Example 12: cql2-text (GET)
10101010

1011-
```http
1011+
```
10121012
filter=CASEI(provider) = CASEI('coolsat')
10131013
```
10141014

1015-
```http
1015+
```
10161016
filter=CASEI(provider) = CASEI('Straße')
10171017
```
10181018

@@ -1064,7 +1064,7 @@ defined in the Accent and Case-insensitive Comparison conformance class. In the
10641064

10651065
#### Example 13: cql2-text (GET)
10661066

1067-
```http
1067+
```
10681068
filter=ACCENTI(provider) = ACCENTI('tiburón')
10691069
```
10701070

0 commit comments

Comments
 (0)