question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error rendering Postgresql/PostGIS geometry columns

See original GitHub issue

Hi,

Postgresql/PostGIS geometry columns are rendered fine, when the geometry is based on the OpenGIS specification. POINT, LINESTRING, POLYGON, etc, based geometries are well transformed to text for display.

But when the geometry is based on the SQL-MM specification (CURVEPOLYGON, CIRCULARSTRING, etc) the rendering fails with: Unkown Geometry Type.

This happens in version 5.2.4 and 5.2.5.

I’ve attached an image.

captura de ecra de 2018-11-20 11-14-05

How to reproduce the error:

Just run:

select st_geometryfromtext('CURVEPOLYGON(CIRCULARSTRING(0 0, 4 0, 4 4, 0 4, 0 0),(1 1, 3 3, 3 1, 1 1))')

and the output will show the error.

captura de ecra de 2018-11-20 11-24-53

DBeaver Installation Details: dbeaver5.2.5.txt

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
serge-ridercommented, Nov 23, 2018

SQL-MM specification is not supported yet. Mark as FR.

0reactions
uslsscommented, May 1, 2019

verified

Read more comments on GitHub >

github_iconTop Results From Across the Web

ST_MakeLine returns Unsupported geometries not rendered ...
Therefore, first create a new table with all the data entries of the roads2 table. Then add the columns of roads2 to the...
Read more >
23. Validity — Introduction to PostGIS
Validity is most important for polygons, which define bounded areas and require a good deal of structure. Lines are very simple and cannot...
Read more >
Chapter 4. Using PostGIS
The OpenGIS "Simple Features Specification for SQL" defines standard GIS object types, ... The name of the geometry column in the feature table....
Read more >
Chapter 8. PostGIS Reference
This section lists the custom PostgreSQL data types installed by PostGIS to ... These functions assist in defining tables containing geometry columns.
Read more >
Chapter 3. PostGIS Frequently Asked Questions
R-Tree indexes in PostgreSQL are not "null safe", so building an index on a geometry column which contains null geometries will fail. 3.13....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found