koopjs / FeatureServer

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

Fields array refactor #96

Closed rgwozdz closed 6 years ago

rgwozdz commented 6 years ago

This new implementation supports using a provider's idField from metadata as the source of the OBJECTID field's value. The field referenced by idField is maintained in the fields array of both query and layer services. Support is removed for using a field without name or alias of 'OBJECTID' as the OBJECTID field - which produces buggy behavior in ArcGIS clients.

In addition, log warning are added when an idField is not set, or its key/values are potentially problematic in ArcGIS clients.