olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Hawkins (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OLINGO-1299) Guessed type for geospatial in JsonDeserializer defaults to Edm.Geography*
Date Mon, 01 Oct 2018 13:38:00 GMT

     [ https://issues.apache.org/jira/browse/OLINGO-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steven Hawkins resolved OLINGO-1299.
------------------------------------
    Resolution: Won't Fix

After looking at this some more, there isn't a great fix here.  Simply changing to Edm.Geometry
probably creates as many problems as it solves.  As long as it's understood that any conversion
of the guessed Geography must not make assumptions about the srid (such as assuming the default
4326), then the can be left alone.

> 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
>            Assignee: Ramesh Reddy
>            Priority: Major
>
> 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)

Mime
View raw message