Api session items plots

From Tygron Support wiki
Jump to navigation Jump to search

Api session items Plot Endpoints.

Manipulate items with event: editorplot.

Default Query:

https://engine.tygron.com/api/session/items/plots/?f=JSON&token=API_TOKEN

Example Response:

[ {
  "center" : {
    "type" : "Point",
    "coordinates" : [ 659014.7551653329, 6799265.907830097, 47.071 ]
  },
  "id" : 1,
  "name" : "2",
  "ownerID" : 0,
  "polygons" : {
    "type" : "MultiPolygon",
    "coordinates" : [ [ [ [ 658971.3127730947, 6799204.148537849 ], [ 658972.389575325, 6799220.197755584 ], [ 658971.2364386984, 6799203.027919709 ], [ 658971.3127730947, 6799204.148537849 ] ] ], [ [ [ 658972.389575325, 6799220.197755584 ], [ 658972.3993201415, 6799220.332554854 ], [ 658972.4529166326, 6799221.129981918 ], [ 658972.389575325, 6799220.197755584 ] ] ], [ [ [ 659003.3748437234, 6799255.61106313 ], [ 659037.392374209, 6799254.833121804 ], [ 659028.7324805566, 6799255.03126134 ], [ 659003.3748437234, 6799255.61106313 ] ] ], [ [ [ 659037.392374209, 6799254.833121804 ], [ 659037.600263629, 6799238.942996348 ], [ 659037.2608191854, 6799265.047058855 ], [ 659037.392374209, 6799254.833121804 ] ] ], [ [ [ 659037.2608191854, 6799265.047058855 ], [ 659000.4984987011, 6799266.453526633 ], [ 659028.998838876, 6799265.362133603 ], [ 659037.2608191854, 6799265.047058855 ] ] ], [ [ [ 658974.119280265, 6799325.868080811 ], [ 659028.8640355802, 6799326.819808627 ], [ 658963.3674993237, 6799325.681308304 ], [ 658974.119280265, 6799325.868080811 ] ] ], [ [ [ 658945.5279884688, 6799327.652976582 ], [ 658946.2653462554, 6799315.048275216 ], [ 658946.3091979299, 6799314.317427268 ], [ 658945.5279884688, 6799327.652976582 ] ] ], [ [ [ 658946.3091979299, 6799314.317427268 ], [ 658946.0460878827, 6799292.413132775 ], [ 658946.0136051609, 6799289.567706415 ], [ 658946.3091979299, 6799314.317427268 ] ] ], [ [ [ 658946.0136051609, 6799289.567706415 ], [ 658945.0699820904, 6799271.920238571 ], [ 658944.9010719366, 6799268.735383071 ], [ 658946.0136051609, 6799289.567706415 ] ] ], [ [ [ 658868.8850062002, 6799241.156633174 ], [ 658866.6810535208, 6799243.139649509 ], [ 658856.2573480705, 6799252.517163309 ], [ 658868.8850062002, 6799241.156633174 ] ] ], [ [ [ 658835.8094746489, 6799269.555552264 ], [ 658832.106444355, 6799272.404219783 ], [ 658823.1200993477, 6799279.316384133 ], [ 658835.8094746489, 6799269.555552264 ] ] ], [ [ [ 658894.6779115065, 6799133.834110099 ], [ 658896.3264096418, 6799129.395527268 ], [ 658896.7015850794, 6799128.386980247 ], [ 658894.6779115065, 6799133.834110099 ] ] ], [ [ [ 658900.6547323319, 6799114.535306082 ], [ 658902.1716754435, 6799106.587129032 ], [ 658903.1948811826, 6799101.235837277 ], [ 658900.6547323319, 6799114.535306082 ] ] ], [ [ [ 658968.3812074453, 6799167.999748481 ], [ 658969.1234376403, 6799178.613099451 ], [ 658969.3751787348, 6799182.213683961 ], [ 658968.3812074453, 6799167.999748481 ] ] ], [ [ [ 658969.3751787348, 6799182.213683961 ], [ 658970.0297055806, 6799189.5269194 ], [ 658971.2364386984, 6799203.027919709 ], [ 658969.3751787348, 6799182.213683961 ] ] ], [ [ [ 658889.581372444, 6799371.819121524 ], [ 658899.8702745986, 6799366.194802772 ], [ 658916.9042139509, 6799356.883745988 ], [ 658925.5462421062, 6799352.160820877 ], [ 658889.581372444, 6799371.819121524 ] ] ], [ [ [ 659028.3264465332, 6799239.259694168 ], [ 659040.1517814324, 6799238.855295415 ], [ 659037.600263629, 6799238.942996348 ], [ 658973.1935226914, 6799241.145264533 ], [ 659028.3264465332, 6799239.259694168 ] ] ], [ [ [ 658899.8702745986, 6799366.194802772 ], [ 658867.4379009405, 6799313.463147303 ], [ 658870.145335809, 6799317.862852494 ], [ 658899.8702745986, 6799366.194802772 ] ] ], [ [ [ 658946.2653462554, 6799315.048275216 ], [ 658894.1403224595, 6799316.976090018 ], [ 658870.145335809, 6799317.862852494 ], [ 658946.2653462554, 6799315.048275216 ] ] ], [ [ [ 658822.779030768, 6799342.568808834 ], [ 658790.6016464767, 6799363.843081854 ], [ 658794.5418006404, 6799361.237999537 ], [ 658804.4603997655, 6799354.679822204 ], [ 658822.779030768, 6799342.568808834 ] ] ], [ [ [ 659035.2566352456, 6799154.3997380575 ], [ 659034.7466565121, 6799149.992001347 ], [ 659036.4325097776, 6799164.559953861 ], [ 659035.2566352456, 6799154.3997380575 ] ] ], [ [ [ 659034.7466565121, 6799149.992001347 ], [ 659032.9081344539, 6799139.636915254 ], [ 659030.260792621, 6799124.711712533 ], [ 659027.9886262256, 6799111.905943015 ], [ 659034.7466565121, 6799149.992001347 ] ] ], [ [ [ 658852.130418256, 6799323.569967186 ], [ 658865.0228105689, 6799315.226926948 ], [ 658857.3715054309, 6799320.178829684 ], [ 658835.8224677377, 6799334.126678274 ], [ 658843.9561412956, 6799328.861313883 ], [ 658852.130418256, 6799323.569967186 ] ] ], [ [ [ 658900.3705085155, 6799272.537395828 ], [ 658885.5226563455, 6799259.580351559 ], [ 658895.0725765773, 6799267.911965761 ], [ 658901.7396552425, 6799273.732732116 ], [ 658901.1029938938, 6799273.177290505 ], [ 658900.3705085155, 6799272.537395828 ] ] ] ]
  },
  "sourceIDs" : [ ],
  "version" : 46
}, {
  "center" : {
    "type" : "Point",
    "coordinates" : [ 658710.6551713931, 6798653.549065265, 32.838 ]
  },
  "id" : 2,
  "name" : "3",
  "ownerID" : 0,
  "polygons" : {
    "type" : "MultiPolygon",
    "coordinates" : [ [ [ [ 658878.4966436035, 6799388.19187184 ], [ 658875.0810853982, 6799389.999519053 ], [ 658874.2885069844, 6799390.418542458 ], [ 658878.4966436035, 6799388.19187184 ] ] ], [ [ [ 658685.0863968676, 6798655.205518823 ], [ 658684.5959077673, 6798656.805133615 ], [ 658676.3420481384, 6798683.690077189 ], [ 658685.0863968676, 6798655.205518823 ] ] ], [ [ [ 658678.0961151198, 6798687.668829065 ], [ 658682.4065723128, 6798689.812483947 ], [ 658689.9425637883, 6798693.562257379 ], [ 658678.0961151198, 6798687.668829065 ] ] ], [ [ [ 658689.9425637883, 6798693.562257379 ], [ 658691.1639141309, 6798694.226466017 ], [ 658692.7783054082, 6798695.105040368 ], [ 658689.9425637883, 6798693.562257379 ] ] ], [ [ [ 658692.7783054082, 6798695.105040368 ], [ 658699.6126700911, 6798698.819088625 ], [ 658704.3486509407, 6798701.39472606 ], [ 658692.7783054082, 6798695.105040368 ] ] ], [ [ [ 658704.3486509407, 6798701.39472606 ], [ 658708.1572500808, 6798703.491289046 ], [ 658718.9983585072, 6798709.462680166 ], [ 658727.4276248342, 6798714.105654981 ], [ 658704.3486509407, 6798701.39472606 ] ] ], [ [ [ 658727.4276248342, 6798714.105654981 ], [ 658737.339727415, 6798719.567121945 ], [ 658741.1743127326, 6798721.678305523 ], [ 658735.0237093453, 6798718.292292129 ], [ 658727.4276248342, 6798714.105654981 ] ] ], [ [ [ 658764.4725449989, 6798734.543545356 ], [ 658766.1551499921, 6798735.474091775 ], [ 658771.9971675216, 6798738.70583321 ], [ 658764.4725449989, 6798734.543545356 ] ] ], [ [ [ 658771.9971675216, 6798738.70583321 ], [ 658774.7500782007, 6798740.232384891 ], [ 658779.6549692041, 6798742.95257078 ], [ 658771.9971675216, 6798738.70583321 ] ] ], [ [ [ 658832.314333775, 6798771.8596772915 ], [ 658840.9563619304, 6798776.6634637555 ], [ 658856.0104793842, 6798785.035180927 ], [ 658832.314333775, 6798771.8596772915 ] ] ], [ [ [ 658710.1955408786, 6798727.156017488 ], [ 658710.1792995177, 6798727.147897539 ], [ 658700.1583798185, 6798721.390859729 ], [ 658710.1955408786, 6798727.156017488 ] ] ], [ [ [ 658696.6989699387, 6798719.403099245 ], [ 658687.1620427956, 6798714.172238408 ], [ 658680.7450810889, 6798710.649813381 ], [ 658696.6989699387, 6798719.403099245 ] ] ], [ [ [ 658658.6893129344, 6798698.549507452 ], [ 658652.7384782865, 6798695.2853024 ], [ 658640.5607058548, 6798688.6026180545 ], [ 658658.6893129344, 6798698.549507452 ] ] ], [ [ [ 658640.5607058548, 6798688.6026180545 ], [ 658637.9994432349, 6798687.197874659 ], [ 658636.7618515313, 6798686.519050768 ], [ 658640.5607058548, 6798688.6026180545 ] ] ], [ [ [ 658642.4820588538, 6798667.266784523 ], [ 658642.6363517828, 6798667.351231313 ], [ 658655.6846611608, 6798674.558443031 ], [ 658642.4820588538, 6798667.266784523 ] ] ], [ [ [ 658716.8577471356, 6798667.4161903765 ], [ 658715.465862503, 6798669.951218394 ], [ 658699.6126700911, 6798698.819088625 ], [ 658716.8577471356, 6798667.4161903765 ] ] ], [ [ [ 658722.4528959788, 6798657.228990985 ], [ 658698.8541985352, 6798649.869141218 ], [ 658724.5561522203, 6798657.8834528 ], [ 658722.4528959788, 6798657.228990985 ] ] ], [ [ [ 658700.2769417535, 6798661.962878478 ], [ 658698.0697408019, 6798661.236961418 ], [ 658684.5959077673, 6798656.805133615 ], [ 658700.2769417535, 6798661.962878478 ] ] ], [ [ [ 658810.7409340404, 6798751.6896516355 ], [ 658817.8725156285, 6798747.3941897005 ], [ 658826.9010881742, 6798741.958687827 ], [ 658810.7409340404, 6798751.6896516355 ] ] ], [ [ [ 658793.1970159546, 6798669.1246140385 ], [ 658788.842707087, 6798661.1378989145 ], [ 658793.8694082975, 6798670.3555887295 ], [ 658793.1970159546, 6798669.1246140385 ] ] ], [ [ [ 658669.4752007336, 6798751.153733764 ], [ 658679.2281379772, 6798756.506418091 ], [ 658687.324456405, 6798760.951292442 ], [ 658669.4752007336, 6798751.153733764 ] ] ], [ [ [ 658648.2948419338, 6798739.527572692 ], [ 658644.1500466223, 6798737.250737407 ], [ 658648.6586484187, 6798739.72569962 ], [ 658648.2948419338, 6798739.527572692 ] ] ] ]
  },
  "sourceIDs" : [ ],
  "version" : 47
} ]

