Field value string representation for NaN
|Reported by:||cbutlerami||Owned by:||warmerdam|
I have some standard DNC/VPF datasets that use NaN for some real field values. When the data is inserted into PostgreSQL by ogr2ogr, there is an error because Postgres does not recognize the string generated by OGRFeature::GetFieldAsString? for a real field type that has NaN as the value.
I believe PostgreSQL (at least) wants the string value 'NaN' (some variation of nan in single quotes).