iho-ohi / S-100-Validation-Checks

S-100 Github repository for Validation Check development.
15 stars 1 forks source link

Part 7 checks which can be enforced by Part 10x data formats #23

Open rmalyankar opened 10 months ago

rmalyankar commented 10 months ago

The following Part 7 checks can potentially be enforced in some data formats without executing explicit validation checks. By that I mean that ordinary XML schema-validation might be able to detect violations in an S-100 GML dataset.

I don't have anything more definite to say about this at this point of time, it would take more time to explore this and obviously it's worth following up only if there is actual interest in adopting such an approach.

S100_Dev0078 The associated SC_CRS must be linked at the GM_Aggregate level and not directly to a DirectPosition S100_Dev0079 The use of the indirect position (GM_PointRef) is not permitted S100_Dev0080 The types of interpolation is one of the types defined in S-100 S100_Dev0082 GM_SurfaceInter[po]lation uses either none or planar interpolation S100_Dev0083 [G]M_Surface Patch uses a single interpolation to define the shape and position of the associated GM_Surface primitives S100_Dev0084 A GM_Polygon uses planar interpolation S100_Dev0085 A GM_Curve is composed of one or more curve segments S100_Dev0091 A GM_Surface must be subtyped as a GM_Polygon S100_Dev0092 A GM_SurfaceBoundary consists of references to a combination of at least one exterior GM_Ring and zero or more interior GM_Rings S100_Dev0094 A GM_Point can only contain one point S100_Dev0096 A GM_MultiPoint only contains points S100_Dev0097 An S100_ArcByCenterPoint start angle must be in degrees and is limited to the range [0.0, 360.0] S100_Dev0098 An S100_ArcByCenterPoint angular distance must be in degrees and is limited to the range [-360.0, +360.0]

rmalyankar commented 4 months ago

If checks which are actually enforced elsewhere at a "lower" level are included among the S-100 checks, I recommend designating them as "Abstract" at the "higher" level, with a note saying where they are "realized", so to speak (e.g., "Realized in Part 10a/10b data format checks").

LizHahessy commented 4 months ago

Discussed at VTC 8. Do not believe these checks can be implemented, so propose to close. Will leave this issue live for 2 months to allow for comment, otherwise this issue will be closed.