Skip to content

Geography point support #7

@Boscop

Description

@Boscop

I tried to use it with geography point type geography(point, 4326) not null in postgres and PgPoint in my model struct, but it's not deserializing the values correctly:

When I insert

ST_SetSRID(ST_MakePoint(13.409779,52.520645), 4326)::geography

and then print it in my Rust executable, it prints:

PgPoint(0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007746818039357731, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013770074297002852)

:/

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