You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Steven Hawkins (JIRA)" <ji...@apache.org> on 2018/09/24 14:25:00 UTC

[jira] [Commented] (OLINGO-1292) Json Serialization of geometry value does not allow for an SRID

    [ https://issues.apache.org/jira/browse/OLINGO-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625892#comment-16625892 ] 

Steven Hawkins commented on OLINGO-1292:
----------------------------------------

See https://github.com/apache/olingo-odata4/pull/31

> Json Serialization of geometry value does not allow for an SRID
> ---------------------------------------------------------------
>
>                 Key: OLINGO-1292
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1292
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.4.0
>            Reporter: Steven Hawkins
>            Priority: Major
>
> Due to [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/server-core/src/main/java/org/apache/olingo/server/core/serializer/json/ODataJsonSerializer.java#L991]
> an srid cannot be associated with a value - even if it's the default 0 or 4326 for geometry or geography respectively.
> Looking at the reference service output [https://services.odata.org/TripPinRESTierService/Airports]
> the srid is associated, and it's already part of the client serialization logic  [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/JsonGeoValueSerializer.java#L42]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)