koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
651 stars 125 forks source link

Move feature server code into its own node module #151

Closed chelm closed 8 years ago

chelm commented 9 years ago

Right now we have 3 files in /lib that handle everything to do with creating Feature Services: lib/Query.js, lib/FeatureService.js, and lib/Extent.js plus we also have some logic in the lib/BaseController that handles processing requests and passing them off to the correct FeatureService methods.

I think we should extract the 3 FeatureService lib files into a new node module that is beyond just koop, and potentially include the logic in lib/BaseController.js in that module as well. This new module could be called something like geojson-to-featureservice or something and would just take a chunk geojson feature collection and return the correct response to a FeatureService query.

ungoldman commented 9 years ago

+1

I can try to tackle this next week. Currently wrapped up in another project.

chelm commented 9 years ago

@ngoldman otherprojects-- koop++

ungoldman commented 8 years ago

This was partially done in https://github.com/koopjs/koop-provider. The torch has been passed once more.