Questions tagged [zoom]
Use this for questions about changing the zoom when display a map
442 questions
1
vote
2
answers
77
views
Setting max zoom level of QgsRasterLayer with PyQGIS
I'm using PyQGIS to add QgsRasterLayer layers to my project.
This is how I create the layer:
urlWithParams = "type=xyz&url=http://ecn.t3.tiles.virtualearth.net/tiles/a%7Bq%7D.jpeg?g=1"
...
0
votes
0
answers
33
views
Synchronizing Esri feature layer with Windy API via Leaflet- feature layer size & zoom Issues
I’m currently working on creating a map using an Esri feature layer, along with the Windy API for weather data visualization. I’m facing an issue where the Esri feature layer does not scale down as I ...
0
votes
1
answer
60
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
1
answer
111
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 ...
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
37
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
349
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
85
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
73
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 ...
0
votes
0
answers
42
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
91
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 ...
1
vote
3
answers
103
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
53
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
133
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 ...
2
votes
3
answers
425
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, ...
0
votes
1
answer
460
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 ...
1
vote
0
answers
181
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 ...
3
votes
0
answers
182
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
303
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
149
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 ...
2
votes
2
answers
267
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 ...
0
votes
1
answer
312
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
915
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&...
2
votes
2
answers
526
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
83
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 ...
1
vote
1
answer
400
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
1
answer
235
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
120
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 ...
0
votes
2
answers
211
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
48
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).
...
1
vote
0
answers
126
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 ...
0
votes
2
answers
389
views
ArcGIS Pro zoom to previous extent
I am getting started with ArcGIS Pro 2.9 and I want to know how to zoom to previous extent preferably using a button as in ArcMap, since I am working on a foreign laptop and the keyboard configuration ...
4
votes
1
answer
451
views
How to use XYZ tiles from zoom 11 to a higher zoom
I have generated my own map tiles for zoom 11 (only). I display these tiles in QGIS via XYZ tiles (as a new connection - file:///D:/tiles/11/{x}/{y}.png). They show up fine for the zoom 11.
However, I ...
-1
votes
1
answer
159
views
ArcPy "listElements" error reported
I'm writing a script to convert a CAD polygon feature in a shapefile, calculate area(ha) in a new field and zoom to it in a 25.000 scale.
import os, arcpy, sys
from arcpy import env
#PAR�METROS DA ...
1
vote
0
answers
59
views
Basemap projection seems to change with zoom level
I have imported a point vector layer which is in ESPG:4326 - WGS 84 containing points from all over the world, and added the OSM Standard basemap from the QuickMapServices plugin.
When zoomed out, I ...
1
vote
1
answer
93
views
PyQGIS zoomscale freezes map canvas
I have a PyQGIS code made partially with graphical modeler and some personal completion.
Basically, based on this code I want:
Type any city from my point shapefile, select it by attribute.
Zoom to ...
4
votes
3
answers
956
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 ...
0
votes
0
answers
38
views
QGIS 3: Need to bind "zoom last" and "zoom next", is there a standard/customary setting for them? I'm considering Shift+leftArrow and Shift+rightArrow
I find it indispensable to have a keyboard shortcut for the "zoom last" and "zoom next" commands.
I'm considering binding them to shift+leftArrow and shift+rightArrow which as of ...
0
votes
0
answers
40
views
GeoServer GroupLayer GetFeatureInfo returns wrong layer feature
I'm currently facing an issue with GeoServer and its GroupLayer functionality. I have created a GroupLayer named confini containing three layers: tutorial:Reg01012023_WGS84 (Regions), tutorial:...
1
vote
1
answer
337
views
Zoom on selected features from drop down list in Leaflet [duplicate]
I want to add a GeoJSON layer to leaflet map from local
a drop down list in above the map
and when I select features the map will zoomed on
the dataset is call on head part as
<script src="./...
0
votes
0
answers
195
views
Zoom on the features on map from the drop down list
How can I add a drop down list on HTML so that when I select a item in list, zoom on a feature on the map in HTML page occured. I will use Leaflet map for that purpose. I want to select provinces from ...
0
votes
2
answers
367
views
Handle only last event in OpenLayers map zooming [duplicate]
I have an application using OpenLayers 6 where I am listening to map.getView().on('change:resolution', ...).
When the user zooms with the scroll wheel on the mouse, my handler gets blasted with dozens ...
1
vote
3
answers
386
views
SkyVector zoom levels vs. rest of the world
Has anybody ever figured out the, crazy backwards unconventional zoom levels on skyvector.com?
All I'm trying to do is make the equivalent hyperlink for, say, an OpenStreetMap hyperlink.
Why does it ...
9
votes
1
answer
235
views
Zooming to each vector layer extent, one at a time, using PyQGIS
I'm trying to write a python script that zooms to each layer's extents and then exports the canvas as an image after every zoom.
I wrote a for loop that iterates through each layer, makes each one ...
1
vote
2
answers
967
views
Offset of markers and polygon depending on zoom level in Leaflet
I have run into a problem with a suspicious offset what comes to self created polygon using Leaflet. I am creating a website using NodeJS (and Pug for rendering the HTML itself). Using Leaflet, I ...
0
votes
1
answer
930
views
Resizing a GeoTIFF to a specific zoom level
Say I have a bunch of GeoTIFFs that are very high resolution. Like they could be used with a zoom level of 25, without interpolation, if you created tile layers using gdal2tiles. The max zoom level my ...
0
votes
1
answer
711
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 ...
1
vote
0
answers
79
views
How could I replace fixed conditions to get clustering EPS for some calculation?
I use a function of DBSCAN for clustering, that takes the EPS value as a parameter (radius that defines which points will be grouped together).
To set the EPS I use the following switch case:
let ...
3
votes
1
answer
424
views
Increase the visibility range at a small scale for a georeferenced TIFF tile layer in ArcGIS Online
I am building a webmap in ArcGIS Online whereby I will be importing multiple historical maps saved as TIFFs after first scanning them, saving them in Photoshop, and georeferencing them in ArcGIS Pro. ...
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 ...