Steven Hawkins created OLINGO-1292:
--------------------------------------

             Summary: 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


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)

Reply via email to