Skip to content

Question: LINESTRING in hex format to LineString #2825

Description

@cvetelinandreevdreamix

Hi all,

First of all, Thank you for being generous with your time and work here.

I'm storing coordinates in a geography column in PostGist. E.G LINESTRING (24.472381 42.984439, ...)
When I get it with PostgresT I get it in hex format in my angular app: 0102000020E61000003900000...

Can I convert the hex with turf so that I get a pairs of { lat: .., lng: ...} objects so I can display them on the google maps component as a polyline?

All the best, Tsvet.

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