Api session items heights: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
"coordinates" : [ [ [ [ 657093.832562376, 6800274.005242179 ], [ 657093.832562376, 6799461.8964563515 ], [ 657905.9006092999, 6799461.8964563515 ], [ 657905.9006092999, 6800274.005242179 ], [ 657093.832562376, 6800274.005242179 ] ] ] ] | "coordinates" : [ [ [ [ 657093.832562376, 6800274.005242179 ], [ 657093.832562376, 6799461.8964563515 ], [ 657905.9006092999, 6799461.8964563515 ], [ 657905.9006092999, 6800274.005242179 ], [ 657093.832562376, 6800274.005242179 ] ] ] ] | ||
}, | }, | ||
"version" : | "version" : 2 | ||
}, { | }, { | ||
"id" : 1, | "id" : 1, | ||
| Line 27: | Line 27: | ||
"coordinates" : [ [ [ [ 657905.9006092999, 6800274.005242179 ], [ 657905.9006092999, 6799461.8964563515 ], [ 658717.9686562237, 6799461.8964563515 ], [ 658717.9686562237, 6800274.005242179 ], [ 657905.9006092999, 6800274.005242179 ] ] ] ] | "coordinates" : [ [ [ [ 657905.9006092999, 6800274.005242179 ], [ 657905.9006092999, 6799461.8964563515 ], [ 658717.9686562237, 6799461.8964563515 ], [ 658717.9686562237, 6800274.005242179 ], [ 657905.9006092999, 6800274.005242179 ] ] ] ] | ||
}, | }, | ||
"version" : | "version" : 11 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
| Line 87: | Line 87: | ||
!Description | !Description | ||
|- | |- | ||
|changed | | changed | ||
|Boolean | | Boolean | ||
| | | | ||
|- | |- | ||
|envelope | | envelope | ||
|Envelope | | Envelope | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|pointAreaM2 | | pointAreaM2 | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|pointWidth | | pointWidth | ||
|int[] | | int[] | ||
| | | | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]]s ID | | [[Source]]s ID | ||
|- | |- | ||
|square | | square | ||
|MultiPolygon | | MultiPolygon | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 132: | Line 132: | ||
!Description | !Description | ||
|- | |- | ||
|type | | type | ||
|String | | String | ||
|[[#Api Model MultiPolygon|MultiPolygon]] | | [[#Api Model MultiPolygon|MultiPolygon]] | ||
|- | |- | ||
|coordinates | | coordinates | ||
|double[][][][] | | double[][][][] | ||
|array of [[#Api Model Polygon|Polygon]]s; [[#Api Model Polygon|Polygon]] is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] | | array of [[#Api Model Polygon|Polygon]]s; [[#Api Model Polygon|Polygon]] is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] | ||
|} | |} | ||
Revision as of 11:44, 8 June 2026
API Endpoint: /api/session/items/heights/
Edit items with events described at Api session event editor map.
Default Query:
https://engine.tygron.com/api/session/items/heights/?f=JSON&token=API_TOKENExample Response:
[ {
"id" : 0,
"name" : "1",
"pointAreaM2" : 16.0,
"pointWidth" : [ 125, 0 ],
"sourceIDs" : [ 8 ],
"square" : {
"type" : "MultiPolygon",
"coordinates" : [ [ [ [ 657093.832562376, 6800274.005242179 ], [ 657093.832562376, 6799461.8964563515 ], [ 657905.9006092999, 6799461.8964563515 ], [ 657905.9006092999, 6800274.005242179 ], [ 657093.832562376, 6800274.005242179 ] ] ] ]
},
"version" : 2
}, {
"id" : 1,
"name" : "2",
"pointAreaM2" : 16.0,
"pointWidth" : [ 125, 0 ],
"sourceIDs" : [ 8 ],
"square" : {
"type" : "MultiPolygon",
"coordinates" : [ [ [ [ 657905.9006092999, 6800274.005242179 ], [ 657905.9006092999, 6799461.8964563515 ], [ 658717.9686562237, 6799461.8964563515 ], [ 658717.9686562237, 6800274.005242179 ], [ 657905.9006092999, 6800274.005242179 ] ] ] ]
},
"version" : 11
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/heights/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/heights/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/heights/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/heights/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/heights/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/heights/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/heights-foo/?crs=3857&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/heights/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/heights/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/heights/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/heights/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/heights/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/heights/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/heights/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/heights/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/heights/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/heights/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/heights/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/heights/?f=ZIPSMILE&token=API_TOKENApi Model GeometryCollection
API Model description of GeometryCollection
| Name | Type | Description |
|---|
Api Model HeightSector
API Model description of HeightSector
| Name | Type | Description |
|---|---|---|
| changed | Boolean | |
| envelope | Envelope | |
| id | int | |
| name | String | |
| pointAreaM2 | double | |
| pointWidth | int[] | |
| sourceIDs | int[] | Sources ID |
| square | MultiPolygon | |
| version | int |
Api Model MultiPolygon
API Model description of MultiPolygon
| Name | Type | Description |
|---|---|---|
| type | String | MultiPolygon |
| coordinates | double[][][][] | array of Polygons; Polygon is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] |