ST_BRepSolid
Добавлено: 14 фев 2018, 14:52
А как это выглядит в wkt? Что надо скормить ST_BRepFromText?
Геоинформационные системы (ГИС) и Дистанционное зондирование Земли
https://gis-lab.info/forum/
Update1 gml:Solid xsdWKT is now defined by ISO 19162 (Geographic information — Well known text for coordinate reference systems), also known as “WKT 2”. This page describes the older format defined by OGC 01-009 (Coordinate Transformation Services), referenced as “WKT 1”. See ISO 19162 instead for the recommended format to use in new softwares.
Код: Выделить всё
BREPSOLID Z (COMPOUNDSURFACE Z (
((0 0 0, 0 1 0, 0 1 1, 0 0 1, 0 0 0)),
((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)),
((1 1 1, 1 0 1, 0 0 1, 0 1 1, 1 1 1)),
((1 1 1, 1 0 1, 1 0 0, 1 1 0, 1 1 1)),
((1 1 1, 1 1 0, 0 1 0, 0 1 1, 1 1 1))
))
Код: Выделить всё
POLYHEDRALSURFACE Z ( PATCHES
((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)),
((0 0 0, 0 1 0, 0 1 1, 0 0 1, 0 0 0)),
((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)),
((1 1 1, 1 0 1, 0 0 1, 0 1 1, 1 1 1)),
((1 1 1, 1 0 1, 1 0 0, 1 1 0, 1 1 1)),
((1 1 1, 1 1 0, 0 1 0, 0 1 1, 1 1 1))
)