koopjs / FeatureServer

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

DNM: Support use of a provider's metadata idField as full-fledge OBJECTID #94

Closed rgwozdz closed 6 years ago

rgwozdz commented 6 years ago

DO NOT MERGE. Changes and tests here currently dependent on anticipated PR merge in winnow.

Assumptions:

This PR:

  1. Adds warning if a request is aimed at a provider that has not assigned an idField to its metadata.
  2. Adds warning if a request returns OBJECTIDs that are not integers or are out of range
  3. Alters the creation of the fields objects to account for the use of a model's attribute as the OBJECTID (the idField), and when doing so, conforms to the assumptions listed above
rgwozdz commented 6 years ago

Superseded by subsequent PR.