Last active
October 17, 2015 06:27
-
-
Save piruin/7c432ed9c3962cd0c832 to your computer and use it in GitHub Desktop.
TanRaBan Restful Api GET RESPONSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#api.tanraban.com/v1/place/c27364325ae0bfecc5f7e6f8c6de48a3 | |
{ | |
"place_id":"c2736432-5ae0-bfec-c5f7-e6f8c6de48a3", | |
"place_type_id":4, | |
"place_subtype_id":3, | |
"place_namt":"รพ.สต.บ้านบาละ", | |
"tambon":"950702", | |
"used":false, | |
"location":{ | |
"type":"Point", | |
"coordinates":[ | |
11369180.1133548, | |
1660946.80954472 | |
] | |
}, | |
"update_timestamp":"2015-10-08 21:43:07", | |
"push_timestamp":"2015-10-08 22:32:03" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#api.tanraban.com/v1/place | |
[ | |
{ | |
"place_id":"c2736432-5ae0-bfec-c5f7-e6f8c6de48a3", | |
"place_type_id":4, | |
"place_subtype_id":3, | |
"place_namt":"รพ.สต.บ้านบาละ", | |
"tambon":"950702", | |
"used":false, | |
"location":{ | |
"type":"Point", | |
"coordinates":[ | |
11369180.1133548, | |
1660946.80954472 | |
] | |
}, | |
"update_timestamp":"2015-10-08 21:43:07", | |
"push_timestamp":"2015-10-08 22:32:03" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#api.tanraban.com/v1/survey | |
[ | |
{ | |
"survey_id":"e22f22b8-a225-4193-930d-3403998120c3", | |
"building_id":"57972db9-0030-b556-ffff-ceb57663aa02", | |
"location":{ | |
"type":"Point", | |
"coordinates":[ | |
11369180.1133548, | |
1660946.80954472 | |
] | |
}, | |
"person_count":13, | |
"remark":null, | |
"surveyor":"dcp-user", | |
"survey_timestamp":"2015-10-08 21:43:07", | |
"push_timestamp":"2015-10-08 22:32:03" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#api.tanraban.com/v1/tambon | |
[ | |
{ | |
"tambon_code":"100803", | |
"tambon_namt":"คลองมหานาค", | |
"amp_code":"1008", | |
"amp_namt":"ป้อมปราบศัตรูพ่าย", | |
"prov_code":"10", | |
"prov_namt":"กรุงเทพมหานคร", | |
"boundary":{ | |
"type":"MultiPolygon", | |
"coordinates":[ | |
[ | |
[ | |
[ | |
11256006.2215462, | |
754742.056016051 | |
], | |
[ | |
11257846.7849526, | |
753353.571240943 | |
], | |
[ | |
11257675.2319327, | |
751907.903841733 | |
], | |
[ | |
11259252.2164119, | |
750556.67412706 | |
], | |
[ | |
11259899.8203005, | |
749066.887524751 | |
], | |
[ | |
11258727.3972326, | |
749137.025736288 | |
], | |
[ | |
11256948.0497223, | |
748051.42779224 | |
], | |
[ | |
11254682.3624389, | |
750220.903419138 | |
], | |
[ | |
11255258.4067449, | |
752584.804987956 | |
], | |
[ | |
11256006.2215462, | |
754742.056016051 | |
] | |
] | |
] | |
] | |
}, | |
"center":{ | |
"type":"Point", | |
"coordinates":[ | |
11369180.1133548, | |
1660946.80954472 | |
] | |
}, | |
"used":"true" | |
}, | |
{ | |
"tambon_code":"470404", | |
"tambon_namt":"นาหัวบ่อ", | |
"amp_code":"4704", | |
"amp_namt":"พรรณานิคม", | |
"prov_code":"47", | |
"prov_namt":"สกลนคร", | |
"boundary":{ | |
"type":"MultiPolygon", | |
"coordinates":[ | |
[ | |
[ | |
[ | |
11575748.7425014, | |
1955727.8128663 | |
], | |
[ | |
11576437.7774034, | |
1955087.86099828 | |
], | |
[ | |
11576388.2540389, | |
1954698.86767243 | |
], | |
[ | |
11576250.186835, | |
1954176.01073095 | |
], | |
[ | |
11575859.1896445, | |
1954050.56744453 | |
], | |
[ | |
11575615.2038883, | |
1953762.25390479 | |
], | |
[ | |
11575257.2443276, | |
1952767.30014942 | |
], | |
[ | |
11574941.1964814, | |
1952375.55758865 | |
], | |
[ | |
11574863.2670527, | |
1950348.30518259 | |
], | |
[ | |
11573634.8126995, | |
1947775.92529639 | |
], | |
[ | |
11573739.285967, | |
1946565.84852073 | |
], | |
[ | |
11573515.0861609, | |
1945390.07816139 | |
], | |
[ | |
11572228.6995255, | |
1944054.73410789 | |
], | |
[ | |
11572173.0826554, | |
1943405.2519285 | |
], | |
[ | |
11571467.8833731, | |
1942571.04113061 | |
], | |
[ | |
11571219.0402727, | |
1942552.76594607 | |
], | |
[ | |
11569905.3660565, | |
1943280.22823018 | |
], | |
[ | |
11569663.1936281, | |
1943258.09133513 | |
], | |
[ | |
11569393.5390665, | |
1942869.52016136 | |
], | |
[ | |
11569110.5978025, | |
1943138.11611869 | |
], | |
[ | |
11569006.9707134, | |
1944025.22744875 | |
], | |
[ | |
11568430.4169268, | |
1945426.10227022 | |
], | |
[ | |
11567912.3411181, | |
1946151.96043597 | |
], | |
[ | |
11566033.8329117, | |
1947802.64476215 | |
], | |
[ | |
11565385.9753592, | |
1948013.76669277 | |
], | |
[ | |
11566191.0696347, | |
1948686.19134094 | |
], | |
[ | |
11568270.6609861, | |
1949852.42920578 | |
], | |
[ | |
11568499.9700721, | |
1951305.49439192 | |
], | |
[ | |
11568275.6016053, | |
1955182.94721657 | |
], | |
[ | |
11568369.843605, | |
1955852.44333773 | |
], | |
[ | |
11568962.6259517, | |
1956362.78777036 | |
], | |
[ | |
11573066.8486676, | |
1953654.15758327 | |
], | |
[ | |
11573449.840721, | |
1954129.3108952 | |
], | |
[ | |
11574328.813291, | |
1954169.75423281 | |
], | |
[ | |
11574972.4118899, | |
1954611.57361978 | |
], | |
[ | |
11575397.8469083, | |
1954994.32052444 | |
], | |
[ | |
11575450.5055021, | |
1955556.20275757 | |
], | |
[ | |
11575748.7425014, | |
1955727.8128663 | |
] | |
] | |
] | |
] | |
}, | |
"center":{ | |
"type":"Point", | |
"coordinates":[ | |
11571032.7244924, | |
1949600.69862917 | |
] | |
}, | |
"used":"true" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment