Questions tagged [extents]

An extent is the minimum bounding box/rectangle (xmin, ymin and xmax, ymax) defined by coordinate pairs of a data source. All coordinates for the data source fall within this boundary.

Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

Reuse Extent menu from processing tools

Actually I'm using QgsExtentGroupBox in my plugin and it works fine. Now I want to make the GUI more compact and therefor I want to implement the extent menu a lot of processing tools are using: I ...
geraldo's user avatar
  • 960
0 votes
1 answer
36 views

Setting extent in which one raster would show and other won't

I have 20+ raster spread out on huge area so I set the scale range (out beyond, in beyond) at which raster will be shown. But when I zoom into raster A, raster B with same scale range is also ...
educated_morron's user avatar
0 votes
0 answers
43 views

QgsCoordinateTransform doesn't work correctly for outbound coordinates using PyQGIS in QGIS 3.28

I'm developing a plugin which, as part of its functionality, needs to retrieve the coordinates of the current canvas extent in WGS84. I use qgis.utils.iface.mapCanvas().extent() to retrieve the extent ...
SimonCartoDev's user avatar
1 vote
1 answer
59 views

Aligning scale of map in QGIS print layout to extent of region of interest

I am quite new to QGIS and have managed to create a raster map with some additional labels. But when I want to export the map with some additional text, using Print Layout, the map gets "scaled&...
user232388's user avatar
0 votes
2 answers
40 views

Wrapping of one huge raster with another raster and saving output such that both the rasters dimensions and crs match

I have two huge rasters, I want my target raster dimensions , height width to match with my source raster and save my target raster into another folder. Since it is huge in size I want to do tile/...
soumik chakraborty's user avatar
0 votes
0 answers
22 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 ...
msc's user avatar
  • 1
0 votes
1 answer
56 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 ....
Clouseau's user avatar
0 votes
0 answers
85 views

Difficulty interpreting bounding volumes from Google 3D Tiles API

I'm trying to create my own 3D globe, similar to Google Earth, by getting the relevant tile data from the Google Tiles API. Using several steps to load the relevant data from Google, I receive a json ...
Boris's user avatar
  • 1
2 votes
1 answer
90 views

Extent not found on NASA's Black Marble monthly images - How to set it?

I downloaded NASA's Black Marble monthly nighttime light (NTL), VNP46A3. The product is in .h5 format and it contains the radiance NTL raster as well as the scientific data sets (SDS) in order to ...
Nikos's user avatar
  • 932
0 votes
1 answer
58 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 ...
winnewoerp's user avatar
  • 1,185
0 votes
2 answers
83 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 ...
nanunga's user avatar
  • 533
1 vote
1 answer
114 views

Create Polygon out of minX, minY, maxX, maxY

I have a pandas dataframe with the min and max values from two polygons. How can I create two geometries (Polygons) out of these values using Geopandas or Shapely?
Daniel AG's user avatar
0 votes
0 answers
75 views

map.getView().fit(vectorLayer.getSource().getExtent(), map.getSize()); is not working

I would like to know how to get all multipolygon features i.e all districts features display on my web map when I select state from dropdown list. This is the query i wrote to get all districts ...
Mounikareddy's user avatar
0 votes
1 answer
34 views

Extending a raster with specific slope

I have a raster layer which i want to extend. The problem is that i want to extend it with specific ratio of vertical/horizontal (1:2). What is the best way to do that in QGIS?
Apo's user avatar
  • 1
3 votes
2 answers
107 views

Viewing the extents of individual tiles in Cloud Optimized GeoTIFF

I have a COG, e.g. https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/52/J/FS/2023/5/S2A_52JFS_20230501_0_L2A/TCI.tif and I want to inspect the internal tiling structure. How can I ...
staf's user avatar
  • 306
2 votes
2 answers
189 views

Getting the bounding box of labels with QgsLabelingEngine in PyQGIS

