In the use of Nettopologysuite (NTS), it is similar to why New Polygon () has LINEARRINGA+LINEARRINGB heavy
The problem of loading has been bothering me until I have a deep understanding of the vector data model.
Here is a simple vector data inheritance diagram of your own drawing:
What needs special attention is linearring, some articles say that only the simple structure of the closed linestring is linearring,
When you actually create the linearring in NTS, there is no problem with the Ogrlinearring class found on the Gdal website. I don't know
What is the source of this statement, if there is can answer, please leave a message, thank you.
Next share a look at the different points of surface, polygon and polyhetralsurface, not necessarily, everyone pointed out:
①surface refers to the general two-bit plane, which is surrounded by a simple outer boundary line.
②polygon inherits from surface, and on its basis provides a type that is surrounded by outer and inner boundaries. An inner ring bounded by the inner boundary,
We call it a hole.
③polyhetralsurface I translated as a multipatch surface, similar to the two-dimensional expansion into three-dimensional. The tin triangulation network should be a subclass of Polyhetralsurface.
A simple vector data model