koopjs / FeatureServer

An open source Geoservices Implementation (deprecated)
https://geoservices.github.io
Other
104 stars 32 forks source link

Problems when returnGeometry=false and outSR=<EPSG> in same request #100

Closed rgwozdz closed 6 years ago

rgwozdz commented 6 years ago

When returnGeometry=false and outSR=<EPSG> in same request, query results in winnow return with attributes: undefined. Most likely, this is the result of not selecting geometry when returnGeometry=false (see here) and then an attempting to use missing geometry with the outSR deep inside alasql module.

Solution submitted here deletes outSR from query params when returnGeometry=false is also part of request.

Problem reported here: https://github.com/koopjs/FeatureServer/issues/95