I am trying to get the bounding box of my labels in a vector layer in PyQGIS (Version: 3.30.2-'s-Hertogenbosch) with the following script but I need to create a vector layer from a WKT file and not a ...
bdelliott's user avatar
  • 445
0 votes
0 answers
56 views

WMS satellite imagery: how to set up bbox

I'm trying to retrieve satellite imagery in high resolution of a full country with a WMS API. I need them in HR since I want to perform a segmentation task on them. This is my code: REQUEST_URL = &...
wodank's user avatar
  • 1
1 vote
1 answer
101 views

Setting bounds to combination of two GeoJSON layers in Leaflet?

I am creating an app with django, geodjango and Leaflet, I am also using django-geojson and django-leaflet. I manage to insert on a map two features that contain points. But I am getting problems ...
Ernesto Ruiz's user avatar
1 vote
1 answer
196 views

Setting map view extent dynamically in OpenLayers?

Referring to the examples posted here https://openlayers.org/en/latest/examples/draw-and-modify-features.html and https://openlayers.org/en/latest/examples/extent-interaction.html in the former ...
Amrmsmb's user avatar
  • 305
1 vote
0 answers
90 views

How to find the coodinates of a new bounding box from four circles present with known radius around the vertices of an existing bounding box [closed]

I have a bounding box which I have created. I know the lat lon of the four vertices of the box. On these vertices I have created a buffer circle of radius 10m and now I want to calculate a new ...
sneha_jerin's user avatar
0 votes
0 answers
37 views

Get bbox of ee.Image and not the global coordinates

I am trying to get the extent of an ee.Image object. The image is result of reduced collection. I was trying to do this as following: bbox = img.geometry().bounds().getInfo()["coordinates"] ...
ReutKeller's user avatar
  • 2,037
2 votes
1 answer
51 views

Why the extents of GeoDataFrame and masked file are different?

vector = some shape file, MultiPolygon in GeoDataFrame. File crs and vector crs are the same. vector.geometry 0 MULTIPOLYGON (((47.59780 -19.38530, 47.59330 -... Name: geometry, dtype: geometry ...
Max Poltora's user avatar
0 votes
0 answers
23 views

Issue about customizing Editor Map extent

We're working with GeoNetwork 3.12.9 and we're trying to set, within Editor Map Configuration of the Administrator User Interface, a map other than the default one (osm). Once saved the custom ...
Marisa Regina's user avatar
1 vote
1 answer
80 views

How to filter GeoJSON features with bbox condition in OpenLayers

I want to filter GeoJSON features with bbox condition in OpenLayers 7, so I coded like this: const geojson = (Some GeoJSON definition); const projection = (Some projection definition); const ...
kochizufan's user avatar
2 votes
1 answer
148 views

OpenLayers WFS source with bbox and filter

I am trying to work with the French IGN geoportal which provides a WFS source of data. I have worked out how to use OpenLayers' Vector source with const ignPkUrl = (extent: Extent, projection: string =...
Askirkela's user avatar
  • 123
2 votes
1 answer
57 views

PostGIS, creating spatial index on box2d column failes

I would like to store bounding boxes in a column of my table. Thus I wanted to use the box2d data-type for that column. However it seems like I can't create an index on that column. Here is my ...
Humppakäräjät's user avatar
5 votes
1 answer
425 views

Copy extent from one map to another in QGIS Layout [duplicate]

I'm trying to create a print layout with four maps that each show the same extent, but that each have different layers on top for examples: Map 1 has satellite imagery for Zone B Map 2 has contours ...
Phoebe's user avatar
  • 307
2 votes
1 answer
246 views

Clipping in/with Sentinel Hub API

Is it possible clipping a Sentinel-2 image from Sentinel Hub with circular boundaries? In Sentinel Hub documentation, I only found support to Bound Box (BBox) AOI that close an image in a retangular ...
Caio Diaz's user avatar
3 votes
3 answers
121 views

Set print extent in demto3D of QGIS diferent than x min, x max, y min, y max

I have an area that I want to print in 3D. The area has 4 sets of coordinates. I first used a polygon of the area of interest, then cut the DEM of the same area. I used demto3D from QGIS to generate ...
Claudia's user avatar
  • 31
2 votes
0 answers
99 views

Changing coordinate system and extent of shapefile in ArcMap

I am using ArcGIS Desktop 10.8.2. I tried to change the coordinate system in a shapefile from TM65 / Irish National Grid to the coordinate system of a raster file (wgs_1984) opened in the same session....
matlabcat's user avatar
4 votes
1 answer
217 views

Can QGIS export a limited area of a project?

I am new to GIS in general, and I've created a map in QGIS that contains data for a very large area. I would like to copy this onto a mobile device, but the file size is too large, and I don't need ...
Malvineous's user avatar
5 votes
1 answer
140 views

Creating virtual layer with extent of features from multiple layers in QGIS

I am trying to create an atlas that shows a series of plots (polygons) along with the access routes (line features). I need to vary the extent to show the entirety of each site along with the access ...
Brian Fisher's user avatar
  • 1,071
8 votes
1 answer
151 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 ...
I Love Mapping So Much's user avatar
2 votes
1 answer
94 views

How to know if WMS GetLegendGraphic supports bounding box? [closed]

I am working on an application where users can input WMS layers, which is displayed on a map along with the respective legend graphic. Now, I want to display content specific legend graphics based on ...
Lars Eivind's user avatar
0 votes
0 answers
81 views

Get the map series page name for a specific extent area and set the text element using the page name

I have a layout exist where I need to update the text element of the specific maps extent areas generated map series page name. I have used the layer name to generate a grid and then I have generated ...
Nihar Sahoo's user avatar
2 votes
1 answer
194 views

OL Static Image with dynamic extent

I use the Static Image function to display static images as a overlay in a map. The images are loaded by click OL feature points in the map. The problem is, the images have different width/height. ...
moriama's user avatar
  • 31
1 vote
1 answer
25 views

How to colour categorise population estimates using GRID3 Settlement Extents in ArcGIS Pro [closed]

I am new to ArcGIS Pro and geospatial data in general. I have downloaded settlement extents data from https://grid3.org/. I had naively thought the data would display the population in a heatmap like ...
Mizzlwe's user avatar
  • 11
0 votes
1 answer
249 views

Exporting series of layouts with different definition queries and extent in ArcGIS Pro

I'm on ArcGIS Pro (self-taught) and I am trying to make a batch of layouts for different species occurrence records over the same extent. I have all the XY to Point data as a layer and have been using ...
insectgirl908 's user avatar
0 votes
0 answers
148 views

Mapping a tile in a tile layer to WGS84 bounding coordinates

gdal2tiles splits the Earth into a bunch of grids. Each tile is 256x256 pixels but the difference between the bounding longitudes changes as the latitude changes. How can I determine the bounding ...
neubert's user avatar
  • 360
1 vote
2 answers
36 views

Sentinel2 picture download, the resolution is not high quality

I want to download a JPEG from this service: https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/export?bbox=25.158691,43.381098,30.267334,48.421910&size=1024,1024&...
CoderCoder42's user avatar
1 vote
1 answer
66 views

Thiessen polygon delineation within a feature (polygon) not extent

I am trying to create Thiessen (Voronoi) polygons, based on points with a defined shapefile (separated polygons). The output should be inclusive to the feature. The output I receive now is the ...
Karim Fouali's user avatar
0 votes
0 answers
65 views

How to get extent of district when select by search nominatim

I using search nominatim function from ol-ext library. I want to get extent from search results of county or city when selecting but I haven't found the solution yet. This is my code: update // ...
Jayzz's user avatar
  • 85
0 votes
1 answer
321 views

Reproject rasterio's bbox

I am opening a raster with rasterio.open() after which I extract its bbox: import rasterio img = rasterio.open('myraster.tif') bbox = img.bounds print(bbox) BoundingBox(left=450498.0, bottom=3509708....
GCGM's user avatar
  • 1,118
-1 votes
1 answer
164 views

Creating Bounding Box in QGIS [closed]

I have four coordinates: north, south, east and west. How can I automatically create a bounding box in my shapefile? Can I do it through Python?
Aryan Irani's user avatar
1 vote
0 answers
197 views

Converting bounding box with relative coordinates into absolute ones

I have run the yolov5 model to predict trees in imagery with a geocoordinate. I got the bounding box objects with relative coordinates after running the model. I would like to have these bounding ...
user30985's user avatar
  • 349
3 votes
1 answer
147 views

QGIS Atlas Bind a second layer to show more content

The Goal My goal is to plot archaeological profiles with the QGIS Atlas. Here as an example the plan for the Profile 100. The way so far I have detached the profiles from their original positional ...
Janko's user avatar
  • 31
2 votes
0 answers
78 views

PyQGIS - export map using a 2nd layer for my extents

I wish to export an OSM as a TIFF image but use a 2nd shapefile layer (which I call 'mask') for the extents of the TIFF output. Similar to how one uses the QGIS GUI by selecting Project / Import-...
Clutch's user avatar
  • 183
1 vote
1 answer
649 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 ...
Martin's user avatar
  • 21
2 votes
1 answer
170 views

How to troubleshoot WFS bbox problems?

I have trouble getting features from a WFS using a bounding box with the BBOX parameter. As soon as I specify any BBOX, the WFS returns an empty result. Here is an example request: https://www.lfu....
Phonolog's user avatar
  • 123
1 vote
0 answers
82 views

Calculating 2 or 4 new marginal bounding boxes from 2 overlapping bounding boxes in Leaflet?

The Scenario I have a web map that calls for data whenever the map moves. It sends the bounds of the map and returns data within those bounds. Our data source just got way bigger, so I am trying to ...
Seth Lutske's user avatar

1
2 3 4 5
16