Api session items measurements: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Api session items [[Measurement]] Endpoints. | Api session items [[Measurement]] Endpoints. | ||
Edit items with event: [[Api session event editor measurement|editormeasurement]]. | |||
Default Query: | Default Query: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
< | <syntaxhighlight lang="text" copy>[ ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?version=100&token=API_TOKEN</syntaxhighlight> | ||
Pseudo-Mercator: | Pseudo-Mercator: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
Degrees: | Degrees: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?crs=4326&token=API_TOKEN</syntaxhighlight> | ||
Amersfoort / RD New: | Amersfoort / RD New: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?crs=28992&token=API_TOKEN</syntaxhighlight> | ||
Local Coordinates: | Local Coordinates: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?crs=LOCAL&token=API_TOKEN</syntaxhighlight> | ||
bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785: | bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?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/measurements-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
==Show Queries== | ==Show Queries== | ||
max version: | max version: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/version/?token=API_TOKEN</syntaxhighlight> | ||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/size/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=HTML&token=API_TOKEN</syntaxhighlight> | ||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
GEOJSON: | GEOJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=GEOJSON&token=API_TOKEN</syntaxhighlight> | ||
GPKG: | GPKG: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=GPKG&token=API_TOKEN</syntaxhighlight> | ||
DXF: | DXF: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=DXF&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/measurements/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model ItemMeasurement== | |||
API Model description of ItemMeasurement | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|itemID | |||
|int | |||
| | |||
|- | |||
|key | |||
|String | |||
| | |||
|- | |||
|mapLink | |||
|MapLink | |||
| | |||
|- | |||
|maqMax | |||
|double | |||
| | |||
|- | |||
|maqMin | |||
|double | |||
| | |||
|- | |||
|max | |||
|double | |||
| | |||
|- | |||
|min | |||
|double | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|overlayIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Overlay]] ID | |||
|- | |||
|overlayMaqValues | |||
|Map<int,float[]> | |||
| | |||
|- | |||
|overlayValues | |||
|Map<int,float[]> | |||
| | |||
|- | |||
|point | |||
|Point | |||
| | |||
|- | |||
|save | |||
|boolean | |||
| | |||
|- | |||
|sourceIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Source]] ID | |||
|- | |||
|sum | |||
|boolean | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model LineMeasurement== | |||
API Model description of LineMeasurement | |||
{|class=wikitable | |||
!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<nowiki>[]</nowiki> | |||
|[[Overlay]] ID | |||
|- | |||
|save | |||
|boolean | |||
| | |||
|- | |||
|sourceIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Source]] ID | |||
|- | |||
|sum | |||
|boolean | |||
| | |||
|- | |||
|values | |||
|Map<int,java.util.ArrayList<float[]>> | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model LineString== | |||
API Model description of LineString | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model Measurement== | |||
API Model description of Measurement | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|overlayIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Overlay]] ID | |||
|- | |||
|save | |||
|boolean | |||
| | |||
|- | |||
|sourceIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Source]] ID | |||
|- | |||
|sum | |||
|boolean | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model Point== | |||
API Model description of Point | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model PointMeasurement== | |||
API Model description of PointMeasurement | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|maqMax | |||
|double | |||
| | |||
|- | |||
|maqMin | |||
|double | |||
| | |||
|- | |||
|max | |||
|double | |||
| | |||
|- | |||
|min | |||
|double | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|overlayIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Overlay]] ID | |||
|- | |||
|overlayMaqValues | |||
|Map<int,float[]> | |||
| | |||
|- | |||
|overlayValues | |||
|Map<int,float[]> | |||
| | |||
|- | |||
|point | |||
|Point | |||
| | |||
|- | |||
|save | |||
|boolean | |||
| | |||
|- | |||
|sourceIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Source]] ID | |||
|- | |||
|sum | |||
|boolean | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor measurement]] | *[[Api session event editor measurement]] | ||
| Line 53: | Line 323: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:13, 24 April 2026
Api session items Measurement Endpoints.
Edit items with event: editormeasurement.
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_TOKENJSON:
https://engine.tygron.com/api/session/items/measurements/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/measurements/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/measurements/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/measurements/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/measurements/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/measurements/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/measurements/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/measurements/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/measurements/?f=ZIPSMILE&token=API_TOKENApi Model ItemMeasurement
API Model description of ItemMeasurement
| Name | Type | Description |
|---|---|---|
| id | int | |
| itemID | int | |
| key | String | |
| mapLink | MapLink | |
| maqMax | double | |
| maqMin | double | |
| max | double | |
| min | double | |
| name | String | |
| overlayIDs | int[] | Overlay ID |
| overlayMaqValues | Map<int,float[]> | |
| overlayValues | Map<int,float[]> | |
| point | Point | |
| save | boolean | |
| sourceIDs | int[] | Source 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[] | Overlay ID |
| save | boolean | |
| sourceIDs | int[] | Source 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[] | Overlay ID |
| save | boolean | |
| sourceIDs | int[] | Source ID |
| sum | boolean | |
| version | int |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|
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[] | Overlay ID |
| overlayMaqValues | Map<int,float[]> | |
| overlayValues | Map<int,float[]> | |
| point | Point | |
| save | boolean | |
| sourceIDs | int[] | Source ID |
| sum | boolean | |
| version | int |