Questions tagged [wkb]

The Well-Known Binary (WKB) representation for geometric values is defined by the OpenGIS specification.

The Well-Known Binary (WKB) representation for geometric values is defined by the OpenGIS specification.

https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary

33 questions
0
votes
1 answer

to_shape() fails with ParseException

I have been experimenting with GeoAlchemy2, and I have some trouble with parsing its geom field. I have tried to use the built-in to_shape function on a WKB element: The example reads: lake = Session.query(Lake).get(1) polygon =…
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
-2
votes
1 answer

Converting WKT to WKB in Postgresql

I have a table called areas_map with two columns a_id (bigint) and geom (geometry(MultiPolygon, 4326)). Table "public.areas_map" Column | Type | Collation | Nullable |…
Lily
  • 3
  • 3
1 2
3