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
0
votes
0answers
8 views

Plotting polygon bounding box using ArcGIS API for Python

I have a layer of polygons and would like to be able to plot the extent boundary rectangle on a map. I have my polygons in a Spatially Enabled DataFrame (polygonSDF = poygonFeatureSet.sdf) that I can ...
1
vote
2answers
32 views

How can the amount of columns/rows in a raster be altered?

I want to work with 5 raster sets in R. 3 of them are results of an Euclidian distance analysis (R1-3), 1 is from a kernel density analysis (R4) and the last one is from a viewshed analysis (R5). My ...
1
vote
0answers
27 views

Cannot load WFS with BBOX Parameters via Python script

I tried to load a WFS with BBox-Parameters using a python script. The script is working, but loads the whole layer, instead of just the part inside the set BBox. The URL itself works on both the ...
1
vote
2answers
21 views

How to find the intersection of 5 bounding boxes in R

I have 5 rasters. I computed the bounding boxes with st_bbox for each of them. I would like to put all the raster-values in one dataframe. For that I figured they should have exactly the same extent. ...
0
votes
0answers
13 views

Overpass: store bounding box in CSV

Overpass has some field names to store certain meta attributes of an object to a CSV file, including its coordinates. However, bounding box coordinates are not among them. When running a query in out ...
3
votes
0answers
36 views

Selecting features by current map extent in QGIS 3

