PostGIS Viewer: See Your Geometry on a Map

Run a query, get a map. Jam SQL Studio decodes PostGIS geometry and geography (EWKB) and renders it right in the results grid, a peek popover, a Query Editor Map tab, and a multi-layer Spatial Explorer — on Mac, Windows, and Linux.

Free for personal use • No account required • Mac, Windows, Linux

If you keep spatial data in PostGIS, you eventually want to see it — not read a hex blob of EWKB in a results grid. A good PostGIS viewer turns ST_AsEWKB(geom) into shapes on a map without an export/import dance. Jam SQL Studio does that inside the SQL client you already query from: geometry columns are recognized automatically, summarized in the grid, and one click away from a map.

pgAdmin's built-in Geometry Viewer and DBeaver's spatial viewer both plot PostGIS results, and QGIS is the reference desktop GIS for editing map data. Jam SQL Studio's angle is different: it is a cross-engine SQL IDE that also maps geometry from PostGIS and MySQL, SQL Server, Oracle, and SQLite — with per-cell peek maps, map-area filter chips that write SQL for you, and stacked query layers.

Jam SQL Studio's Query Editor Map results tab rendering geometry — region polygons, a route line and points — over an OpenFreeMap basemap (representative capture; the same Map tab opens on PostGIS results)
The Query Editor Map tab: run a PostGIS query, see the shapes.

PostGIS Viewer Comparison

How Jam SQL Studio compares to other ways of viewing PostGIS geometry on a map.

Feature comparison as of 2026. Based on publicly available product information.
FeatureJam SQL StudiopgAdminDBeaverQGIS
Map PostGIS geometry from SQL results Geometry Viewer Spatial viewerVia layers
Per-cell peek map in the grid Both gridsPer column
Basemap tiles OpenFreeMap OSM
Also maps MySQL / MSSQL / Oracle / SQLite 5 engines PostgreSQLVia GIS layers
Copy WKT / Copy GeoJSON from a cellVia queryVia query Export
Curved geometry (arcs) render + copy-stays-curvedVariesVaries
Map-area filter chips that emit SQL (bbox / distance)Via GIS filters
Stack multiple query results as map layers Spatial ExplorerLimited
Declare lat/lng columns as spatial (no geometry type) MetaInfo Delimited-text layer
Draw / edit geometry on the map View & export Full GIS editor
Cross-platform (Mac / Win / Linux)

How to View PostGIS Geometry in Jam SQL Studio

From a raw geometry column to a map in a few clicks — no export, no GIS project setup.

1

Run any query that returns geometry

Connect to your PostgreSQL/PostGIS database and run a normal SELECT. Jam SQL Studio recognizes geometry and geography columns and shows a one-line summary in the grid — for example POLYGON · 5 pts · SRID 4326 — instead of an opaque EWKB blob.

2

Peek a single feature

Click the peek button on any spatial cell to open a fit-to-data mini map. From there you can Copy WKT or Copy GeoJSON, and for large geometries a Load full geometry action pulls the rest on demand.

3

Plot the whole result set on the Map tab

Switch the Query Editor results to the Map view to see every row together, colored by a column of your choice with a live feature count. SRIDs resolve through built-in projections and a bundled definition table first, then the connection's spatial_ref_sys, with a planar fallback when a projection can't be found.

4

Browse and filter by map view

Open a table in the Table Explorer and use the map pane for two-way selection — click a row to highlight its feature and vice versa. Add bounding-box or distance filter chips and Jam SQL Studio writes the PostGIS predicate for you; Filter by map view constrains rows to the visible extent.

5

Overlay multiple layers in Spatial Explorer

The dedicated Spatial Explorer workspace stacks several query or table layers, each with its own color, label column, feature cap, order, and visibility — handy for comparing, say, routes against zones. Full details are in the spatial guide.

Jam SQL Studio's Table Explorer with the map pane open beside the grid over a table with a geometry column, spatial filter chips in the filter row (representative capture)
The Table Explorer map pane — two-way selection and spatial filter chips.
Jam SQL Studio's Spatial Explorer workspace stacking multiple query layers, each with its own colour, over a shared basemap (representative capture)
Spatial Explorer stacks query and table layers on one canvas.

