8
通用空间数据模型 Geometry & Feature by Sun 2011.7.19

iShare 技术 通用空间数据模型 20110719 Sun

  • Upload
    jun-sun

  • View
    524

  • Download
    5

Embed Size (px)

Citation preview

Page 1: iShare 技术 通用空间数据模型 20110719 Sun

通用空间数据模型Geometry & Feature

by Sun

2011.7.19

Page 2: iShare 技术 通用空间数据模型 20110719 Sun

空间数据模型

几何结构(Geometry) 地理要素(Feature)

Page 3: iShare 技术 通用空间数据模型 20110719 Sun

诸侯割据

各种GIS引擎• ArcGIS• SuperMap• …

各种数据模型• {"x":1,"y":2}• {"type":"POINT","points":[{"x":1,"y":2}]}

Page 4: iShare 技术 通用空间数据模型 20110719 Sun

货币流通

AB

CX

Page 5: iShare 技术 通用空间数据模型 20110719 Sun

秦灭六国

Geometry• WKT

Feature• geometry:String• attributes:Object

Page 6: iShare 技术 通用空间数据模型 20110719 Sun

统一货币

WktDialectWKT <-> Geometry JSON• getGeometryJson(String):String• toWkt(String):String

FeatureDialectFeature <-> Feature JSON• getFeatureJson(Feature):String• toFeature(String):Feature

Page 7: iShare 技术 通用空间数据模型 20110719 Sun

圆形方孔钱

读/写WKT <-> 坐标数组WKT <-> 坐标数组• POINT <-> [x,y]• LINESTRING <-> [ [[x1,y1],[x2,y2]...] ]• MULTILINESTRING• POLYGON

Page 8: iShare 技术 通用空间数据模型 20110719 Sun

谢谢!