| 40 | |
| 41 | == Extents of the test images |
| 42 | |
| 43 | 1) In first case the raster images are somewhere in Chine where the longitude is greater than 90. Polygons which contain completely all the pixels are in the PostGIS EWKT format: |
| 44 | |
| 45 | Image A: |
| 46 | SRID:4326;POLYGON (( 115 30, 115 33, 117 33, 117 30, 115 30 )) |
| 47 | |
| 48 | Image B: |
| 49 | SRID:4326;POLYGON (( 114 29, 114 34, 118 34, 118 29, 114 29 )) |
| 50 | |
| 51 | |
| 52 | Image A has width=2 and height=3 and it can be constructed from an array: |
| 53 | [Red,Red,Green,Green,Blue,Blue] |
| 54 | |
| 55 | Image B has width=4 and height=5 and can be constructed from an array: |
| 56 | [Grey,Grey,Grey,Grey,Grey,Red,Red,Grey,Grey,Green,Green,Grey,Grey,Blue,Blue,Grey,Grey,Grey,Grey,Grey] |
| 57 | |