Skip to main content

Questions tagged [dpi]

Dots per inch (DPI, or dpi)[1] is a measure of spatial printing or video dot density,

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

In QGIS Layout "Export as image" predefined settings do not match Page Properties

When setting the Page properties in the Print Layout I expected that these properties are predefined when exporting this Layout as image. But either this seems not to be the case or I am missing ...
jens wiesehahn's user avatar
1 vote
1 answer
248 views

How to change the layout DPI for PDF export in QGIS

I am working with QGIS 3.28.4. I have set the export resolution to 300dpi in the layout properties but when I export the layout as a PDF it gets exported at 72dpi. If I export it as png it gets ...
user2054004's user avatar
1 vote
0 answers
129 views

Change the zoom level or detail level of a WMTS map from Swisstopo in QGIS

I'm using QGIS and I'd like to change the zoom level or detail level of my WMTS map. The WMTS connection I'm using is from Swisstopo and the URL is: https://wmts.geo.admin.ch/EPSG/2056/1.0.0/...
eagleadmiral's user avatar
5 votes
1 answer
158 views

QGIS 3.22.1 changelog: physical DPI

The 3.22.1 changelog describes a new feature: Allow using physical DPI for map canvas. Unfortunately, there is no description how to enable this feature. I searched through the QGIS Settings > ...
Stu Smith's user avatar
  • 8,192
3 votes
0 answers
613 views

Relation of DPI to QGIS scale

I am trying to use QGIS to generate OpenStreetMap data in an older format (NTF). Since OpenStreetMap is vector, I am currently using Save Map as Image (I also tried a Print Composer) to generate ...
Dion Houston Sr.'s user avatar
1 vote
2 answers
304 views

OpenLayers: How to shift zoom level content for ol/sourceXYZ about one zoom level

The Swisstopo WMTS service assigns specific raster map content to specific zoom levels: .... 16: 1:25'000 Raster map 15: 1:50'000 Raster map 14: 1:100'000 Raster map .... Here is a code example. ...
Günter Schmudlach's user avatar
2 votes
1 answer
779 views

Correcting canvas DPI in QGIS Windows

I'd like my QGIS map canvas scale to be accurate, e.g. so if the scale is 1:10000, then 100m on the ground should show in 1 cm of screen. My Windows laptop screen has 157 ppi (dpi) based on its ...
Houska's user avatar
  • 8,196
0 votes
1 answer
530 views

Changing layout output DPI and dimensions using QGIS Python

I would like to use Python to change the DPI of my map image files, I am not sure where in my code I need to add this line. from qgis.core import QgsProject from qgis.core import QgsPrintLayout from ...
Sanch's user avatar
  • 215
2 votes
1 answer
790 views

Raster resolution stuck at 96dpi in ArcGIS Pro

I am using ArcGIS Pro 2.5. I have a high resolution raster I've downloaded from a state run imagery site, sid format. I'm trying to export it to a pdf using the native resolution. The dpi is seems ...
Alpheus's user avatar
  • 542
1 vote
1 answer
498 views

Specific WMS request for printing

I wish to use a special wms request for printing only. full request looks like: /geoserver/test_osm/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&...
Tyomik_mnemonic's user avatar
0 votes
0 answers
2k views

What it means when choosing a "dpi" when exporting a PDF map in ArcGIS?

I'm trying to understand something when exporting map as PDF file in Esri's ArcGIS for Desktop. The ability to choose paper size. The ability to choose DPI. Thought that those are printer parameters....
GallPeters's user avatar
2 votes
0 answers
1k views

QGIS print layout (large size printed image)

I have been asked to create large size images to be the printed with a good quality to look at. The images could be with dimensions of 1 meter in height or width, but even larger. I must create these ...
TelcoGIS's user avatar
  • 199
2 votes
1 answer
3k views

How to change layout DPI in QGIS 3?

I am trying to change the DPI of QGIS3 (3.6) in the layout manager. However, as the Figure below shows (lower left corner), the DPI (300 by default) seems to be read only. I tried to click the ...
tinlyx's user avatar
  • 11.1k
3 votes
0 answers
250 views

Changing default DPI for Export Map to Image in QGIS?

In QGIS 3, is there a way, perhaps a configuration file, to change the default DPI for doing Export Map to Image from the Project \Import/Export menu? I use this function a lot, but the default DPI, ...
tinlyx's user avatar
  • 11.1k
5 votes
0 answers
955 views

Could not allocate required memory for image

I'm trying to export a 24k image (export set to 1650DPI) using the "export as image" function but I keep getting the "Could not allocate required memory for image" warning. I don't understand why ...
James Kelly's user avatar
1 vote
1 answer
294 views

MapProxy WMS Print Scale Problem

The application that I work with consumes WMS services created in Geoserver via MapProxy. I used ysld to style my layers. As long as I want just display my layers in the application, the scales that I ...
Kumbria's user avatar
  • 73
3 votes
0 answers
859 views

How to get DPI to find current scale in OpenLayers?

Is there a way to automatically retrieve the DPI value of an OpenLayers page? The goal is to automatically retrieve the map scale from this code: function mapScale (dpi) { var unit = map....
GuillR's user avatar
  • 41
0 votes
0 answers
344 views

How zoom base on scale in ol?

I want to zoom to ol3 map base on scale(for example 1:50000). This means every 1cm in ol map must show 50000cm in real world. for converting scale to resolution I used as follows: var ...
Morteza Malvandi's user avatar
1 vote
1 answer
243 views

How to calculate the ratio between DPI and MB in QGIS?

I need to make maps that do not exceed a limit of 20 MB. Up until now I worked with DPI values, that I choose when I export maps from the print composer Maps with the same DPI have a different MB of,...
Nitzan Matan's user avatar
  • 2,857