Geotype - WKT - Polygons

It was brought up today at the working group meeting that it might be beneficial to have the geotype header in the polygons table standardized.

Currently, the only two geography types that can be specified are “sewer shed” or “health region”.

It was brought up that we may wish to standardize to a specific geography type list:
0 = GEOMETRY
1 = POINT
2 = CURVE
3 = LINESTRING
4 = SURFACE
5 = POLYGON
6 = COLLECTION
7 = MULTIPOINT
8 = MULTICURVE
9 = MULTILINESTRING
10 = MULTISURFACE
11 = MULTIPOLYGON

This led to a discussion around creating a parallel structure to shedType and siteType in the polygons table.

However, because we already record (or ask to record) the well-known text (WKT) file with the polygon, this information would be duplicated since the number denoting the geography type is already in the WKT. It was suggested that we may still add the above list as parts for validation purposes.

@Sorin @jeandavidt - does this summarize the conversion well?

Indeed, that was the gist of the discussion. See, for example, the thread at well known text - Why do single-part WKT polygon vertices require double parentheses? - Geographic Information Systems Stack Exchange for examples of WKT and why it would be superfluous to store the type in the geoType column.
On the other hand, since we have only two values for the geoType and the field is mandatory, it remains to be discussed if we should expand the list, to make it comprehensive for what we want to store in it, or remove its mandatory-ness.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.