ishare 技术 通用空间数据模型 20110719 sun
TRANSCRIPT
![Page 1: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/1.jpg)
通用空间数据模型Geometry & Feature
by Sun
2011.7.19
![Page 2: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/2.jpg)
空间数据模型
几何结构(Geometry) 地理要素(Feature)
![Page 3: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/3.jpg)
诸侯割据
各种GIS引擎• ArcGIS• SuperMap• …
各种数据模型• {"x":1,"y":2}• {"type":"POINT","points":[{"x":1,"y":2}]}
![Page 4: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/4.jpg)
货币流通
AB
CX
![Page 5: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/5.jpg)
秦灭六国
Geometry• WKT
Feature• geometry:String• attributes:Object
![Page 6: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/6.jpg)
统一货币
WktDialectWKT <-> Geometry JSON• getGeometryJson(String):String• toWkt(String):String
FeatureDialectFeature <-> Feature JSON• getFeatureJson(Feature):String• toFeature(String):Feature
![Page 7: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/7.jpg)
圆形方孔钱
读/写WKT <-> 坐标数组WKT <-> 坐标数组• POINT <-> [x,y]• LINESTRING <-> [ [[x1,y1],[x2,y2]...] ]• MULTILINESTRING• POLYGON
![Page 8: iShare 技术 通用空间数据模型 20110719 Sun](https://reader035.vdocuments.pub/reader035/viewer/2022082202/55a8e5021a28ab782f8b4574/html5/thumbnails/8.jpg)
谢谢!