koop-retired / koop-server

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

Datasets w/o spatial data should be served as Tables in /FeatureServer responses #22

Closed chelm closed 10 years ago

chelm commented 10 years ago

Currently if you requests a dataset w/o any spatial data (http://koop.dc.esri.com/socrata/worldbank_finances/efin-cagm/FeatureServer/0) the data are served as Tables. However in the FeatureServer/ info request the data appear as "layers" not "tables" (http://koop.dc.esri.com/socrata/worldbank_finances/efin-cagm/FeatureServer).

The layer should be in the tables array. This is a change the lib/FeatureServices.js code

chelm commented 10 years ago

Totally just made this work.

chelm commented 10 years ago

http://koop.dc.esri.com/socrata/worldbank_finances/efin-cagm/FeatureServer