Skip to main content

Questions tagged [zoom]

Use this for questions about changing the zoom when display a map

Filter by
Sorted by
Tagged with
9 votes
6 answers
44k views

Zooming/panning map in QGIS layout independently from frame?

I am coming from ArcMap. Working in the layout view, I had buttons to zoom/pan data and other buttons to zoom/pan the view itself. In QGIS, I can't seem to be able to achieve this. The only buttons I ...
0 votes
1 answer
47 views

Closest possible zoom level in QField

Our idea is to utilize a GNSS capable handheld android tablet to measure and later on relocalize field trials with QField. For the sake of accuracy we're eyeing devices with RTK-level precision ...
3 votes
3 answers
294 views

How to make the display of a satellite image the same across users?

I have a group of users counting objects in a satellite image. To keep viewing conditions the same I wish each user to have the same display (e.g., the same scale). To do this, I have asked users to ...
3 votes
1 answer
86 views

Is there an option in QGIS layout to go back to the previous zoom?

QGIS newbie here... In the layout window, I cannot find a button or keystroke combo to go backward or forward in zoom choices. I would expect this to be a basic option to be found in the layout ...
5 votes
1 answer
1k views

Loading memory layer into map canvas and zooming to it with PyQGIS

I would like to load a vector memory layer into the map canvas with PyQGIS. The background is, that I create a memory buffer layer around point data. While iterating the points I would like to ...
1 vote
1 answer
535 views

Cannot set zoom past 23 in Leaflet

How can I set the zoom to 23 or more? When I try to set the zoom higher the map image disappears. I am able to zoom in past 23 once the map is activated in a browser, but I can't set the zoom past 23 ...
0 votes
1 answer
349 views

Prevent sending too many requests while zooming/paning (OpenLayers 6.15)

I have a web page that displays WMS data from a WMS server, using a TileLayer. The images are fetched with a callback function called by the setTileLoadFunction(..) method of the associated TileWMS ...
0 votes
2 answers
181 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 ...
1 vote
1 answer
661 views

Clipping/ Zooming in on shapefile using R

I'm working on a shapefile of all the villages of Portugal from this link. I've uploaded it to R: #read in shapefile of portugal portugal = readOGR(dsn = "./communities", layer = "...
0 votes
1 answer
627 views

QGIS2Web - OSM and one WMS layer disappear when zoomed

I've created a nice map for my work. However, the two layers, both important to me, disappear when zoomed in enough. One layer (WMS) disappears at 1:500 while the OSM layer at around 1:300. I would ...
2 votes
1 answer
1k views

Mathematical relationship between radius (meters) and the zoom level of the map

I've created an HeatMap (using Mapbox GL) and I want to achieve a behaviour similar to Snapchat, I mean every time you press on shape you get the coordinates of your tap and from here I want to get ...
0 votes
1 answer
1k views

Locking Scale when Panning using ArcGIS Pro

Is it possible to lock the scale of a map in ArcGIS Pro 2.9? I'm manually editing a bunch of feature classes, so what I usually do is open the table, edit my field, then double click the next row ...
0 votes
1 answer
117 views

Tippecanoe | Can't set max zoom extent level 22 for mbtiles

I know this might be a duplicate question but I wasn't able to find any solution. I'm working on a tool with the help of this package which is actually a platform to convert a geojson file to mbtiles ...
0 votes
0 answers
22 views

Zoom level plugin : better UI? Alternate solutions?

Zoom level plugin is very useful when designing maps. I don't know why QGIS does not integrate it. (Or I missed something) I notice that the zoom level displayed is systematicaly overwritten by the ...
0 votes
1 answer
32 views

OpenLayers zoom to WMS result set

I am using GeoServer with a plugin for a NoSQL backend. I am sending the equivalent of a CQL query to select a portion of a dataset and plot in on the map... like thousands of points. My plotting and ...
2 votes
1 answer
179 views

Can't get the right zoom in QGIS layout mode

The increments in which QGIS zooms while rolling the mouse wheel are too extreme. I might be zoomed out too far, but when I roll the mouse wheel just one increment, I zoom way too far in. Normally I ...
0 votes
0 answers
61 views

Feature not showing on zoom levels, despite scale range (QGIS)

I have an MBTiles file I am editing in QGIS. I have isolated the "transportation" layer to only show roads, and I want the major roads to appear at all zoom levels: However, these major ...
0 votes
0 answers
64 views

