Questions tagged [scale-bar]
Scale bar provides a visual indication of the size of features, and distance between features, on the map. A scale bar is a line or bar divided into parts. It is labeled with its ground length, usually in multiples of map units, such as tens of kilometers or hundreds of miles.
110
questions
0
votes
0
answers
62
views
Scale is off when using EPSG:32616 (WGS 84 / UTM Zone 16N)
I am working on a project in QGIS where I have projected all data in EPSG:32616 to fit the extent I am mapping (Southern Mexico - chat gpt told me to use this crs). Everything looks visually correct ...
1
vote
0
answers
83
views
On a QGIS layout, is it possible to obtain a scalebar's zero coordinates?
I have several pages on a layout, each of them has a scale bar. These scale bars' widths aren't fixed, they vary on each page (they are set to "Fit segment width", as you can see on the ...
1
vote
0
answers
33
views
Scale bar in Azimuthal but not Robinson despite reprojected layer and matching project CRS - why?
I need a world map in World Robinson (ESRI:54030) projection (or Winkel Tripel, ESRI:54042), but the scale bar won't appear unless it's set to "Map Units". Since I need KM, this won't work. ...
0
votes
0
answers
13
views
Scalebar customization in MapServer
I'm a beginner when it comes to the MapServer environment and I've been wondering if I can change the unit label beside a scalebar to my custom text. I have the SCALEBAR object defined like this:
...
0
votes
0
answers
47
views
Wrong scale in QGIS Layout
Creating a map with multiple insets, but the scale for the main map and the insets are way too off the mark. Tried checking if the scalebar was linked to the correct map views and it was properly ...
0
votes
0
answers
31
views
Making Right-to-Left scale bar for Arabic in QGIS
How to change the direction of the scale bar from LTR to RTL in an RTL map in QGIS?
2
votes
0
answers
75
views
PyQGIS setting scalebar to kilometers
I have a pyqgis script that exports multiple maps.
I am using a specific layout and map item.
The scalebar should be variable depending on the location.
I have the following scalebar code snippet:
...
0
votes
1
answer
98
views
Scale Bar is Invisible on Map Area
In QGIS layout, I have two maps. Both showing the same region. The upper Map (Map 2) creates a whitish background (using difference tool) on Map 1. Now I want to put a scale bar. But it is shown only ...
0
votes
0
answers
26
views
QgsPrintLayout Scalebar does not update correctly
With Pyqgis, I am trying to automate the creation of layouts using a template.
I use QGIS v3.32.2-Lima with Python v3.9.5.
In the template, I have a map item and a scalebar item.
The scalebar item ...
0
votes
2
answers
182
views
Rounding scale bar to nearest number up using ArcPy in ArcGIS Pro
I have a script that zooms to the selected layer, Site Boundary (always different size, geometry and location) on specific Layout (called Elevation) and zooms to that feature.
If the record is very ...
0
votes
1
answer
105
views
QGIS Atlas -- Scale bar changes for different maps
I'm able to generate maps using the Atlas tool.
I set the "Fixed scale" for the map and the scale bar as "Fixed width". But the scale bar length still changes for each map even map ...
1
vote
1
answer
116
views
QGIS: Status bar, scale drop down
My scale drop down is very small in the status bar. While I can still input into it, I can't see what scale I'm currently at.
I've done a fresh install twice, but the same problem persists.
QGIS ...
1
vote
1
answer
237
views
If a scale bar measures incorrectly in the web mercator projection, how can it be correct in Google Maps?
I've started to read a bit more into coordinate systems, projections and the problems around them and so far I understand that in the WGS 1984 Web Mercator (auxilliary sphere) coordinate system a ...
5
votes
1
answer
108
views
Dividing the scale bar to the left of zero in QGIS
I'd like to add a 2.5 km value on the left of the 0 value in my scale (divide the rectangle from 0 to 5 into two smaller ones). How to do it?
3
votes
1
answer
520
views
Cannot find scale bar tool
I am new to QGIS and I am working with version 3.22.5. I am trying to add a scale bar to a map. According to web tutorials, there should be a scale bar tool available. However, I cannot find it ...
0
votes
0
answers
279
views
ArcPy changing scalebar and grid parameters
I'm trying to use ArcPy in ArcMap, so Python 2.7, to automate the basics for the maps I make on a daily basis. Rather than having myself setout certain elements I want Python via the ArcMap API to do ...
0
votes
1
answer
87
views
Right to left scale bar
How to make a right-to-left scale bar in QGIS
2
votes
2
answers
958
views
Adjusting the scale of a scale bar
I need to make sure the scale bar i am using on this map on QGIS 3.22 is accurate. None of the tutorials available online teach how to check the accuracy of a scale bar, only how to set it and ...
1
vote
1
answer
315
views
Getting correct scalebar on multiple maps in single map layout using QGIS
I am making a map with two main maps and a single inset map for context. My scalebar appears to be showing the correct scale for the inset map, but when I add a scalebar to one of the main maps it is ...
2
votes
2
answers
2k
views
Scale bar with different sized segments in QGIS [duplicate]
Is it possible to divide a QGIS scalebar into different sized segments like the one in the example given, and show the relative labels?
3
votes
1
answer
533
views
Setting layout scale bar to change automatically from kilometers to meters using QGIS
Recently I’ve been creating a layout for my colleagues. Because they are likely to produce maps of various scales, I wanted to implement in the layout a scale bar that could automatically change from ...
4
votes
3
answers
2k
views
Setting Atlas scale and scale bar for each map to round number using QGIS
My AOI table looks like
I have the following settings in the map frame.
Notice the scale is not a round value.
I have tried to change the value for 'Margin around feature' to 0 but this doesn't ...
5
votes
1
answer
627
views
PyQGIS - Changing scalebar width from an existing layout
I have a project on QGIS 3.16 with several layouts.
I would like to change the scalebar width according to the value of a Python variable, either a fixed sized of 1000 or 500 units (for instance).
...
2
votes
1
answer
2k
views
The scale bar shows a wrong scale
Adding a scale bar to my layout shows an incorrect scale (see image).
I am using EPSG:2097. What do I need to do to make the scale bar show the correct scale?
1
vote
2
answers
2k
views
Toolbar malfunction QGIS 3 [closed]
When adding a scale bar to the print layout, however, the scalebar just doesn't appear.
Any hints on why this would be? How to fix it?
0
votes
1
answer
155
views
OpenLayers 6 scaleLine too long
I am displaying a 50 meters long lineString side by side with a scaleLine.
The 50 meters long scaleLine appears a little bit longer.
LineString Coordinates are : [1663006.541, 8176215.196, 1663056....
0
votes
1
answer
72
views
Identify results window: Is it possible to fix the y-scale when using the graph option? If no, is there any alternative?
The example images below show pixel reflections values of 10 Sentinel bands in the identify results window, graph option.
Problem for me: When I switch from one pixel to the next, the scale will ...
0
votes
1
answer
268
views
Mapfish Print rendering incorrect Scalebar even with Geodetic setting
I'm trying to add a scalebar to my Mapfish Print pdf output but it's always rendering too small.
I have seen a few solutions that suggest using the "geodetic": true setting in my requests, ...
3
votes
1
answer
413
views
QGIS scalebar does not match scale/shows wrong distance
I'm using QGIS3.16.13 and when I add the scale-bar from "view > Decorations > Scalebar" to my map I noticed that it shows the wrong distance. I'm not talking about the print-composer, ...
7
votes
1
answer
237
views
Automatically switch scalebar units at certain scale
I have a scalebar with a element-width of 70 mm. It has three segments and their width is set to be between 50 and 60 mm. Scalebar units are set to [m]. This works fine when it comes to automated ...
1
vote
1
answer
274
views
How to print at an architectural scale?
I'm a landscape architecture student who is starting to learn QGIS. How would I be able to manually input a scale I want in inches to feet when exporting for print? For example, if I would like to ...
4
votes
1
answer
115
views
Update a round numeric scale with atlas page - PyQGIS3
I would like to add a rounded numeric scale to each map of my atlas, with a blank as thousands separator.
The code below allows to produce this kind of numeric scale but it's not changing with the ...
1
vote
0
answers
66
views
Generate color ramp scale for imported base map in QGIS
I have imported a bathymetric layer, showing depth variation around an archipelago, which I'm using as a basemap. I would like to create a scale bar for it, showing max and min recorded depths.
Is it ...
2
votes
1
answer
798
views
Add scale bar to canvas using PyQGIS
Is it possible to get the decorator scale bar onto the map canvas inside a standalone PyQGIS application? It is possible to get a scale bar on the QGIS Desktop version by View -> Decorations -> ...
3
votes
1
answer
1k
views
Scale bar in QGIS shows incorrect measurements
I am mapping change in share of land used for agricultural use by nation. For some reason when I add the scale bar it displays incorrect measurements (see screenshot attached. I am pretty sure the ...
0
votes
1
answer
114
views
Changing Linear Units on Scale Bar to a unit not listed [duplicate]
In ArcMap, how can I change my linear units on a scale bar for layout view to a unit not listed on the drop down menu in units of the scale bar? I want to get survey chains in my map as a scale bar.
10
votes
4
answers
586
views
QgsLayoutItemScaleBar.setUnits does not work
I'm writing a plugin that allows to automatically export a map with a predefined layout, based on the content of the canvas.
I need to have a scale bar in nautical miles, so in my code I add a ...
0
votes
0
answers
2k
views
Scale bar wrong on QGIS
The scale bar is very off, I believe the length of the scale bar shown should cover 20-40 km in this area easily. I have everything on the project and layers set to epsg: 26919. As you can see the ...
4
votes
0
answers
353
views
Numeric scalebars don't (always) update when changing the map's extent in QGIS
If you change your map's extent but maintain the scale in a QGIS Layout, the scalebar's width will be updated proportionally with the CRS's distortion for the new extent. E.g. if your map (crs 3857) ...
0
votes
1
answer
1k
views
Scale bar on QGIS is showing zero
I am using the print layout on QGIS 3.10 and I am trying to add a scalebar to my map. The CRS I am using is ESRI:54030 - World_Robinson. The map's scale is on 164176648. When I set the scalebar to ...
1
vote
1
answer
2k
views
geopanda plots / scale in km bar [closed]
How do I set a scale in km on a map in geopandas, as in the picture below?
I am using:
geopandas.read_file(geopandas.datasets.get_path('naturalearth_lowres')) map
0
votes
0
answers
124
views
Error scale bar
I am working with QGIS 2.18.28, I have an Excel file with GPS coordinate of accident and I tried to generate a heat map. The problem is the unit of the map is not correct. So the scale bar generate a ...
1
vote
1
answer
1k
views
QGIS - Scale bar segments
Is it possible to divide a QGIS scale bar into different sized segments as you can in MapInfo (as with example given).
Or is it possible to select different style of scale bars in QGIS?
If it's not ...
1
vote
1
answer
84
views
Using QGIS Graphical Scale Bar Parameters
I am using QGIS 3.8.3.
Why in the composer layout, when I insert the graphic scale bar, both options (Cap style and Alignment) on the Item properties -> Display menu are disabled and the scale bar is ...
2
votes
1
answer
613
views
Add separator and text after numeric scalebar in QGIS 3
In the numeric scalebar in QGIS 3 is it possible to add a thousands seperator of ',' and also some text after the value?
This should be "1:500,000 at B0" for example.
I have tried Display and Font ...
0
votes
1
answer
1k
views
Inserting scale bar in ArcScene?
In layout view of ArcMap it is easy to add a scale bar.
In ArcScene there is no layout view and no insert a scale bar tab.
How do I add a scale bar in ArcScene?
0
votes
1
answer
116
views
Associating Inset Map with Layer using ArcPy?
I'd like to only display an inset map, inset map scale bar, frame and leader if an associated layer is displayed. Similar to Associate Point Layer, Annotation Group and Line Layer in Map Legend but ...
2
votes
1
answer
2k
views
Numeric Scalebar round
The numeric scalebar in the map composer shows too detailed information on the output.
Moving the Map canvas changes the scale depending on the moved distance on the map.
We use EPSG 4258 (ETRS89)
...
0
votes
1
answer
83
views
Associating Inset Map with Layer?
I'd like to only display an inset map, inset map scale bar, frame and leader if an associated layer is displayed. Similar to Associate Point Layer, Annotation Group and Line Layer in Map Legend but ...
1
vote
0
answers
100
views
Making Scale Bar end in zeros for Data Driven Pages?
This is related to Making Scale Bar in ArcMap end in zeros?
I want the scale bar to end in round numbers continually in data driven pages without overrunning the data frame. With the Adjust width ...