A PostGIS Viewer Built Into Your SQL Client

Visualize, inspect, and export spatial data without leaving the query workflow.

🗺

Grid Summary & Peek

Spatial cells show a type/point-count/SRID summary and a peek map in both the Query Editor and Table Explorer grids.

🌐

Map Results Tab

Plot an entire result set on a basemap, color by a column, and read a live feature count — all from the Query Editor.

🧭

Spatial Filter Chips

Bounding-box and distance chips emit real PostGIS SQL, so a map interaction becomes a reproducible query predicate.

📚

Spatial Explorer Layers

Stack multiple queries and tables as colored layers with labels, caps, ordering, and visibility toggles.

Curves Stay Curved

CircularString and CurvePolygon arcs are linearized for display, while Copy WKT keeps the shape curved (a CircularString stays a CircularString, not the flattened display version).

📍

Declare Coordinate Columns

Have plain lat/lng or WKT text instead of a geometry type? Declare it in MetaInfo and it joins the map surfaces.

Frequently Asked Questions

Common questions about viewing PostGIS geometry on a map.

How do I view PostGIS geometry on a map?

Run a query that returns a PostGIS geometry or geography column. Each spatial cell shows a one-line summary (like POLYGON · 5 pts · SRID 4326) and a peek button that opens a fit-to-data mini map. Switch the results to the Map tab to plot every row together, or open the Table Explorer map pane and the Spatial Explorer workspace for larger, multi-layer maps. It works on Mac, Windows, and Linux.

Does Jam SQL Studio support PostGIS geography as well as geometry?

Yes. Jam SQL Studio decodes both PostGIS geometry and geography from EWKB, reads the SRID, and projects coordinates using a resolution ladder: built-in projections and a bundled EPSG definition table resolve first, a SRID in neither is looked up in the connection's spatial_ref_sys table, and anything still unresolved falls back to a planar fit.

Can I view PostGIS geometry on a Mac?

Yes. Jam SQL Studio is a cross-platform desktop app that runs on macOS, Windows, and Linux, so you can view PostGIS geometry on a map on a Mac without a Windows-only tool or a browser upload.

Does the map send my geometry anywhere?

Geometry decoding happens locally inside the app. The basemap is on by default and fetches map tiles from OpenFreeMap, shown behind a one-time privacy notice. You can turn the basemap off in Settings → Spatial, and the map falls back to a planar graticule that draws with no network — useful offline or when you don't want any tile requests.

Can I draw or edit geometry on the map?

No. Jam SQL Studio visualizes and exports spatial data — you can Copy WKT or Copy GeoJSON from any geometry — but it does not draw or edit features on the map. For authoring and editing geometry, a dedicated GIS editor such as QGIS is the right tool; Jam SQL Studio is the SQL-side viewer and export path.

Which other databases' spatial data can Jam SQL Studio show?

Beyond PostgreSQL/PostGIS, Jam SQL Studio also decodes and maps spatial data from MySQL, SQL Server (both geometry and geography), Oracle (SDO_GEOMETRY), and SQLite (SpatiaLite and GeoPackage). Kusto has no spatial types.

Does it handle curved geometry like CircularString or CurvePolygon?

Yes. On PostgreSQL, Oracle, SQL Server, and SQLite, curved geometry (CircularString, CompoundCurve, CurvePolygon, MultiCurve, MultiSurface) is linearized client-side so the arcs render on the map, while Copy WKT keeps the shape curved (a CircularString stays a CircularString, not the flattened display version). MySQL has no curve types.

Can I filter PostGIS data by map area?

Yes. The Table Explorer map pane adds bounding-box and distance filter chips that emit PostGIS SQL, plus a Filter by map view action that constrains the rows to what's currently visible on the map.

View Your PostGIS Data on a Map

Download Jam SQL Studio free and turn geometry columns into maps on any platform.

Free for Personal Use No Account Required

Explore More

See how Jam SQL Studio handles spatial data and other databases.

View SQL Server Geometry Best PostgreSQL GUI vs DBeaver Best Multi-Database

Further reading: Spatial & PostGIS guide · Free WKT viewer · Query Editor · Table Explorer