koop-retired / koop-server

PROJECT DEPRECATED - DO NOT USE
Apache License 2.0
5 stars 7 forks source link

fix for 'returnCountOnly' #33

Closed jgravois closed 9 years ago

jgravois commented 9 years ago

right now, http://koop.dc.esri.com/github/chelm/grunt-geo/forks/FeatureServer/0/query?where=1=1&returnCountOnly=false returns: { count: 33 }

comparing the value of the parameter as a string resolves the problem.

that being said, parsing all parameters and checking for valid types first would probably be a better fix. i just don't know how to do that :)

chelm commented 9 years ago

quite nice! I'll be pushing a new version of koop-server in a minute with this change. I bet you were running into that :)