All the geometries supported by the Application server can be expressed using WKT. Figure 1 shows examples for all supported geometry types. For storing spatial data the Application Server supports 2D and 3D geometries, i.e. geometries without or with elevation values. Evaluation values are not used in any calculation. The application server uses a single elevation value for the whole geometry that is specified alongside the geometry. 4D geometries with an m value are not supported.
Empty i.e. undefined geometries can be defined as shown in Listing 2
POINT (50.12345678901234 60.12345678901234) POINT (50.12345678901234 60.12345678901234 70.12345678901234)
LINESTRING (50 60, 51 61) LINESTRING (50 60 70, 51 61 71)
POLYGON ((50 60, 51 61, 62 72, 50 60)) POLYGON ((50 60 70, 51 61 71, 62 72 320, 50 60 70))
MULTIPOINT ((50 60), (51 61)) MULTIPOINT ((50 60 70), (51 61 71))
MULTILINESTRING ((50 60, 51 61), (10 20, 11 21, 12 22)); MULTILINESTRING ((50 60 70, 51 61 71), (10 20 30, 11 21 31, 12 22 32));
MULTIPOLYGON (((50 60, 51 61, 62 72, 50 60)), ((10 20, 11 21, 12 22, 13 23, 10 20)))"; MULTIPOLYGON (((50 60 70, 51 61 71, 62 72 320, 50 60 70)), ((10 20 30, 11 21 31, 12 22 32, 13 23 33, 10 20 30)))"; |
Listing 1: Examples for a WKT representation of geometries
POINT EMPTY LINESTRING EMPTY POLYGON EMPTY MULTIPOINT EMPTY MULTILINESTRING EMPTY MULTIPOLYGON EMPTY |
Listing 2: Specification of empty geometries