3DEP WMS hillshade zoom/rendering issue?

Edit: This appears to be an issue with the 3DEP program or ImageServer itself. The same unrendered areas appear in the ArcGIS Online Map Viewer and in https://apps.nationalmap.gov/3depdem/. I'm ...
4 votes
3 answers
831 views

Zooming to maximum raster cell value in QGIS

I have a Float 64 TIFF in QGIS that has greater than 500 million cells. Without converting to a point layer, is there a way to zoom to the cell that contains the maximum value? I have looked at ...
3 votes
0 answers
386 views

Centering map on maximum value of raster in QGIS [duplicate]

I have a very large QGIS raster layer showing the differences between two nearly identical rasters. Because of this, it is very difficult to find where in this layer the few pixels that are different ...
1 vote
3 answers
83 views

What function in ArcGIS Pro Python replaces the ArcMap data frame method zoomToSelectedFeatures()?

What function in ArcGIS Pro Python replaces the ArcMap data frame method zoomToSelectedFeatures()? I already tried other solutions (getLayerExtend for Layout), but didn't work. ##SNIPPET CODE arcpy....
0 votes
0 answers
40 views

Creating automatic page size from polygons

I am new to QGIS, so I will try my best to describe what I am trying to do. I have a line feature, along which I have created an array of the same sized polygons/grey squares. I am trying to create a ...
0 votes
0 answers
87 views

Labels automatically changing position from main view to Print Composer

I am working on a basic river map and when switching to the Print Composer, many of my labels are randomly moved. And not only they are changed on the default view on the Print Composer, but they keep ...
4 votes
1 answer
3k views

Is it possible to extract tiles layer as raster in QGIS?

Let's say I have a shapefile that contains multiple polygons and I open it on QGIS: Let's also say that I activate the OpenStreetMap tiles layer under it: I'd like to find a way to extract the tiles ...
1 vote
2 answers
4k views

resize divIcons (svgs) at zoom levels - Leaflet

I am adding a geoJSON to a map using a custom divIcon (from svg) for point markers with Leaflet. The divIcon needs to resize on different zoom levels. Currently I can see the icons and the popup ...
18 votes
9 answers
25k views

Shapefile layers in QGIS don't display unless I zoom out

I have two shapefile layers in a QGIS project that have problems with zooming. One is a line I copied/pasted in a new layer from a set of height contours and the other one is a polygon layer I created ...
0 votes
0 answers
45 views

Adjust the zoom of MapImageLayer, according to what is to be shown

I need to find a way to programmatically adjust the map's zoom when it gets loaded, so that only the sublayer to be shown, is visible in the area displayed in the map. With FeatureLayer maps, I use ...
0 votes
1 answer
116 views

Setting specific zooms when clicking on different circle markers from the same layer in Leaflet?

I'm creating a Leaflet Map with circle markers designating specific plots of forest land across the U.S. When the user clicks on a marker, a popup shows up with information about the plot. Since the ...
18 votes
4 answers
10k views

Changing mouse wheel zoom settings in QGIS?

I'm having a problem with the mouse wheel zoom setting on my macbook trackpad. The zoom occurs far too quickly for any level of precision. I noted this comment in the dev log: 2004-08-14 [gsherman] ...
2 votes
3 answers
367 views

Automate zooming/panning to selected feature(s) in QGIS without manual clicks

I'm wondering if there's a functionality or a button in QGIS that allows for automatic zooming and panning to the currently selected feature. Instead of manually clicking zoom/pan buttons each time, ...
2 votes
2 answers
204 views

Query mbtile vector at a higher zoom level while visualising in lower zoom in Mapbox GL JS?

I've created five GeoJSONs for H3 resolution cells from 3 to 7. Each GeoJSON was then converted into mbtile for different zoom level and joined together to form a single mbtile. Now, I can render ...
1 vote
0 answers
135 views

OpenLayers vector layers don't render at certain zoom levels in Chrome browser

Environment: Chrome browser Typescript Angular OpenLayers 8.0 I have two OpenLayers maps side by side. They need to be synced in all respects except for one layer. So I'm using the same layers and ...
1 vote
1 answer
1k views

Calculate zoom for given bounding box and map size in OpenLayers

Is there a way to calculate zoom for given bounding box and map size in OpenLayers? What I can do is fitting the map and then reading the zoom from view but I need to calculate it without setting the ...
3 votes
0 answers
122 views

