Skip to main content
Question

OGC valid polygon

  • October 3, 2014
  • 2 replies
  • 62 views

According to OGC SFS (Implementation Standard for Geographic information - Simple feature access - Part 1: Common architecture, version 1.2.1) in a valid polygon "No two Rings in the boundary cross and the Rings in the boundary of a Polygon may intersect at a Point but only as a tangent". So the POLYGON ((0 0, 0 10, 10 10, 10 0, 5 0, 3 3, 5 6, 7 3, 5 0, 0 0)) seems to be OGC valid. Why GeometryValidator treats it as invalid?
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • October 3, 2014
Hi,

 

 

Because the boundary is a twisted and closed LineString; the Polygon does not consist of two Rings - an exterior Ring and an interior Ring.

 

This is valid.

 

POLYGON ((0 0,0 10,10 10,10 0,0 0),(5 0,3 3,5 6,7 3,5 0))

 

 

Takashi

  • Author
  • October 3, 2014
Thank you very much for your quick response!