Api session items geoplugins: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: /api/session/items/geoplugins/ | |||
Edit items with events described at [[Api session event editor geoplugin]]. | Edit items with events described at [[Api session event editor geoplugin]]. | ||
Default Query: | Default Query: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/? | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
<syntaxhighlight lang="text" copy>[ { | <syntaxhighlight lang="text" copy>[ { | ||
| Line 34: | Line 34: | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
Version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?version=100&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?version=100&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
Attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/attributes/?token=API_TOKEN</syntaxhighlight> | |||
Max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/version/?token=API_TOKEN</syntaxhighlight> | ||
Count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/count/?token=API_TOKEN</syntaxhighlight> | ||
Specific Item by ID: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/{id}/?token=API_TOKEN</syntaxhighlight> | |||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 64: | Line 68: | ||
!Description | !Description | ||
|- | |- | ||
|crs | | crs | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|forceXY | | forceXY | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|linkType | | linkType | ||
|GeoLinkType | | GeoLinkType | ||
| | | [[Geo Link]]Type | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|newProject | | newProject | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 100: | Line 104: | ||
!Description | !Description | ||
|- | |- | ||
|AREA | | AREA | ||
| | | | ||
|- | |- | ||
|BUILDING | | BUILDING | ||
| | | | ||
|- | |- | ||
|ROAD | | ROAD | ||
| | | | ||
|- | |- | ||
|TERRAIN_HEIGHT | | TERRAIN_HEIGHT | ||
| | | | ||
|- | |- | ||
|WATER_BOTTOM | | WATER_BOTTOM | ||
| | | | ||
|- | |- | ||
|STREET_OBJECT | | STREET_OBJECT | ||
| | | | ||
|} | |} | ||
| Line 127: | Line 131: | ||
!Description | !Description | ||
|- | |- | ||
|crs | | crs | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|forceXY | | forceXY | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|geoLinkIDs | | geoLinkIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Geo Link]] ID | | [[Geo Link]]s ID | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|idAttribute | | idAttribute | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|layerName | | layerName | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|linkType | | linkType | ||
|GeoLinkType | | GeoLinkType | ||
| | | [[Geo Link]]Type | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|nameAttribute | | nameAttribute | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|newProject | | newProject | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|sourceID | | sourceID | ||
|int | | int | ||
|[[Source]] ID | | [[Source]] ID | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
| Line 184: | Line 188: | ||
!Description | !Description | ||
|- | |- | ||
|crs | | crs | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|forceXY | | forceXY | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|linkType | | linkType | ||
|GeoLinkType | | GeoLinkType | ||
| | | [[Geo Link]]Type | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|newProject | | newProject | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|sourceIDs | | sourceIDs | ||
|int<nowiki>[]</nowiki> | | int<nowiki>[]</nowiki> | ||
|[[Source]] ID | | [[Source]]s ID | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
Latest revision as of 09:53, 23 September 2026
API Endpoint: /api/session/items/geoplugins/
Edit items with events described at Api session event editor geoplugin.
Default Query:
https://engine.tygron.com/api/session/items/geoplugins/?token=API_TOKENExample Response:
[ {
"crs" : "urn:ogc:def:crs:EPSG::28992",
"forceXY" : true,
"geoLinkIDs" : [ 2264, 2265, 2266, 2267 ],
"id" : 0,
"idAttribute" : "nr",
"layerName" : "natura2000:natura2000",
"linkType" : "AREA",
"name" : "Natura2000",
"nameAttribute" : "naam_n2k",
"newProject" : false,
"sourceID" : 103,
"version" : 1
}, {
"crs" : "",
"forceXY" : true,
"geoLinkIDs" : [ 1000259, 1000260 ],
"id" : 1000000,
"idAttribute" : "",
"layerName" : "",
"linkType" : "BUILDING",
"name" : "Building Geo Plugin",
"nameAttribute" : "",
"newProject" : true,
"sourceID" : -1,
"version" : 2
} ]Limit Queries
Version=100:
https://engine.tygron.com/api/session/items/geoplugins/?version=100&token=API_TOKENGet Queries
Attributes:
https://engine.tygron.com/api/session/items/geoplugins/attributes/?token=API_TOKENMax version:
https://engine.tygron.com/api/session/items/geoplugins/version/?token=API_TOKENCount:
https://engine.tygron.com/api/session/items/geoplugins/count/?token=API_TOKENSpecific Item by ID:
https://engine.tygron.com/api/session/items/geoplugins/{id}/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/geoplugins/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/geoplugins/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/geoplugins/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/geoplugins/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/geoplugins/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/geoplugins/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/geoplugins/?f=ZIPSMILE&token=API_TOKENApi Model AbstractGeoPlugin
API Model description of AbstractGeoPlugin
| Name | Type | Description |
|---|---|---|
| crs | String | |
| forceXY | boolean | |
| id | int | |
| linkType | GeoLinkType | Geo LinkType |
| name | String | |
| newProject | boolean | |
| version | int |
Api Model GeoLinkType
API Enumeration description of GeoLinkType
| Name | Description |
|---|---|
| AREA | |
| BUILDING | |
| ROAD | |
| TERRAIN_HEIGHT | |
| WATER_BOTTOM | |
| STREET_OBJECT |
Api Model GeoPlugin
API Model description of GeoPlugin
| Name | Type | Description |
|---|---|---|
| crs | String | |
| forceXY | boolean | |
| geoLinkIDs | int[] | Geo Links ID |
| id | int | |
| idAttribute | String | |
| layerName | String | |
| linkType | GeoLinkType | Geo LinkType |
| name | String | |
| nameAttribute | String | |
| newProject | boolean | |
| sourceID | int | Source ID |
| version | int |
Api Model HeightPlugin
API Model description of HeightPlugin
| Name | Type | Description |
|---|---|---|
| crs | String | |
| forceXY | boolean | |
| id | int | |
| linkType | GeoLinkType | Geo LinkType |
| name | String | |
| newProject | boolean | |
| sourceIDs | int[] | Sources ID |
| version | int |