koopjs / FeatureServer

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

Dynamic assignment of string and date length properties #86

Closed rgwozdz closed 6 years ago

rgwozdz commented 6 years ago

In the fields array of responses, objects of type string and date have a length property that is automatically set to 128 and 36, respectively. We might want to consider having the set value sourced to the provider with a default and a max value check.

rgwozdz commented 6 years ago

Having string content that is greater than the default string length of 128 chars appears to cause errors with ArcGIS Pro's identify feature.

rgwozdz commented 6 years ago

FeatureServer 2.12.0 now allows you to set a field's length in provider's metadata; without being set in metadata, string's default to lengths of 128, dates default to 36.