Limit Queries

version=100:

https://engine.tygron.com/api/session/items/plots/?version=100&token=API_TOKEN

Pseudo-Mercator:

https://engine.tygron.com/api/session/items/plots/?crs=3857&token=API_TOKEN

Degrees:

https://engine.tygron.com/api/session/items/plots/?crs=4326&token=API_TOKEN

Amersfoort / RD New:

https://engine.tygron.com/api/session/items/plots/?crs=28992&token=API_TOKEN

Local Coordinates:

https://engine.tygron.com/api/session/items/plots/?crs=LOCAL&token=API_TOKEN

bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:

https://engine.tygron.com/api/session/items/plots/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKEN

FOO:

https://engine.tygron.com/api/session/items/plots-foo/?crs=3857&token=API_TOKEN

Show Queries

max version:

https://engine.tygron.com/api/session/items/plots/version/?token=API_TOKEN

size:

https://engine.tygron.com/api/session/items/plots/size/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/plots/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/plots/?f=JSON&token=API_TOKEN

GEOJSON:

https://engine.tygron.com/api/session/items/plots/?f=GEOJSON&token=API_TOKEN

GPKG:

https://engine.tygron.com/api/session/items/plots/?f=GPKG&token=API_TOKEN

DXF:

https://engine.tygron.com/api/session/items/plots/?f=DXF&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/plots/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/plots/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/plots/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/plots/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/plots/?f=ZIPSMILE&token=API_TOKEN