Skip to content

Bug: Wrong Data Type for Spatial Serialisation #175

@no1melman

Description

@no1melman

writer.WriteBeginArray(2);
writer.WriteString(value.Longitude.ToString());
writer.WriteString(value.Latitude.ToString());
writer.WriteEndArray(2);

Here there are two strings being written, instead it should be two decimals being written.

I had to debug into the Http Engine to see the bad request coming back from the server complaining about needing an array with two decimals. I was getting some random red herring about cbor needing a map(5) or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions