Created
November 23, 2014 14:34
-
-
Save geobabbler/042e012a96f03dedc149 to your computer and use it in GitHub Desktop.
Code snippet 7 for blog post http://blog.geomusings.com/2014/02/18/a-little-deeper-with-node-and-postgis/
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
/** | |
* retrieve all features that intersect the input GeoJSON geometry | |
*/ | |
app.post('/vector/:schema/:table/:geom/intersect', function (req, res, next) { | |
//console.log(JSON.stringify(req.body)); | |
var queryshape = JSON.stringify(req.body); | |
//continue with the rest of app.post |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment