koopjs / koop-provider-marklogic

A Koop Provider that can be used to exposed data in MarkLogic via Esri feature services
https://koopjs.github.io/koop-provider-marklogic/
Other
6 stars 11 forks source link

Fix the testGkgEnvelopFilter test and add more geometry queries #44

Closed jkerr5 closed 6 years ago

jkerr5 commented 6 years ago

The testGkgEnvelopFilter test is not written correctly as it is. The JSON request document represents what is sent to the MarkLogic adapter service. A new JSON request document should be created representing the JSON that is sent to the feature service.

Additional test cases should be added to test out all the different types of geometry queries that could be sent in.

jkerr5 commented 6 years ago

See the FeatureServer tests for some example test cases https://github.com/koopjs/FeatureServer/blob/master/test/query.js#L103-L158