Api session items zones: 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 1: | Line 1: | ||
Api session items [[Zone]] Endpoints. | Api session items [[Zone]] Endpoints. | ||
Edit items with event: [[Api session event editor zoning|editorzoning]]. | |||
Default Query: | Default Query: | ||
| Line 9: | Line 9: | ||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?version=100&token=API_TOKEN</syntaxhighlight> | ||
Pseudo-Mercator: | Pseudo-Mercator: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
Degrees: | Degrees: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?crs=4326&token=API_TOKEN</syntaxhighlight> | ||
Amersfoort / RD New: | Amersfoort / RD New: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?crs=28992&token=API_TOKEN</syntaxhighlight> | ||
Local Coordinates: | Local Coordinates: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?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/zones/?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/zones-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/zones/version/?token=API_TOKEN</syntaxhighlight> | ||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/size/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=HTML&token=API_TOKEN</syntaxhighlight> | ||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
GEOJSON: | GEOJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=GEOJSON&token=API_TOKEN</syntaxhighlight> | ||
GPKG: | GPKG: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=GPKG&token=API_TOKEN</syntaxhighlight> | ||
DXF: | DXF: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=DXF&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/zones/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model Category== | |||
API Enumeration description of Category | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|SOCIAL | |||
| | |||
|- | |||
|NORMAL | |||
| | |||
|- | |||
|LUXE | |||
| | |||
|- | |||
|ROAD | |||
| | |||
|- | |||
|PAVED_AREA | |||
| | |||
|- | |||
|EDUCATION | |||
| | |||
|- | |||
|HEALTHCARE | |||
| | |||
|- | |||
|PARK | |||
| | |||
|- | |||
|NATURE | |||
| | |||
|- | |||
|INDUSTRY | |||
| | |||
|- | |||
|OFFICES | |||
| | |||
|- | |||
|OTHER | |||
| | |||
|- | |||
|SENIOR | |||
| | |||
|- | |||
|UNDERGROUND | |||
| | |||
|- | |||
|SHOPPING | |||
| | |||
|- | |||
|AGRICULTURE | |||
| | |||
|- | |||
|LEISURE | |||
| | |||
|- | |||
|STUDENT | |||
| | |||
|- | |||
|GARDEN | |||
| | |||
|- | |||
|INTERSECTION | |||
| | |||
|- | |||
|BRIDGE | |||
| | |||
|} | |||
==Api Model CategoryZone== | |||
API Model description of CategoryZone | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|allowedCategories | |||
|Category<nowiki>[]</nowiki> | |||
| | |||
|- | |||
|attributes | |||
|Map<String,double[]> | |||
| | |||
|- | |||
|center | |||
|Point | |||
| | |||
|- | |||
|excelID | |||
|int | |||
|[[Excel Sheet]] ID | |||
|- | |||
|excelUpdated | |||
|boolean | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|maquetteOverride | |||
|Map<String,double[]> | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|outline | |||
|Outline | |||
| | |||
|- | |||
|parentZoneID | |||
|int | |||
|[[Zone]] ID | |||
|- | |||
|permitterID | |||
|int | |||
|[[Stakeholder]] ID | |||
|- | |||
|polygons | |||
|MultiPolygon | |||
| | |||
|- | |||
|sourceIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Source]] ID | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model EmptyMultiPolygon== | |||
API Model description of EmptyMultiPolygon | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model GeometryCollection== | |||
API Model description of GeometryCollection | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model MultiPolygon== | |||
API Model description of MultiPolygon | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model Outline== | |||
API Enumeration description of Outline | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|NONE | |||
| | |||
|- | |||
|SIMPLE | |||
| | |||
|- | |||
|DASHED | |||
| | |||
|} | |||
==Api Model Point== | |||
API Model description of Point | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model Zone== | |||
API Model description of Zone | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|attributes | |||
|Map<String,double[]> | |||
| | |||
|- | |||
|center | |||
|Point | |||
| | |||
|- | |||
|excelID | |||
|int | |||
|[[Excel Sheet]] ID | |||
|- | |||
|excelUpdated | |||
|boolean | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|maquetteOverride | |||
|Map<String,double[]> | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|outline | |||
|Outline | |||
| | |||
|- | |||
|parentZoneID | |||
|int | |||
|[[Zone]] ID | |||
|- | |||
|permitterID | |||
|int | |||
|[[Stakeholder]] ID | |||
|- | |||
|polygons | |||
|MultiPolygon | |||
| | |||
|- | |||
|sourceIDs | |||
|int<nowiki>[]</nowiki> | |||
|[[Source]] ID | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor ]] | *[[Api session event editor zoning]] | ||
}} | }} | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:14, 24 April 2026
Api session items Zone Endpoints.
Edit items with event: editorzoning.
Default Query:
https://engine.tygron.com/api/session/items/zones/?f=JSON&token=API_TOKENExample Response:
[ ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/zones/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/zones/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/zones/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/zones/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/zones/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/zones/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/zones-foo/?crs=3857&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/zones/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/zones/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/zones/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/zones/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/zones/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/zones/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/zones/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/zones/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/zones/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/zones/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/zones/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/zones/?f=ZIPSMILE&token=API_TOKENApi Model Category
API Enumeration description of Category
| Name | Description |
|---|---|
| SOCIAL | |
| NORMAL | |
| LUXE | |
| ROAD | |
| PAVED_AREA | |
| EDUCATION | |
| HEALTHCARE | |
| PARK | |
| NATURE | |
| INDUSTRY | |
| OFFICES | |
| OTHER | |
| SENIOR | |
| UNDERGROUND | |
| SHOPPING | |
| AGRICULTURE | |
| LEISURE | |
| STUDENT | |
| GARDEN | |
| INTERSECTION | |
| BRIDGE |
Api Model CategoryZone
API Model description of CategoryZone
| Name | Type | Description |
|---|---|---|
| allowedCategories | Category[] | |
| attributes | Map<String,double[]> | |
| center | Point | |
| excelID | int | Excel Sheet ID |
| excelUpdated | boolean | |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| outline | Outline | |
| parentZoneID | int | Zone ID |
| permitterID | int | Stakeholder ID |
| polygons | MultiPolygon | |
| sourceIDs | int[] | Source ID |
| version | int |
Api Model EmptyMultiPolygon
API Model description of EmptyMultiPolygon
| Name | Type | Description |
|---|
Api Model GeometryCollection
API Model description of GeometryCollection
| Name | Type | Description |
|---|
Api Model MultiPolygon
API Model description of MultiPolygon
| Name | Type | Description |
|---|
Api Model Outline
API Enumeration description of Outline
| Name | Description |
|---|---|
| NONE | |
| SIMPLE | |
| DASHED |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|
Api Model Zone
API Model description of Zone
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| center | Point | |
| excelID | int | Excel Sheet ID |
| excelUpdated | boolean | |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| outline | Outline | |
| parentZoneID | int | Zone ID |
| permitterID | int | Stakeholder ID |
| polygons | MultiPolygon | |
| sourceIDs | int[] | Source ID |
| version | int |