1、 KS X ISO 191251 KSKSKSKS SKSKSKS KSKSKS SKSKS KSKS SKS KS () 1: () KS X ISO 191251 :2007 (2012 ) 2007 11 30 http:/www.kats.go.krKS X ISO 191251:2007 : ( ) ( ) ( ) : (ISO/TC211) () ( ) () () () () KS X ISO 191251:2007 : (http:/www.standard.go.kr) : :2002 8 30 :2007 11 30 :2012 12 28 : 2012-0797 : (I
2、SO/TC211) ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X ISO 191251:2007 i ii .1 1 1 2 1 3 1 4 .2 5 .4 6 () 5 6.1 .5 6.2 WKT(Well-known Text) 18 6.3 WKB(Well-known Binary) .20 6.4 WKB 23 A() KS X ISO 19107 26 A.1 .26 A.2 26 A.3 .27 B() .33 B.1 .33 B.2 33 B.3 .33 B.4 34 B.5 35 B.6 36 B.7 36 B.8
3、 .37 38 .39 KS X ISO 191251:2007 ii . KS X ISO 191251 . A(), KS X ISO 19107 B(), KS X ISO 191251:2007 (2012 ) () 1: () Geographic informationSimple feature access Part 1:Common architecture 2004 1 ISO 191251, Geographic informationSimple feature access Part 1:Common architecture , . 1 ISO 191251 ()
4、, . . a) (syntax) b) c) d) , UDT . , . 2 , ISO 19125 . 3 . . KS X ISO 191251:2007 2 KS X ISO 19107, KS X ISO 19111, 4 . 4.1 (boundary) , . . 4.2 (buffer) (4.14) (4.8) KS X ISO 19107 4.3 (coordinate) N (4.17) KS X ISO 19111. 4.4 (4.6) KS X ISO 19107 4.5 (4.6)KS X ISO 19111 4.6 KS X ISO 19111 4.7 1 (4
5、.15) . . , ( ) . , . “ ” . KS X ISO 19107. 4.8 (4.5) (4.3) KS X ISO 19107 KS X ISO 191251:2007 3 4.9 (4.7) (4.17)KS X ISO 19107 4.10 KS X ISO 19107. 4.11 (feature) . KS X ISO 19107. 4.12 (4.11) , , . KS X ISO 19107. 4.13 (4.1) (4.15) . , ( ) . 0 . (3D), 3 . KS X ISO 19107. 4.14 , . KS X ISO 19107. 4
6、.15 , , (4.14) KS X ISO 191251:2007 4 . , , , KS X ISO 19107. 4.16 (4.14) (4.8) . (4.1) . KS X ISO 19107. 4.17 0 (4.15) KS X ISO 19107. 4.18 2 (4.11) 4.19 (4.7) KS X ISO 19107 4.20 2 (4.15) KS X ISO 19107. 5 API (Application Program Interface) COM (Component Object Model) CORBA (Common Object Reques
7、t Broker Architecture) DCE (Distributed Computing Environment) DCOM (Distributed Component Object Model) DE-9IM Dimensionally Extended Nine-Intersection Model IEEE (Institute of Electrical and Electronics Engineers, Inc.) NDR Little Endian byte order encoding OLE (Object Linking and Embedding) RPC (
8、Remote Procedure Call) SQL (Structured Query Language) SRID (Spatial Reference System Identifier) XDR Big Endian byte order encoding UDT (User Defined Type) UML (Unified Modeling Language) WKB Well-Known Binary(: ) KS X ISO 191251:2007 5 6 () 6.1 6.1.1 . UML . 1 . , , . , . 1 1 , , , , , 0, 1, 2 . ,
9、 . 1 (leaf collection class) . (non-leaf) . , , . ( ) . 6.1.2 6.1.2.1 . ( ) . 2 0, 1, 2 . KS X ISO 191251:2007 6 . 6.1.2.2 Dimension ( ):Integer . 2 . GeometryType ( ):String . . SRID ( ):Integer . Envelope ( ):Geometry . (MINX, MINY), (MAXX, MINY), (MAXX, MAXY), (MINX, MAXY), (MINX, MINY) . AsText
10、( ):String WKT(Well-known Text) . AsBinary ( ):Binary WKB(Well-known Binary) . IsEmpty ( ):Integer 1(TRUE) . True . IsSimple ( ):Integer 1(TRUE) . . Boundary ( ):Geometry ( 1, section 3.12.2). , ( 1, section 3.12.2). 6.1.2.3 . Equals(anotherGeometry:Geometry):Integer anotherGeometry 1(TRUE) . Disjoi
11、nt(anotherGeometry:Geometry):Integer anotherGeometry 1(TRUE) . Intersects(anotherGeometry:Geometry):Integer anotherGeometry 1(TRUE) . Touches(anotherGeometry:Geometry):Integer anotherGeometry 1(TRUE) . Crosses(anotherGeometry:Geometry):Integer anotherGeometry 1(TRUE) . Within(anotherGeometry:Geometr
12、y):Integer anotherGeometry 1(TRUE) . Contains(anotherGeometry:Geometry):Integer anotherGeometry 1(TRUE) . Overlaps(anotherGeometry:Geometry):Integer anotherGeometry 1(TRUE) . Relate(anotherGeometry:Geometry, intersectionPatternMatrix:String):Integer another Geometry 1(TRUE) , intersectionPatternMatr
13、ix 2 , . KS X ISO 191251:2007 7 6.1.2.4 Distance(anotherGeometry:Geometry):Double , 2 . Buffer(distance:Double):Geometry . . ConvexHull( ):Geometry . Intersection(anotherGeometry:Geometry):Geometry anotherGeometry . Union(anotherGeometry:Geometry):Geometry anotherGeometry . Difference(anotherGeometr
14、y:Geometry):Geometry anotherGeometry . SymDifference(anotherGeometry:Geometry):Geometry anotherGeometry . 6.1.3 6.1.3.1 . , . . , . 6.1.3.2 NumGeometries( ):Integer . GeometryN(N:integer):Geometry N . 6.1.4 6.1.4.1 0 . x- y- . . 6.1.4.2 X( ):Double x- Y( ):Double y- 6.1.5 KS X ISO 191251:2007 8 0 .
15、. . ( ) . . 6.1.6 6.1.6.1 , 1 . , , . f:a,b R 2 , D = a, b = x Ra x b homeomorphic 1 . ( 1, section 3.12.7.3). c Curve, a, b = c.Domain, c.IsSimple ( x1, x2 (a,b x1 x2 f(x1) f(x2) ( x1, x2 a,(b) x1 x2 f(x1) f(x2)() ( 1, section 3.12.7.3). . . ( 1, section 3.12.3.2). . 6.1.6.2 Length( ):Double Startp
16、oint( ):Point Endpoint( ):Point IsClosed( ):Integer 1(TRUE) StartPoint( ) = EndPoint( ) IsRing( ):Integer StartPoint( ) = EndPoint( ) ( ) 1(TRUE) . 6.1.7 , , 6.1.7.1 . . 2 . KS X ISO 191251:2007 9 . 2 c) . 2 d) . a) b) c) , () d) s e 2 6.1.7.2 NumPoints( ):Integer PointN(N:Integer):Point N . 6.1.8 6
17、.1.8.1 3 1 . . . ( ) , . “mod 2” . , ( 1, section 3.12.3.2). . . . 6.1.8.2 IsClosed( ):Integer 1(TRUE) StartPoint( ) = EndPoint( ). Length( ):Double s s s s e e e e KS X ISO 191251:2007 10 6.1.9 . 3 a)s1, e2, b)s1, e1, c) . a) b) 2 c) 2 , s e 3 6.1.10 6.1.10.1 2 . 0 patch . 3 . Polyhedral stitching
18、. 3 polyhedral ( 1, section 3.12.9.1, 3.12.9.3). ( 1, section 3.12.9.4). . 6.1.10.2 Area( ):Double Centroid( ):Point , . . PointOnSurface( ):Point 6.1.11 6.1.11.1 1 0 . s 1e 2s 2 s 1e 1e 2s 2e 2e 1s 1e 1s 2KS X ISO 191251:2007 11 . . a) . b) . c) , . P Polygon, c1, c2 P.Boundary( ), c1 c2, p, q Poin
19、t, p, q c1, p q, p c2 q c2 d) , . P Polygon, P = Closure (Interior(P) e) . f) 1 . . , . a) c) . . 4 . a) 1 b) 2 c) 3 4 1, 2, 3 5 . 5 KS X ISO 191251:2007 12 6.1.11.2 ExteriorRing( ):LineString . NumInteriorRing( ):Integer . InteriorRingN(N:Integer):LineString N . 6.1.12 6.1.12.1 2 . . . . . . 6.1.12.2 Area( ):Double Centroid( ):Point . . PointOnSurface( ):Point 6.1.13 . . a) 2 . M MultiPolygon, Pi, Pj M.Geometries( ), ij,
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1