I'd like to select all features in the current map extent that also satisfy some other condition via "Select by Expression". For instance I'd like to do something like this: intersects($...
0
votes
0answers
15 views

QGIS v.transform output extent not lining up with input

I am using the updated Affine tool (v.transform) to rescale my vector layer (containing multiple polygons). I want to shrink each polygon to half of its size. So I enter in 0.5 for both the x and y ...
0
votes
0answers
12 views

Spatial extent not showing in geoentwork metadata record

I have a problem displaying spatial extent in Geonetwork when I open some metadata record (as you can see from the image example). It must be emphasised that i have changed the base map from osm to a ...
0
votes
1answer
45 views

R: How to standardise extent of rasters for raster stack

So I'm trying to build a raster stack of 7 variables. In ArcMap I've already standardised resolution and CRS, and I tried to standardise extent and column/row number by extracting by mask with a ...
1
vote
1answer
128 views

Create a bounding box from a lat/long

I'm trying to create a bounding box from a simple Lat/Long, given an increase size in metres. For example, create a bounding box from X/Y which goes outwards 5000m at the NE / SW corner. (yes, this ...
0
votes
1answer
20 views

Request entire data extent independently from view extent to style GeoServer layer

I created a modified PointStacker which stacks/clusters the data features according to an indicated attribute of the data set (e.g. state or district) which is a user-indicated parameter in the sld ...
0
votes
0answers
20 views

When I get the total bounds of a shapefile, which are llcrnrlon, llcrnrlat, urcrnrlon, and urcrnrlat? Need it to use Maptlotlib Basemap

The goal is to use an ESRI webmap as a basemap beneath a shapefile for a script that visualizes earthquakes in the Philippines. But first, I'm practicing in using Basemap in a separate script. ...
1
vote
2answers
37 views

Change the processing extent of raster in ArcGIS Pro

I have two rasters. One shows slope: and the other shows Euclidean distance: As you can see, the Euclidean layer is smaller than the slope one. How do I change the extent of the small layer to the ...
3
votes
1answer
97 views

Need to Set the Map in Layout to fit completely to a layer in QGIS

So, I know that there is the "Set to map canvas extend" but it just doesn't do the job for me. I used ArcGIS more than QGIS so I am having issues accomodating to the map layout options in QGIS. I want ...
2
votes
1answer
51 views

Shifting extent and data values of NetCDF with GDAL

I am processing OSCAR third-degree ocean currents data from: https://podaac.jpl.nasa.gov/dataset/OSCAR_L4_OC_third-deg These are netCDF files. Longitude extends from 20 E to 420 E to avoid a break ...
1
vote
0answers
23 views

Formula to determine polygon points of a bounding box created from this equation

I have a series of points making a linestring I am trying to detect when a user is within a few meters of any section on the linestring with a tolerance factor For this, I use this java code (unsure ...
1
vote
1answer
24 views

Faster way to get layer information in PyQGIS?

I know that you can quickly access the active layer with layer = iface.activeLayer() Currently I'm working with multiple files in a Python script and my current method of accessing layer extents is ...
2
votes
1answer
169 views

Shapefiles not aligning in QGIS?

I am trying to align two shapefiles (LA County freeways and LA County city boundaries) to see which freeways run in each city. In QGIS, the shapefiles don't align. The freeway layer has a warning ...
0
votes
1answer
61 views

Extracting extents of the map view in QGIS

Status bar in QGIS can display min/max of x/y for extents of the map view when panning and zooming. How can these values be extracted and used in expressions? The manual’s expression page doesn’t seem ...
4
votes
1answer
80 views

Partially processing a catalog with an extent in lidR

I am using lidR to create a DEM of a very large area (over 1 million hectares). I have already processed a portion of this area. I would like to be able to read the entire LAScatalog so that the ...
1
vote
1answer
51 views

Moving map extent by x millimeters to left or right in QGIS Print Composer

I have a layout with a map item and want to move the map itself (the extent, not the item) 5mm to the right. I am using a coverage layer with atlas. The atlas margin does not help since it's % and ...
1
vote
0answers
36 views

Minimum bounding geometry outputs in meters

Which CRS is best to use on QGIS to get the minimum bounding geography outputs to present in meters? I need the length and width measurements of > 1000 polygons, but can figure how to get the outputs ...
1
vote
1answer
45 views

getLayerExtent() Value Error

I am trying to write a script that accomplishes 2 tasks: change the extent of all map frames using a boundary layer as reference and rotate the map frames by -17 degrees. To complete the first task, I ...
1
vote
0answers
44 views

Getting large amounts of bounding boxes around cities and natural land coverages

I am an astronomy student working on a research project in which I want to get large amounts of bounding boxes around cities and natural land coverages. In QGIS, I am using a dataset of Europe that ...
1
vote
1answer
74 views

LAS file bounding box is oversized after using lasnoise?

I have a few .las files that I am trying to use further. They have some far away noise points that I removed using LAStools lasnoise. It seems like the noise points are removed, but the bounding box ...
0
votes
0answers
14 views

Clipping with python in PCI Geomatica

Trying to clip a raster image by user defined utm coordinates for the upper left and lower right extents of the clip image. PCI needs the inputs to be in string format to pass the function however I ...
0
votes
1answer
37 views

Warning inconsistent extent when add shapefile

When I add a shapefile of a small city into a blank map, I get Warning, inconsistent extent!. After carefully checking, I found this issue may cause by the unnormal layer extent: Top: 1.#INF00 dd ...
-1
votes
1answer
41 views

How to create polygons from box type coordinates using ET GeoWizards?

I have a table that has an ID and coordinates for Left, Right, Top, Bottom and I would like to create rectangles out of those coordinates. This rectangles should have around 4 km per side. Using ET ...
1
vote
2answers
427 views

Calculating a bounding box by its center point and ratio, the map zoom and desired pixels width in Leaflet?

I'm trying to add dynamically an overlay on a leaflet map. I know the overlay center - {lat:50.8466,lng:4.3528} overlay ratio - 16/9 map zoom - 15 desired pixels width - 200px How can I calculate a ...
1
vote
1answer
219 views

Clip by extent. FAILURE: No target dataset specified

I am using QGIS 3.10.2 and I am trying to clip a raster layer of the World just to capture Africa. The raster layer was imported from ESRI (https://planet.qgis.org/planet/tag/world%20imagery/) with ...
1
vote
1answer
37 views

Should ST_OrientedEnvelope results differ depending on order of transform?

I have a PostgreSQL db with a table with geometry multipolygons stored in srid 4326 (lat/lngs). I need to calculate the area of the oriented envelope around each polygon, and I am using ...
3
votes
1answer
139 views

Unexpected result using rasterio windowed writing - Access window out of range in RasterIO()

I am trying to write (copy and paste) a raster into another raster using raserio's blocks and windows. I have two rasters (A and B): A has a greater extent than B and it completely contains B. The ...
3
votes
1answer
127 views

Shapefile stopped displaying polygons and gives error: 'No extent could be determined' in QGIS 3.10

I have been using a shapefile as a main data layer since Jan 2018 in a project, it forms the basis of several duplicate layers, it has been working fine until today. Now 95% of the polygons are no ...
0
votes
0answers
17 views

Recalculate extent for versioned featureclass

I try to recalculate extent for FC (versioned). I deleted some objects with null geometry, or with wrong location and reconcile every versions. But I still cannot recalculete extent to new proper ...
4
votes
0answers
82 views

Select extent on canvas - QGIS Plugin

I'm designing a QGIS plugin where I'd like to offer the user the functionality to select the extent of a bounding box from the canvas like in some tools like Create grid. I've explored QT Designer ...
0
votes
0answers
51 views

OpenLayers 4: Load baselayer outside projection extent

I have a map that uses EPSG:3912. Then I have base layer from CartoDB. When I zoom out I see: My question is, if it's possible to have CartoDB layer loaded outside map extent (so that it fills white ...
2
votes
1answer
21 views

Incorrect Extent when importing images into ArcMap 10.7

I have 2 JPG images of the same pixel size and of the same square mile area, with identical JGW and aux.xml files. One displays correctly, the second does not. I am stumped, and it seems that ESRI ...
0
votes
1answer
117 views

OpenLayers 5 forEachFeatureIntersectingExtent Method Not Correctly Selecting Features in Circle or Polygon?

Using OpenLayers 5.3.3 Draw a circle Get the extent of the circle in the drawend event: const extent = event.feature.getGeometry().getExtent(); The try to determine the features in the extent using ...
1
vote
0answers
131 views

Mistake in Oriented Minimum Bounding Box Tool? [closed]

I have used the OMBB (Oriented Minimum Bounding Box) Tool in QGIS to calculate OMBBs around polygons. However, there must be a mistake in the tool as all the yellow boxes in the picture below are ...
3
votes
2answers
201 views

Setting map extent using offset in ArcGIS API for JavaScript v3.x

I am trying to set map extent using an offset because there is a panel floating over the left side of the map and sometimes, when I zoom to a feature extent, the feature is partly hidden behind it. I ...
1
vote
0answers
18 views

Making Leaflet tileLayer grid starts at specified lat lon

My app needs to show a map within a box defined by const corner1 = L.latLng(5.21244812011719, -96.5979537963867); const corner2 = L.latLng(34.086555480957, -55.4220504760742); const map ...
0
votes
1answer
22 views

Huge processing time for gdalwarp command extracting ROI by extents

I'm running the below gdalwarp command to extract a 1024 x 1024 ROI from a large raster which has Dimensions X: 34396 Y: 36707 Bands: 4 Input raster has previously been pan-sharpened and ...
1
vote
1answer
70 views

Bounding Box — Understanding (setting) Unit of Measurement in QGIS

QGIS Version 3.4 My initial problem (width and depth of parcel polygons) was solved by this post: However, when I run the process the Units of Measurement are unclear. (see below) Moreover, I want ...
1
vote
0answers
133 views

Subtracting rasters with different dimension, origin and extent in R

I have a large DEM raster from which I want to substract lots of smaller glacier rasters. Examples for the glacier rasters and a subset of the large DEM can be found here: https://drive.google.com/...
2
votes
1answer
190 views

Modify bounding box of GeoDataFrame

I have a GeoDataFrame which is a multipolygon and represents boundaries of a country: 0 MULTIPOLYGON (((10.10112 46.23346, 10.10099 46... Its bounding box/extent is: minx miny maxx ...
1
vote
0answers
88 views

QGIS WFS download data limit to window extend not functioning properly

The checkbox under WFS Server Connections setup that should control the amount of data that is going to be downloaded from WFS doesn't react as it should. Each time I tried to visualize the data ...
0
votes
1answer
82 views

Aligning pixels for using GSW as mask layer with Landsat 8 and Global Surface Water (JRC) Layer

I want to isolate some surface water areas on Landsat 8 images by using the Global Surface Water dataset in GEE as mask. After mapping both in the Editor I realized the positions of pixels of GSW and ...
0
votes
1answer
473 views

Getting bounding box of polygon

I'm having difficulties to get the bounding box of a polygon. My code is the following: def getBoundingBox(self): boundingBox = [] polygon = self.getVectorLayer() vertices = polygon....
4
votes
1answer
104 views

QGIS - zoom extent in project file?

I have about 600 folders with shapefiles always having the same filename per folder (which contain different data, of course). I've created one QGIS project file to open those shapefiles per folder ...
1
vote
1answer
83 views

Select by location tool Vs layer.getFeatures(QgsRectangle(xmin,ymin…)))

I can't make sense of the difference between: QGIS Select by location tool (Vector->Research tools->Select by Location") which gives the correct result :7 records match the extent: Creating a ...

1
2 3 4 5
13