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.
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.