Api session items measures: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Api session items [[Measure]] Endpoints. | |||
Manipulate items with event: [[Api session event editor measure|editormeasure]]. | Manipulate items with event: [[Api session event editor measure|editormeasure]]. | ||
Default Query: | |||
<pre>https://engine.tygron.com/api/session/items/measures/?f=JSON&token=API_TOKEN</pre> | |||
Example Response: | |||
<pre>[ { | |||
"actualHeightChangeM3" : null, | |||
"buildingIDs" : [ 1405 ], | |||
"buildingPermitProcessed" : null, | |||
"center" : { | |||
"type" : "Point", | |||
"coordinates" : [ 659086.4055532492, 6799091.1227987455, 55.402 ] | |||
}, | |||
"clientActionEvents" : { }, | |||
"confirmationsRequired" : false, | |||
"constructionCostsFixed" : -1.0, | |||
"constructionCostsM3" : 0.0, | |||
"custom" : false, | |||
"dependencyIDs" : [ ], | |||
"description" : "", | |||
"geoTiffSpatials" : [ ], | |||
"gridSpatials" : [ ], | |||
"id" : 0, | |||
"imageName" : "measure.png", | |||
"imageVersion" : 0, | |||
"incomeFixed" : 0.0, | |||
"landOwnerPermissions" : { }, | |||
"leveeSpatials" : [ ], | |||
"name" : "Measure", | |||
"ownerID" : 2, | |||
"serverActionEvents" : { }, | |||
"sourceIDs" : [ ], | |||
"state" : "NOTHING", | |||
"terrainSpatials" : [ { | |||
"id" : 1, | |||
"innerHeight" : 49.559317009580646, | |||
"innerPolygon" : { | |||
"type" : "MultiPolygon", | |||
"coordinates" : [ [ [ [ 659142.0614489131, 6799231.181467466 ], [ 659142.7646998417, 6799263.655208195 ], [ 659061.5757606464, 6799265.410856503 ], [ 659060.8741338538, 6799232.937108732 ], [ 659142.0614489131, 6799231.181467466 ] ] ] ] | |||
}, | |||
"measureEditType" : "WATER", | |||
"outerPolygon" : { | |||
"type" : "MultiPolygon", | |||
"coordinates" : [ [ [ [ 659041.5063109348, 6799223.619708879 ], [ 659155.0675307526, 6799218.219617132 ], [ 659158.153389331, 6799283.110281363 ], [ 659044.592169513, 6799288.5104164 ], [ 659041.5063109348, 6799223.619708879 ] ] ] ] | |||
}, | |||
"relative" : false, | |||
"terrainTypeID" : 3 | |||
}, { | |||
"id" : 2, | |||
"innerHeight" : 0.0, | |||
"innerPolygon" : { | |||
"type" : "MultiPolygon", | |||
"coordinates" : [ ] | |||
}, | |||
"measureEditType" : "FLATTEN", | |||
"outerPolygon" : { | |||
"type" : "MultiPolygon", | |||
"coordinates" : [ ] | |||
}, | |||
"relative" : false, | |||
"terrainTypeID" : 1 | |||
} ], | |||
"upgradeSpatials" : [ ], | |||
"version" : 4 | |||
}, { | |||
"actualHeightChangeM3" : null, | |||
"buildingIDs" : [ 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419 ], | |||
"buildingPermitProcessed" : null, | |||
"center" : { | |||
"type" : "Point", | |||
"coordinates" : [ 659256.3616506538, 6799141.129437042, 58.377 ] | |||
}, | |||
"clientActionEvents" : { }, | |||
"confirmationsRequired" : false, | |||
"constructionCostsFixed" : -1.0, | |||
"constructionCostsM3" : 0.0, | |||
"custom" : false, | |||
"dependencyIDs" : [ ], | |||
"description" : "", | |||
"geoTiffSpatials" : [ ], | |||
"gridSpatials" : [ ], | |||
"id" : 1, | |||
"imageName" : "measure.png", | |||
"imageVersion" : 0, | |||
"incomeFixed" : 0.0, | |||
"landOwnerPermissions" : { }, | |||
"leveeSpatials" : [ ], | |||
"name" : "Measure (2)", | |||
"ownerID" : 2, | |||
"serverActionEvents" : { }, | |||
"sourceIDs" : [ ], | |||
"state" : "NOTHING", | |||
"terrainSpatials" : [ ], | |||
"upgradeSpatials" : [ ], | |||
"version" : 1 | |||
} ]</pre> | |||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
| Line 44: | Line 138: | ||
ZIPSMILE: | ZIPSMILE: | ||
<pre>https://engine.tygron.com/api/session/items/measures/?f=ZIPSMILE&token=API_TOKEN</pre> | <pre>https://engine.tygron.com/api/session/items/measures/?f=ZIPSMILE&token=API_TOKEN</pre> | ||
{{article end|seealso=*[[Api Content Items]]}} | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor measure]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 14:29, 1 April 2026
Api session items Measure Endpoints.
Manipulate items with event: editormeasure.
Default Query:
https://engine.tygron.com/api/session/items/measures/?f=JSON&token=API_TOKEN
Example Response:
[ {
"actualHeightChangeM3" : null,
"buildingIDs" : [ 1405 ],
"buildingPermitProcessed" : null,
"center" : {
"type" : "Point",
"coordinates" : [ 659086.4055532492, 6799091.1227987455, 55.402 ]
},
"clientActionEvents" : { },
"confirmationsRequired" : false,
"constructionCostsFixed" : -1.0,
"constructionCostsM3" : 0.0,
"custom" : false,
"dependencyIDs" : [ ],
"description" : "",
"geoTiffSpatials" : [ ],
"gridSpatials" : [ ],
"id" : 0,
"imageName" : "measure.png",
"imageVersion" : 0,
"incomeFixed" : 0.0,
"landOwnerPermissions" : { },
"leveeSpatials" : [ ],
"name" : "Measure",
"ownerID" : 2,
"serverActionEvents" : { },
"sourceIDs" : [ ],
"state" : "NOTHING",
"terrainSpatials" : [ {
"id" : 1,
"innerHeight" : 49.559317009580646,
"innerPolygon" : {
"type" : "MultiPolygon",
"coordinates" : [ [ [ [ 659142.0614489131, 6799231.181467466 ], [ 659142.7646998417, 6799263.655208195 ], [ 659061.5757606464, 6799265.410856503 ], [ 659060.8741338538, 6799232.937108732 ], [ 659142.0614489131, 6799231.181467466 ] ] ] ]
},
"measureEditType" : "WATER",
"outerPolygon" : {
"type" : "MultiPolygon",
"coordinates" : [ [ [ [ 659041.5063109348, 6799223.619708879 ], [ 659155.0675307526, 6799218.219617132 ], [ 659158.153389331, 6799283.110281363 ], [ 659044.592169513, 6799288.5104164 ], [ 659041.5063109348, 6799223.619708879 ] ] ] ]
},
"relative" : false,
"terrainTypeID" : 3
}, {
"id" : 2,
"innerHeight" : 0.0,
"innerPolygon" : {
"type" : "MultiPolygon",
"coordinates" : [ ]
},
"measureEditType" : "FLATTEN",
"outerPolygon" : {
"type" : "MultiPolygon",
"coordinates" : [ ]
},
"relative" : false,
"terrainTypeID" : 1
} ],
"upgradeSpatials" : [ ],
"version" : 4
}, {
"actualHeightChangeM3" : null,
"buildingIDs" : [ 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419 ],
"buildingPermitProcessed" : null,
"center" : {
"type" : "Point",
"coordinates" : [ 659256.3616506538, 6799141.129437042, 58.377 ]
},
"clientActionEvents" : { },
"confirmationsRequired" : false,
"constructionCostsFixed" : -1.0,
"constructionCostsM3" : 0.0,
"custom" : false,
"dependencyIDs" : [ ],
"description" : "",
"geoTiffSpatials" : [ ],
"gridSpatials" : [ ],
"id" : 1,
"imageName" : "measure.png",
"imageVersion" : 0,
"incomeFixed" : 0.0,
"landOwnerPermissions" : { },
"leveeSpatials" : [ ],
"name" : "Measure (2)",
"ownerID" : 2,
"serverActionEvents" : { },
"sourceIDs" : [ ],
"state" : "NOTHING",
"terrainSpatials" : [ ],
"upgradeSpatials" : [ ],
"version" : 1
} ]
Limit Queries
version=100:
https://engine.tygron.com/api/session/items/measures/?version=100&token=API_TOKEN
Pseudo-Mercator:
https://engine.tygron.com/api/session/items/measures/?crs=3857&token=API_TOKEN
Degrees:
https://engine.tygron.com/api/session/items/measures/?crs=4326&token=API_TOKEN
Amersfoort / RD New:
https://engine.tygron.com/api/session/items/measures/?crs=28992&token=API_TOKEN
Local Coordinates:
https://engine.tygron.com/api/session/items/measures/?crs=LOCAL&token=API_TOKEN
bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/measures/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKEN
FOO:
https://engine.tygron.com/api/session/items/measures-foo/?crs=3857&token=API_TOKEN
Show Queries
max version:
https://engine.tygron.com/api/session/items/measures/version/?token=API_TOKEN
size:
https://engine.tygron.com/api/session/items/measures/size/?token=API_TOKEN
Formats
HTML:
https://engine.tygron.com/api/session/items/measures/?f=HTML&token=API_TOKEN
JSON:
https://engine.tygron.com/api/session/items/measures/?f=JSON&token=API_TOKEN
GEOJSON:
https://engine.tygron.com/api/session/items/measures/?f=GEOJSON&token=API_TOKEN
GPKG:
https://engine.tygron.com/api/session/items/measures/?f=GPKG&token=API_TOKEN
DXF:
https://engine.tygron.com/api/session/items/measures/?f=DXF&token=API_TOKEN
CSV:
https://engine.tygron.com/api/session/items/measures/?f=CSV&token=API_TOKEN
SSV:
https://engine.tygron.com/api/session/items/measures/?f=SSV&token=API_TOKEN
SMILE:
https://engine.tygron.com/api/session/items/measures/?f=SMILE&token=API_TOKEN
ZIPJSON:
https://engine.tygron.com/api/session/items/measures/?f=ZIPJSON&token=API_TOKEN
ZIPSMILE:
https://engine.tygron.com/api/session/items/measures/?f=ZIPSMILE&token=API_TOKEN