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.

Hi, First of all; great lib. It’s super useful.

Not unlike many people I suppose, I’m using Postgis for geo-based stuff and it seems the Postgis types are not supported, like geography(Point,4326) , which is a game-stopper, unfortunately

Do you plan to add support for these types, maybe beginning with the most popular ones? Or is there a way to map unknown types to whatever TS type you like?

Thanks in advance.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Kim-Andersencommented, Jul 11, 2022

It seems the postgis types appear in the pg_type table, at the geography type I’m looking for.

Would you take a PR for this type only? Then maybe I’ll PR in more types as I get the hang of it.

1reaction
Kim-Andersencommented, Jul 11, 2022

Ah, you mean if the postgis types are provided in the pg_type table?

Read more comments on GitHub >

github_iconTop Results From Across the Web

9. Geometries — Introduction to PostGIS
Our example table contains a mixture of different geometry types. We can collect general information about each object using functions that read the...
Read more >
Chapter 2. Geometry types - PostGIS in Action
These types are divided into individual types called point, polygon, lseg, box, circle, and path. The built-in PostgreSQL box type and the PostGIS...
Read more >
PostGIS Geometry Types | GEOG 868: Spatial Databases
The other basic geometry types are POINT and LINESTRING. As we'll see momentarily, there are numerous other geometry types available in PostGIS that...
Read more >
PostgreSQL data types supported in ArcGIS—Help
As indicated in the table, ArcGIS creates and can work with three spatial data types in PostgreSQL: Esri ST_Geometry, PostGIS geometry, and PostGIS...
Read more >
Writing Multiple Geometry Types to an Existing PostGIS Table
Since the PostGIS readers and writers don't support multiple geometries, only the first geometry type will be shown in Visual Preview. PgOutput.
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