Api session items measurements: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 29: | Line 29: | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=HTML&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=HTML&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
JSON: | JSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=JSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=JSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
GEOJSON: | GEOJSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=GEOJSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=GEOJSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
GPKG: | GPKG: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=GPKG&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=GPKG&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
DXF: | DXF: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=DXF&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=DXF&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
CSV: | CSV: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=CSV&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=CSV&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
SSV: | SSV: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=SSV&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=SSV&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
SMILE: | SMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=SMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=SMILE&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=ZIPJSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=ZIPSMILE&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
==Api Model ItemMeasurement== | ==Api Model ItemMeasurement== | ||
API Model description of ItemMeasurement | API Model description of ItemMeasurement | ||
| Line 56: | Line 56: | ||
!Description | !Description | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|itemID | | itemID | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|key | | key | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|mapLink | | mapLink | ||
|MapLink | | MapLink | ||
| | | [[Maplink]] | ||
|- | |- | ||
|maqMax | | maqMax | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|maqMin | | maqMin | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|max | | max | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|min | | min | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|overlayIDs | | overlayIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Overlay]]s ID | | [[Overlay]]s ID | ||
|- | |- | ||
|overlayMaqValues | | overlayMaqValues | ||
|Map<int,float[]> | | Map<int,float[]> | ||
| | | | ||
|- | |- | ||
|overlayValues | | overlayValues | ||
|Map<int,float[]> | | Map<int,float[]> | ||
| | | | ||
|- | |- | ||
|point | | point | ||
|Point | | Point | ||
| | | [[Point]] | ||
|- | |- | ||
|save | | save | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]]s ID | | [[Source]]s ID | ||
|- | |- | ||
|sum | | sum | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 133: | Line 133: | ||
!Description | !Description | ||
|- | |- | ||
|distances | | distances | ||
|double[] | | double[] | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|lineSegment | | lineSegment | ||
|LineSegment | | LineSegment | ||
| | | | ||
|- | |- | ||
|lineString | | lineString | ||
|LineString | | LineString | ||
| | | | ||
|- | |- | ||
|maqMax | | maqMax | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|maqMin | | maqMin | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|maqValues | | maqValues | ||
|Map<int,java.util.ArrayList<float[]>> | | Map<int,java.util.ArrayList<float[]>> | ||
| | | | ||
|- | |- | ||
|max | | max | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|min | | min | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|overlayIDs | | overlayIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Overlay]]s ID | | [[Overlay]]s ID | ||
|- | |- | ||
|save | | save | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]]s ID | | [[Source]]s ID | ||
|- | |- | ||
|sum | | sum | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|values | | values | ||
|Map<int,java.util.ArrayList<float[]>> | | Map<int,java.util.ArrayList<float[]>> | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 215: | Line 215: | ||
!Description | !Description | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|overlayIDs | | overlayIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Overlay]]s ID | | [[Overlay]]s ID | ||
|- | |- | ||
|save | | save | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]]s ID | | [[Source]]s ID | ||
|- | |- | ||
|sum | | sum | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 252: | Line 252: | ||
!Description | !Description | ||
|- | |- | ||
|type | | type | ||
|String | | String | ||
|[[ | | [[Point]] | ||
|- | |- | ||
|coordinates | | coordinates | ||
|double[] | | double[] | ||
|x, y, (optional) z | | x, y, (optional) z | ||
|} | |} | ||
| Line 269: | Line 269: | ||
!Description | !Description | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|maqMax | | maqMax | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|maqMin | | maqMin | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|max | | max | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|min | | min | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|overlayIDs | | overlayIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Overlay]]s ID | | [[Overlay]]s ID | ||
|- | |- | ||
|overlayMaqValues | | overlayMaqValues | ||
|Map<int,float[]> | | Map<int,float[]> | ||
| | | | ||
|- | |- | ||
|overlayValues | | overlayValues | ||
|Map<int,float[]> | | Map<int,float[]> | ||
| | | | ||
|- | |- | ||
|point | | point | ||
|Point | | Point | ||
| | | [[Point]] | ||
|- | |- | ||
|save | | save | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]]s ID | | [[Source]]s ID | ||
|- | |- | ||
|sum | | sum | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
Latest revision as of 13:03, 19 June 2026
API Endpoint: /api/session/items/measurements/
Edit items with events described at Api session event editor measurement.
Default Query:
https://engine.tygron.com/api/session/items/measurements/?f=JSON&token=API_TOKENExample Response:
[ ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/measurements/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/measurements/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/measurements/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/measurements/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/measurements/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/measurements/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/measurements-foo/?crs=3857&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/measurements/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/measurements/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/measurements/?f=HTML&token=API_TOKEN&crs=3857JSON:
https://engine.tygron.com/api/session/items/measurements/?f=JSON&token=API_TOKEN&crs=3857GEOJSON:
https://engine.tygron.com/api/session/items/measurements/?f=GEOJSON&token=API_TOKEN&crs=3857GPKG:
https://engine.tygron.com/api/session/items/measurements/?f=GPKG&token=API_TOKEN&crs=3857DXF:
https://engine.tygron.com/api/session/items/measurements/?f=DXF&token=API_TOKEN&crs=3857CSV:
https://engine.tygron.com/api/session/items/measurements/?f=CSV&token=API_TOKEN&crs=3857SSV:
https://engine.tygron.com/api/session/items/measurements/?f=SSV&token=API_TOKEN&crs=3857SMILE:
https://engine.tygron.com/api/session/items/measurements/?f=SMILE&token=API_TOKEN&crs=3857ZIPJSON:
https://engine.tygron.com/api/session/items/measurements/?f=ZIPJSON&token=API_TOKEN&crs=3857ZIPSMILE:
https://engine.tygron.com/api/session/items/measurements/?f=ZIPSMILE&token=API_TOKEN&crs=3857Api Model ItemMeasurement
API Model description of ItemMeasurement
| Name | Type | Description |
|---|---|---|
| id | int | |
| itemID | int | |
| key | String | |
| mapLink | MapLink | Maplink |
| maqMax | double | |
| maqMin | double | |
| max | double | |
| min | double | |
| name | String | |
| overlayIDs | int[] | Overlays ID |
| overlayMaqValues | Map<int,float[]> | |
| overlayValues | Map<int,float[]> | |
| point | Point | Point |
| save | boolean | |
| sourceIDs | int[] | Sources ID |
| sum | boolean | |
| version | int |
Api Model LineMeasurement
API Model description of LineMeasurement
| Name | Type | Description |
|---|---|---|
| distances | double[] | |
| id | int | |
| lineSegment | LineSegment | |
| lineString | LineString | |
| maqMax | double | |
| maqMin | double | |
| maqValues | Map<int,java.util.ArrayList<float[]>> | |
| max | double | |
| min | double | |
| name | String | |
| overlayIDs | int[] | Overlays ID |
| save | boolean | |
| sourceIDs | int[] | Sources ID |
| sum | boolean | |
| values | Map<int,java.util.ArrayList<float[]>> | |
| version | int |
Api Model LineString
API Model description of LineString
| Name | Type | Description |
|---|
Api Model Measurement
API Model description of Measurement
| Name | Type | Description |
|---|---|---|
| id | int | |
| name | String | |
| overlayIDs | int[] | Overlays ID |
| save | boolean | |
| sourceIDs | int[] | Sources ID |
| sum | boolean | |
| version | int |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|---|---|
| type | String | Point |
| coordinates | double[] | x, y, (optional) z |
Api Model PointMeasurement
API Model description of PointMeasurement
| Name | Type | Description |
|---|---|---|
| id | int | |
| maqMax | double | |
| maqMin | double | |
| max | double | |
| min | double | |
| name | String | |
| overlayIDs | int[] | Overlays ID |
| overlayMaqValues | Map<int,float[]> | |
| overlayValues | Map<int,float[]> | |
| point | Point | Point |
| save | boolean | |
| sourceIDs | int[] | Sources ID |
| sum | boolean | |
| version | int |