Help › Work with results
Show geometry on a map
Draw a result's points, lines and polygons on a map, pan and zoom, select a row by its shape, and see one value on a map in the value viewer.
Querlyn 0.1.0 is not released yet. This help describes it ahead of release.
A result with a geometry column can be drawn on a map: PostGIS
geometry and geography, the spatial types of MySQL, MariaDB and SQL
Server, DuckDB's GEOMETRY, SpatiaLite and GeoPackage columns in SQLite,
BigQuery's and Snowflake's GEOGRAPHY.
Show the map
Run a query that returns a geometry column, then choose Map in the bar above the grid, the Map tab of the results pane, or . The button and the tab are there only when the result has such a column.
When the result has several geometry columns, the map's bar lists them: choose the one to draw.
What is drawn
The map draws the rows that are loaded: points as dots, lines, and polygons filled, with their holes. The line at the top left says how many rows that is. To bring in more, choose Load More Rows (); each time it loads 10,000 more, up to the result's memory limit.
At most 100,000 shapes are drawn; the line under the map says when rows were left out, and how many values could not be read as geometry.
Move around
| To | Do this |
|---|---|
| Pan | Drag the map, or press the arrow keys. |
| Zoom | Scroll over the map, type + or -, or choose Zoom In and Zoom Out (, ). |
| See every shape again | Choose Fit () or type 0. |
| Select a row | Click its shape. It is drawn in the focus colour, the line under the map names the row, and the grid's cursor moves to it, so the Result tab shows the row. ⎋ on macOS or Esc on Windows and Linux clears the selection. |
Coordinates and SRIDs
Values in WGS 84 longitude and latitude (SRID 4326), and values without an SRID whose coordinates all lie within longitude −180 to 180 and latitude −90 to 90, are drawn on a longitude/latitude grid with a world outline.
Values in another reference system, such as SRID 3857 or a national grid, are drawn as they are, on a plain grid of their own units and without the world outline; the line under the map says so. Querlyn does not convert between reference systems.
The tile background
Maps are drawn without a background picture by default, and Querlyn sends nothing anywhere to draw them. The world outline comes with Querlyn.
To draw OpenStreetMap's map behind the shapes, choose Tiles (), or turn on Show OpenStreetMap tiles behind maps under Maps in Settings. Only longitude/latitude maps use tiles. The line under the map then credits OpenStreetMap's contributors, with a link to their copyright page.
Note: With tiles on, Querlyn asks tile.openstreetmap.org for the pictures of the area you look at. That server sees your network address and which part of the world is on your screen. It never sees your data's values. Querlyn asks for at most two pictures at a time and keeps them until you quit, as OpenStreetMap asks of the programs that use its tiles.
One value on a map
In the value viewer (), a geometry value has a Map button that shows it on a small map with its SRID; Text shows its text again.
Masked columns
A column marked as sensitive stays masked: the map does not draw it and says so, and the value viewer offers no map for it. See Screen-share mode and masked columns.
Help for Querlyn 0.1.0. All help topics