Workflow Geography JSON Object
Valid geography types include:
- Point
- MultiPoint
- LineString
- MultiLineString
- Polygon
- MultiPolygon
Valid subtypes include:
- XY: longitude and latitude
- XYZ: longitude, latitude, and elevation
- XYM: longitude, latitude, and measurement
- XYZM: longitude, latitude, elevation, and measurement.
The following table lists valid Type and Subtype values.
Type | Subtype | Examples |
Point | XY XYZ XYM XYZM |
{ "Data": { "Type": "Point", "Subtype": "XY", "Point": [-118.1883175, 33.8200657] } } { "Data": { "Type": "Point", "Subtype": "XYZ", "Point": [-118.1883175, 33.8200657, 0.221995164] } } { "Data": { "Type": "Point", "Subtype": "XYM", "Point": [-118.1883175, 33.8200657, 1] } } { "Data": { "Type": "Point", "Subtype": "XYZM", "Point": [-118.1883175, 33.8200657, 0.896932575, 1] } } |
MultiPoint | XY XYZ XYM XYZM |
{ "Data": { "Type": "MultiPoint", "Subtype": "XY", "PointSet": [ [-118.1883175, 33.8200657], [0.16697064841490736, 0.5503350130982394] ] } } |
LineString | XY XYZ XYM XYZM |
{ "Data": { "Type": "LineString", "Subtype": "XY", "PointSet": [ [0.17294171926236793, 0.65775293608091445], [0.92285135477914071, 0.07359651153608994], [0.18529121586368011, 0.53199571023322445] ] } } |
MultiLineString | XY XYZ XYM XYZM |
{ "Data": { "Type": "MultiLineString", "Subtype": "XY", "GroupOfPointSets": [ [ [0.6683648697418928, 0.429861613749462], [0.75141340808543067, 0.76232690399621006] ], [ [0.0065031107545379134, 0.33545180751730308], [0.0024814326327673311, 0.034715038274747805] ], [ [0.78037880676816163, 0.403408117314525], [0.51080912980754356, 0.16181868042881539], [0.0011373530147305471, 0.60913248667918729], [0.40802531522141083, 0.93078338770697977] ], [ [0.96409857317996139, 0.38191891851924309], [0.50572901801472947, 0.49619433819139114] ] ] } } |
Polygon | XY XYZ XYM XYZM |
{ "Data": { "Type": "Polygon", "Subtype": "XY", "GroupOfPointSets": [ [ [0.59873455185384239, 0.85453520103103253], [0.87055149528689291, 0.47941852057325585] ], [ [0.013994568499733958, 0.19136677225649673], [0.48285078838600348, 0.13706229912911649] ], [ [0.0865546409443741, 0.66409824121002958], [0.35925249353016375, 0.53055442801236852] ] ] } } |
MultiPolygon | XY XYZ XYM XYZM |
{ "Data": { "Type": "MultiPolygon", "Subtype": "XY", "MultiGroupOfPointSets": [ [ [ [0.64183082554574633, 0.89559294231962083], [0.056982011095146654, 0.48394158924182018], [0.524874802457576, 0.39064463059913584], [0.39493147721278082, 0.30733299129984015] ], [ [0.54905173953112762, 0.591789341341606], [0.9914221074392191, 0.35311286540381276] ], [ [0.11665615677677847, 0.26157671737558058], [0.9834464192313358, 0.80832064142838145] ] ], [ [ [0.70158597207702045, 0.63249078655265778], [0.86118041484671659, 0.034688180794328533], [0.025880792655926566, 0.46915129780264164], [0.4335139628655808, 0.55103188639089085] ], [ [0.94781413206263176, 0.3903645679309799], [0.067986815733828962, 0.87673756381344869], [0.64140861790692838, 0.30371575770141357], [0.025158201821687726, 0.487853198073736] ], [ [0.27503068571678863, 0.28090523242992593], [0.62310425081434861, 0.1382180588032203], [0.32979161633634552, 0.22625841769681238] ], [ [0.66504777626369516, 0.90750454501598354], [0.27628370527005, 0.4916271574290596], [0.91556688394191066, 0.22740560920322575] ] ], [ [ [0.64270759496963936, 0.1454175562343642], [0.0093400389930885473, 0.0344125274729042] ], [ [0.4580607965858936, 0.0557235046549344], [0.957130667733555, 0.84389959082188992] ], [ [0.33631420896216957, 0.1586871716001477], [0.52380252560777707, 0.11468454362577039], [0.71170424749688443, 0.854291238754192] ], [ [0.77372351930184458, 0.63055531896210992], [0.53328995571159288, 0.40518324561658464] ] ], [ [ [0.30269917021631226, 0.63492199714990427], [0.45421582574686775, 0.36083301639223148], [0.5616467527866581, 0.15723025759553083] ], [ [0.027122469165885107, 0.72040852285940593], [0.59913497213233957, 0.91993261357766232] ], [ [0.49599106167256418, 0.29437571870832507], [0.99074567434878358, 0.4655593677729179] ] ] ] } } |