Created
January 17, 2019 09:23
-
-
Save dsandip/e0aef9a2911bae62127b59ead3c1a83f to your computer and use it in GitHub Desktop.
Custom functions: Example custom PostGIS function query response
This file contains hidden or 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
{ | |
"data": { | |
"search_landmarks_near_user": [ | |
{ | |
"user_id": 3, | |
"location": { | |
"type": "Point", | |
"crs": { | |
"type": "name", | |
"properties": { | |
"name": "urn:ogc:def:crs:EPSG::4326" | |
} | |
}, | |
"coordinates": [ | |
12.9406589, | |
77.6185572 | |
] | |
}, | |
"nearby_landmarks": [ | |
{ | |
"id": 3, | |
"name": "blue tokai", | |
"type": "coffee shop", | |
"location": "0101000020E61000004E74A785DCF22940BE44060399665340" | |
} | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment