Steven Hawkins created OLINGO-1299:
--------------------------------------
Summary: Guessed type for geospatial in JsonDeserializer defaults
to Edm.Geography*
Key: OLINGO-1299
URL: https://issues.apache.org/jira/browse/OLINGO-1299
Project: Olingo
Issue Type: Bug
Components: odata4-client
Reporter: Steven Hawkins
>From
>[https://github.com/apache/olingo-odata4/blob/fb2d21d70310815ce6f29a660ecca02fd9d11558/lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/JsonDeserializer.java#L215]
The default type is guessed to be geography, however geometry is the more
general type. The long/lat and srid values may be invalid as a geography value.
This should either default to geometry, or use more context information to
infer the type.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)