JorgeDeJesus

mapserver json template

Jun 25th, 2020
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. // mapserver template
  2. [resultset layer=<THIS SHOULD BE DYNAMIC>]
  3. {
  4. "type": "FeatureCollection",
  5. "features": [
  6. [feature trimlast=","]
  7. {
  8. "type": "Feature",
  9. "id": "foo",
  10. "geometry": {
  11. "type": "Point",
  12. "coordinates": [
  13. {
  14. "type": "Point",
  15. "coordinates": [[x], [y]]
  16. }
  17. ]
  18. },
  19. "properties": {
  20. "description": "[value_0]"
  21. }
  22. },
  23. [/feature]
  24. ]
  25. }
  26. [/resultset]
Add Comment
Please, Sign In to add comment