Some features disappearing when zooming out in QGIS

When zooming out on the canvas, some features of a polygon layer (within a geopackage) are disappearing from the canvas, but not all. They reappear when zoomed in. I have checked scale dependent ...
1 vote
1 answer
211 views

Creating zoom change event handler using ArcGIS JS API?

I want to change from a cached Basemap to a dynamic Basemap when the zoom is past a certain level. All Basemaps stored inside view's baseMapLayout (assume currently there's only 2). view is an ArcGIS ...
0 votes
1 answer
241 views

Adding data to existing .aprx layout and zooming to extent of new data using ArcPy with ArcGIS Pro

I need to add data to an existing .aprx layout and zoom to the newly added data extent. Then, I need to export layout with new data as a JPEG. This workflow is not clear online. My data is not in a ....
1 vote
2 answers
710 views

Show/hide feature text depending on zoom in OpenLayers 7

I'm working on a method to show or hide feature labels (text) based on zoom level. I have a working example that uses setScale on the style object of the feature and is triggered by the "moveend&...
0 votes
0 answers
14 views

Displayed entities toggle at each zoom level on OpenLayers map [duplicate]

I have a PostGIS table connected to my GeoServer in which I have published a layer of 80 multipolygon features. The multipolygons have very different sizes and are displayed correctly in the ...
2 votes
2 answers
401 views

Limit WMTS zoom level in QGIS

I am using the Ordnance Survey Maps API WMTS in QGIS. This WMTS provides tiles up to zoom level 16 for free, but charges above this. Can I limit QGIS to only attempt to fetch tiles below this ...
1 vote
1 answer
79 views

perform zoom on NOT opened APRX

I was planning to write a script which would save a copy of aprx from the template and perform the zoom on all Layouts. Just to simplify things I will give an example of one Layout. On Layout called ...
4 votes
2 answers
573 views

Making tiny objects visible for their location when zooming out

I'm adding small features to QGIS that I need to be in a precise location (trail signs) like so: 1:500 However, when I zoom out, they become invisible: 1:10000 If I switch the sizing to millimetres (...
2 votes
2 answers
759 views

Zooming Ordnance Survey OpenSpace Pro map to make it bigger rather than to show more features

I'm trialling Ordnance Survey OpenSpace Pro WMS, and I have a basic map showing all the layers I'm going to be licensed for (free ones plus vector map local). This works fine, but I'd like to make the ...
0 votes
1 answer
282 views

Limit map zooms to integer zoom level after initial fractional zoom in Leaflet?

I have a map that defaults to a fractional zoom level for a particular reason. (I need to keep it this way if at all possible.) However, whenever the user zooms in or out by any means, I want the map ...
0 votes
2 answers
1k views

Using ArcGIS Online Dashboard Map Zoom

I have a dashboard with a few different elements on it. The Map element and the List element are connected to each other and I have them set up that when you click on a feature name from the List ...
0 votes
1 answer
189 views

Zoom to layer bounds on popup close in Leaflet

I have a GeoJSON data layer in a small Leaflet project and initially I zoom to its bounds. map.fitBounds(dataLayer.getBounds()); I bind popups to each feature and zoom to the clicked feature when the ...
1 vote
1 answer
99 views

Initial zoom to GeoJSON object from file (.js) in Leaflet

I am building a viewer with Leaflet API and OpenStreetMap base. I want that when I enter this viewer it shows me immediately in the initial visualization the extension of my layer that I am using. For ...
2 votes
2 answers
2k views

Choosing and zooming to features using SQL query in ArcPy with ArcGIS Pro?

When using ArcPy with the ArcGIS 10.x architecture there is a simple coding pattern that I find I use frequently: import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping....
0 votes
1 answer
44 views

QGIS Zoom & Navigate in overview panel itself?

Is it possible to zoom in on the overview panel itself? I think having done this in the past, but can't find how again. The overview panel always shows the full extent of the overview layer(s). ...
0 votes
0 answers
602 views

Limit the zoom and center on a fixed zone

I would like to create a folium map centered on one location and prevent users from moving outside the zone. We can define a min_zoom, so that the user can not zoom out for ever. import geopandas as ...
1 vote
0 answers
105 views

How do I put my map into layout view?

My intent is to export my map from layout view, after giving it a title, legend, scale and north star. When I switch my document from data view to layout view, nothing happens. The view of the map ...

1
2 3 4 5
9