Api session items measures: Difference between revisions
No edit summary |
No edit summary |
||
| (32 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Default Query: | Default Query: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/? | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/?token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
<syntaxhighlight lang="text" copy>[ { | <syntaxhighlight lang="text" copy>[ { | ||
| Line 12: | Line 12: | ||
"center" : { | "center" : { | ||
"type" : "Point", | "type" : "Point", | ||
"coordinates" : [ | "coordinates" : [ 659099.8306622009, 6799253.364940466, 51.497 ] | ||
}, | }, | ||
"clientActionEvents" : { }, | "clientActionEvents" : { }, | ||
| Line 64: | Line 64: | ||
} ], | } ], | ||
"upgradeSpatials" : [ ], | "upgradeSpatials" : [ ], | ||
"version" : | "version" : 5 | ||
}, { | }, { | ||
"actualHeightChangeM3" : null, | "actualHeightChangeM3" : null, | ||
| Line 95: | Line 95: | ||
"terrainSpatials" : [ ], | "terrainSpatials" : [ ], | ||
"upgradeSpatials" : [ ], | "upgradeSpatials" : [ ], | ||
"version" : | "version" : 2 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
Version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/?version=100&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/?version=100&token=API_TOKEN</syntaxhighlight> | ||
Pseudo-Mercator: | Pseudo-Mercator: | ||
| Line 108: | Line 108: | ||
Local Coordinates: | Local Coordinates: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/?crs=LOCAL&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/?crs=LOCAL&token=API_TOKEN</syntaxhighlight> | ||
Bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKEN</syntaxhighlight> | ||
FOO: | FOO: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
Attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/attributes/?token=API_TOKEN</syntaxhighlight> | |||
Max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/version/?token=API_TOKEN</syntaxhighlight> | ||
Count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/count/?token=API_TOKEN</syntaxhighlight> | ||
Specific Item by ID: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measures/{id}/?token=API_TOKEN</syntaxhighlight> | |||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 145: | Line 149: | ||
!Description | !Description | ||
|- | |- | ||
|CONSTRUCTION_PLAN | | CONSTRUCTION_PLAN | ||
| | | | ||
|- | |- | ||
|CONSTRUCTION_PLAN_CANCEL | | CONSTRUCTION_PLAN_CANCEL | ||
| | | | ||
|} | |} | ||
| Line 160: | Line 164: | ||
!Description | !Description | ||
|- | |- | ||
|autoMP | | autoMP | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|geoTiffIDs | | geoTiffIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[GeoTIFF|Geo Tiffs]] ID | | [[GeoTIFF|Geo Tiffs]] ID | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|multiPolygon | | multiPolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
|terrainTypeID | | terrainTypeID | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 198: | Line 202: | ||
!Description | !Description | ||
|- | |- | ||
|autoMP | | autoMP | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|multiPolygon | | multiPolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
|overlayIDs | | overlayIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Overlay]]s ID | | [[Overlay]]s ID | ||
|- | |- | ||
|terrainTypeID | | terrainTypeID | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 227: | Line 231: | ||
!Description | !Description | ||
|- | |- | ||
|angleOverride | | angleOverride | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|heightOverride | | heightOverride | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|isRelativeOverride | | isRelativeOverride | ||
|Boolean | | Boolean | ||
| | | | ||
|- | |- | ||
|leveeID | | leveeID | ||
|int | | int | ||
|[[Levee]] ID | | [[Levee]] ID | ||
|- | |- | ||
|multiPolygon | | multiPolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
|sidePolygon | | sidePolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
|topPolygon | | topPolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|} | |} | ||
| Line 277: | Line 281: | ||
!Description | !Description | ||
|- | |- | ||
|actualHeightChangeM3 | | actualHeightChangeM3 | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|buildingIDs | | buildingIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Building]]s ID | | [[Building]]s ID | ||
|- | |- | ||
|buildingPermitProcessed | | buildingPermitProcessed | ||
|Set | | Set | ||
| | | | ||
|- | |- | ||
|center | | center | ||
|Point | | Point | ||
| | | [[Point]] | ||
|- | |- | ||
|clientActionEvents | | clientActionEvents | ||
|Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | ||
| | | Map<[[Action]]Type,java.util.List<nl.tytech.data.core.[[Item]].CodedEvent>> | ||
|- | |- | ||
|confirmationsRequired | | confirmationsRequired | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|constructionCostsFixed | | constructionCostsFixed | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|constructionCostsM3 | | constructionCostsM3 | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|custom | | custom | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|dependencyIDs | | dependencyIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Measure]]s ID | | [[Measure]]s ID | ||
|- | |- | ||
|description | | description | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|geoTiffSpatials | | geoTiffSpatials | ||
|GeoTiffSpatial<nowiki>[]</nowiki> | | GeoTiffSpatial<nowiki>[]</nowiki> | ||
| | | [[GeoTIFF]]Spatial<nowiki>[]</nowiki> | ||
|- | |- | ||
|gridSpatials | | gridSpatials | ||
|GridSpatial<nowiki>[]</nowiki> | | GridSpatial<nowiki>[]</nowiki> | ||
| | | [[Grid]]Spatial<nowiki>[]</nowiki> | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|imageName | | imageName | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|imageVersion | | imageVersion | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|incomeFixed | | incomeFixed | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|landOwnerPermissions | | landOwnerPermissions | ||
|Map<int,Boolean> | | Map<int,Boolean> | ||
| | | | ||
|- | |- | ||
|leveeSpatials | | leveeSpatials | ||
|LeveeSpatial<nowiki>[]</nowiki> | | LeveeSpatial<nowiki>[]</nowiki> | ||
| | | [[Levee]]spatial<nowiki>[]</nowiki> | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|ownerID | | ownerID | ||
|int | | int | ||
|[[Stakeholder]] ID | | [[Stakeholder]] ID | ||
|- | |- | ||
|serverActionEvents | | serverActionEvents | ||
|Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | ||
| | | Map<[[Action]]Type,java.util.List<nl.tytech.data.core.[[Item]].CodedEvent>> | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]]s ID | | [[Source]]s ID | ||
|- | |- | ||
|state | | state | ||
|TimeState | | TimeState | ||
| | | [[Timestate]] | ||
|- | |- | ||
|terrainSpatials | | terrainSpatials | ||
|TerrainSpatial<nowiki>[]</nowiki> | | TerrainSpatial<nowiki>[]</nowiki> | ||
| | | [[Terrain]]spatial<nowiki>[]</nowiki> | ||
|- | |- | ||
|upgradeSpatials | | upgradeSpatials | ||
|UpgradeSpatial<nowiki>[]</nowiki> | | UpgradeSpatial<nowiki>[]</nowiki> | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 394: | Line 398: | ||
!Description | !Description | ||
|- | |- | ||
|clientActionEvents | | clientActionEvents | ||
|Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | ||
| | | Map<[[Action]]Type,java.util.List<nl.tytech.data.core.[[Item]].CodedEvent>> | ||
|- | |- | ||
|confirmationsRequired | | confirmationsRequired | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|constructionCostsFixed | | constructionCostsFixed | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|custom | | custom | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|dependencyIDs | | dependencyIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Measure]]s ID | | [[Measure]]s ID | ||
|- | |- | ||
|description | | description | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|imageName | | imageName | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|imageVersion | | imageVersion | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|incomeFixed | | incomeFixed | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|landOwnerPermissions | | landOwnerPermissions | ||
|Map<int,Boolean> | | Map<int,Boolean> | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|ownerID | | ownerID | ||
|int | | int | ||
|[[Stakeholder]] ID | | [[Stakeholder]] ID | ||
|- | |- | ||
|serverActionEvents | | serverActionEvents | ||
|Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | ||
| | | Map<[[Action]]Type,java.util.List<nl.tytech.data.core.[[Item]].CodedEvent>> | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]]s ID | | [[Source]]s ID | ||
|- | |- | ||
|state | | state | ||
|TimeState | | TimeState | ||
| | | [[Timestate]] | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 470: | Line 474: | ||
!Description | !Description | ||
|- | |- | ||
|BUILDING | | BUILDING | ||
| | | | ||
|- | |- | ||
|RAISE | | RAISE | ||
| | | | ||
|- | |- | ||
|FLATTEN | | FLATTEN | ||
| | | | ||
|- | |- | ||
|WATER | | WATER | ||
| | | | ||
|- | |- | ||
|UPGRADE | | UPGRADE | ||
| | | | ||
|- | |- | ||
|LEVEE | | LEVEE | ||
| | | | ||
|- | |- | ||
|GEOTIFF | | GEOTIFF | ||
| | | | ||
|- | |- | ||
|GRID | | GRID | ||
| | | | ||
|} | |} | ||
| Line 503: | Line 507: | ||
!Description | !Description | ||
|- | |- | ||
|type | | type | ||
|String | | String | ||
|[[ | | [[MultiPolygon]] | ||
|- | |- | ||
|coordinates | | coordinates | ||
|double[][][][] | | double[][][][] | ||
|array of [[ | | array of [[Polygon]]s; [[Polygon]] is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] | ||
|} | |} | ||
| Line 520: | Line 524: | ||
!Description | !Description | ||
|- | |- | ||
|type | | type | ||
|String | | String | ||
|[[ | | [[Point]] | ||
|- | |- | ||
|coordinates | | coordinates | ||
|double[] | | double[] | ||
|x, y, (optional) z | | x, y, (optional) z | ||
|} | |} | ||
| Line 537: | Line 541: | ||
!Description | !Description | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|innerHeight | | innerHeight | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|innerPolygon | | innerPolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
|innerPrep | | innerPrep | ||
|PreparedGeometry | | PreparedGeometry | ||
| | | | ||
|- | |- | ||
|measureEditType | | measureEditType | ||
|MeasureEditType | | MeasureEditType | ||
| | | [[Measure]]EditType | ||
|- | |- | ||
|outerPolygon | | outerPolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
|outerPrep | | outerPrep | ||
|PreparedGeometry | | PreparedGeometry | ||
| | | | ||
|- | |- | ||
|outerRings | | outerRings | ||
|LineString<nowiki>[]</nowiki> | | LineString<nowiki>[]</nowiki> | ||
| | | | ||
|- | |- | ||
|relative | | relative | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|terrainTypeID | | terrainTypeID | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 585: | Line 589: | ||
!Description | !Description | ||
|- | |- | ||
|NOTHING | | NOTHING | ||
| | | | ||
|- | |- | ||
|WAITING_FOR_DATE | | WAITING_FOR_DATE | ||
| | | | ||
|- | |- | ||
|REQUEST_PLOT_OWNER_APPROVAL | | REQUEST_PLOT_OWNER_APPROVAL | ||
| | | | ||
|- | |- | ||
|REQUEST_ZONING_APPROVAL | | REQUEST_ZONING_APPROVAL | ||
| | | | ||
|- | |- | ||
|REQUEST_CONSTRUCTION_APPROVAL | | REQUEST_CONSTRUCTION_APPROVAL | ||
| | | | ||
|- | |- | ||
|CONSTRUCTION_APPROVED | | CONSTRUCTION_APPROVED | ||
| | | | ||
|- | |- | ||
|CONSTRUCTION_DENIED | | CONSTRUCTION_DENIED | ||
| | | | ||
|- | |- | ||
|PENDING_CONSTRUCTION | | PENDING_CONSTRUCTION | ||
| | | | ||
|- | |- | ||
|CONSTRUCTING | | CONSTRUCTING | ||
| | | | ||
|- | |- | ||
|READY | | READY | ||
| | | | ||
|- | |- | ||
|PENDING_UPGRADE | | PENDING_UPGRADE | ||
| | | | ||
|- | |- | ||
|WAITING_FOR_DEMOLISH_DATE | | WAITING_FOR_DEMOLISH_DATE | ||
| | | | ||
|- | |- | ||
|REQUEST_DEMOLISH_ZONING_APPROVAL | | REQUEST_DEMOLISH_ZONING_APPROVAL | ||
| | | | ||
|- | |- | ||
|REQUEST_DEMOLISH_APPROVAL | | REQUEST_DEMOLISH_APPROVAL | ||
| | | | ||
|- | |- | ||
|DEMOLISH_APPROVED | | DEMOLISH_APPROVED | ||
| | | | ||
|- | |- | ||
|DEMOLISH_DENIED | | DEMOLISH_DENIED | ||
| | | | ||
|- | |- | ||
|PENDING_DEMOLISHING | | PENDING_DEMOLISHING | ||
| | | | ||
|- | |- | ||
|DEMOLISHING | | DEMOLISHING | ||
| | | | ||
|- | |- | ||
|DEMOLISH_FINISHED | | DEMOLISH_FINISHED | ||
| | | | ||
|} | |} | ||
| Line 651: | Line 655: | ||
!Description | !Description | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|multiPolygon | | multiPolygon | ||
|MultiPolygon | | MultiPolygon | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
|upgradeID | | upgradeID | ||
|int | | int | ||
|[[Upgrade Type]] ID | | [[Upgrade Type]] ID | ||
|} | |} | ||
Latest revision as of 10:20, 13 November 2026
API Endpoint: /api/session/items/measures/
Edit items with events described at Api session event editor measure.
Default Query:
https://engine.tygron.com/api/session/items/measures/?token=API_TOKENExample Response:
[ {
"actualHeightChangeM3" : null,
"buildingIDs" : [ 1405 ],
"buildingPermitProcessed" : null,
"center" : {
"type" : "Point",
"coordinates" : [ 659099.8306622009, 6799253.364940466, 51.497 ]
},
"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" : 5
}, {
"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" : 2
} ]Limit Queries
Version=100:
https://engine.tygron.com/api/session/items/measures/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/measures/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/measures/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/measures/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/measures/?crs=LOCAL&token=API_TOKENBbox=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_TOKENFOO:
https://engine.tygron.com/api/session/items/measures-foo/?crs=3857&token=API_TOKENGet Queries
Attributes:
https://engine.tygron.com/api/session/items/measures/attributes/?token=API_TOKENMax version:
https://engine.tygron.com/api/session/items/measures/version/?token=API_TOKENCount:
https://engine.tygron.com/api/session/items/measures/count/?token=API_TOKENSpecific Item by ID:
https://engine.tygron.com/api/session/items/measures/{id}/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/measures/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/measures/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/measures/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/measures/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/measures/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/measures/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/measures/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/measures/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/measures/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/measures/?f=ZIPSMILE&token=API_TOKENApi Model ActionType
API Enumeration description of ActionType
| Name | Description |
|---|---|
| CONSTRUCTION_PLAN | |
| CONSTRUCTION_PLAN_CANCEL |
Api Model GeoTiffSpatial
API Model description of GeoTiffSpatial
| Name | Type | Description |
|---|---|---|
| autoMP | boolean | |
| geoTiffIDs | int[] | Geo Tiffs ID |
| id | int | |
| multiPolygon | MultiPolygon | MultiPolygon |
| terrainTypeID | int |
Api Model GeometryCollection
API Model description of GeometryCollection
| Name | Type | Description |
|---|
Api Model GridSpatial
API Model description of GridSpatial
| Name | Type | Description |
|---|---|---|
| autoMP | boolean | |
| id | int | |
| multiPolygon | MultiPolygon | MultiPolygon |
| overlayIDs | int[] | Overlays ID |
| terrainTypeID | int |
Api Model LeveeSpatial
API Model description of LeveeSpatial
| Name | Type | Description |
|---|---|---|
| angleOverride | double | |
| heightOverride | double | |
| id | int | |
| isRelativeOverride | Boolean | |
| leveeID | int | Levee ID |
| multiPolygon | MultiPolygon | MultiPolygon |
| sidePolygon | MultiPolygon | MultiPolygon |
| topPolygon | MultiPolygon | MultiPolygon |
Api Model LineString
API Model description of LineString
| Name | Type | Description |
|---|
Api Model MapMeasure
API Model description of MapMeasure
| Name | Type | Description |
|---|---|---|
| actualHeightChangeM3 | double | |
| buildingIDs | int[] | Buildings ID |
| buildingPermitProcessed | Set | |
| center | Point | Point |
| clientActionEvents | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | Map<ActionType,java.util.List<nl.tytech.data.core.Item.CodedEvent>> |
| confirmationsRequired | boolean | |
| constructionCostsFixed | double | |
| constructionCostsM3 | double | |
| custom | boolean | |
| dependencyIDs | int[] | Measures ID |
| description | String | |
| geoTiffSpatials | GeoTiffSpatial[] | GeoTIFFSpatial[] |
| gridSpatials | GridSpatial[] | GridSpatial[] |
| id | int | |
| imageName | String | |
| imageVersion | int | |
| incomeFixed | double | |
| landOwnerPermissions | Map<int,Boolean> | |
| leveeSpatials | LeveeSpatial[] | Leveespatial[] |
| name | String | |
| ownerID | int | Stakeholder ID |
| serverActionEvents | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | Map<ActionType,java.util.List<nl.tytech.data.core.Item.CodedEvent>> |
| sourceIDs | int[] | Sources ID |
| state | TimeState | Timestate |
| terrainSpatials | TerrainSpatial[] | Terrainspatial[] |
| upgradeSpatials | UpgradeSpatial[] | |
| version | int |
Api Model Measure
API Model description of Measure
| Name | Type | Description |
|---|---|---|
| clientActionEvents | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | Map<ActionType,java.util.List<nl.tytech.data.core.Item.CodedEvent>> |
| confirmationsRequired | boolean | |
| constructionCostsFixed | double | |
| custom | boolean | |
| dependencyIDs | int[] | Measures ID |
| description | String | |
| id | int | |
| imageName | String | |
| imageVersion | int | |
| incomeFixed | double | |
| landOwnerPermissions | Map<int,Boolean> | |
| name | String | |
| ownerID | int | Stakeholder ID |
| serverActionEvents | Map<ActionType,java.util.List<nl.tytech.data.core.item.CodedEvent>> | Map<ActionType,java.util.List<nl.tytech.data.core.Item.CodedEvent>> |
| sourceIDs | int[] | Sources ID |
| state | TimeState | Timestate |
| version | int |
Api Model MeasureEditType
API Enumeration description of MeasureEditType
| Name | Description |
|---|---|
| BUILDING | |
| RAISE | |
| FLATTEN | |
| WATER | |
| UPGRADE | |
| LEVEE | |
| GEOTIFF | |
| GRID |
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] |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|---|---|
| type | String | Point |
| coordinates | double[] | x, y, (optional) z |
Api Model TerrainSpatial
API Model description of TerrainSpatial
| Name | Type | Description |
|---|---|---|
| id | int | |
| innerHeight | double | |
| innerPolygon | MultiPolygon | MultiPolygon |
| innerPrep | PreparedGeometry | |
| measureEditType | MeasureEditType | MeasureEditType |
| outerPolygon | MultiPolygon | MultiPolygon |
| outerPrep | PreparedGeometry | |
| outerRings | LineString[] | |
| relative | boolean | |
| terrainTypeID | int |
Api Model TimeState
API Enumeration description of TimeState
| Name | Description |
|---|---|
| NOTHING | |
| WAITING_FOR_DATE | |
| REQUEST_PLOT_OWNER_APPROVAL | |
| REQUEST_ZONING_APPROVAL | |
| REQUEST_CONSTRUCTION_APPROVAL | |
| CONSTRUCTION_APPROVED | |
| CONSTRUCTION_DENIED | |
| PENDING_CONSTRUCTION | |
| CONSTRUCTING | |
| READY | |
| PENDING_UPGRADE | |
| WAITING_FOR_DEMOLISH_DATE | |
| REQUEST_DEMOLISH_ZONING_APPROVAL | |
| REQUEST_DEMOLISH_APPROVAL | |
| DEMOLISH_APPROVED | |
| DEMOLISH_DENIED | |
| PENDING_DEMOLISHING | |
| DEMOLISHING | |
| DEMOLISH_FINISHED |
Api Model UpgradeSpatial
API Model description of UpgradeSpatial
| Name | Type | Description |
|---|---|---|
| id | int | |
| multiPolygon | MultiPolygon | MultiPolygon |
| upgradeID | int | Upgrade Type ID |