GeoManager.http 502 B

12345678910111213141516171819202122232425262728293031
  1. POST {{host}}/api/v1/geo/object/_search
  2. Content-Type: application/json
  3. X-Access-Token: {{token}}
  4. {
  5. "shape": {
  6. "type": "LineString",
  7. "coordinates": [
  8. [
  9. 100.6347,
  10. 34.3797
  11. ],
  12. [
  13. 105.4687,
  14. 35.0299
  15. ]
  16. ]
  17. }
  18. }
  19. ### 如果目标对象是线,需要指定relation
  20. POST {{host}}/api/v1/geo/object/_search
  21. Content-Type: application/json
  22. X-Access-Token: {{token}}
  23. {
  24. "shape": {
  25. "objectId": "line001",
  26. "relation": "intersects"
  27. }
  28. }