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
1answer
10 views

Rasterize GeoPandas with GeoCube into bbox extent

I have GeoPandas dataframe which has one column with code. id geometry code 0 1 MULTIPOLYGION (((-52.65767 -13.75468, -52.65767... ...
0
votes
0answers
5 views

Python mapnik get TextSymbolizer bounding boxes

Is there a way to obtain the bounding boxes of each TextSymbolizer present on the map? For now, I'm using mapnik 3 and I create a map using a custom XML containing TextSymbolizer. I want to have ...
3
votes
2answers
92 views

Get the bounding box for a QGIS point symbol

I'm looking to do some advanced label blocking for point features, based on the bounds of the symbol, rather than the point itself. It looks like I should be able to derive this from the ...
0
votes
1answer
22 views

ArcGIS - Can't create shapefile showing footprint of raster extent

I'm trying to create a shapefile with the extent of my raster so that it can be used as a mask to clip with. My shapefile has no datapixels along its boundary and is irregularly shaped. So far I've ...
0
votes
0answers
22 views

Processing Extent in ArcPy with polygon to raster

I want to do a multicriteria analysis. To do that I have buffered layers that I want to convert to rasters, but I want to set a processing extent and make so where the buffer area is gets value 1 for ...
1
vote
1answer
24 views

QGIS Server WFS query with BBOX filter of size 0

I'm trying to query QGIS WFS service for a specific feature for a specific point (lat/lng) value. (The use case - I have a customer's coordinates for his address, and I want to take from the layer of ...
0
votes
0answers
12 views

Get the bounding box of areas in overpass (states)

I want to get the coordinates that limit a state using overpass (OSM) like this: { "type": "way", "id": 24157062, "bounds": { "minlat": 24....
10
votes
3answers
273 views

Creating polygon around set of points without blank polygon spaces in between in PostGIS

I want to create a polygon around a set of points which should exactly just contain the set of points without leaving any blank spaces in between. Below is the best output I am getting after using ...
0
votes
0answers
45 views

Same projection but wrong extent using QGIS

How can I change the extent of a shp? I have three layers, all reprojected properly from the original projection, however, the layers do not align due to different extents. If I try to change extent ...
0
votes
1answer
68 views

How to set extent of map for list of coordinates using ArcGIS JavaScript API

I am trying to set the extent for my ArcGIS map using the JavaScript API built in. Here's my code: const [Extent] = await loadModules(["esri/geometry/Extent"]); ...
2
votes
1answer
25 views

Change extent of lidR LAS object for raster alignment?

Is it possible/allowed to change the extent of a lidR LAS point cloud? And if yes, does it affect the generation of rasters (e.g. with grid_metrics or grid_canopy), so that they cover the full extent? ...
1
vote
0answers
35 views

Automatic update a map in a QGIS layout template to current extent from QGIS canvas

I'm wondering if there is a way - or a workaround - where a map element in a layout template can be defined to automatically update to current extent when a layout template is used to create a layout. ...
7
votes
2answers
93 views

Creating subset of layer intersecting with BBOX of certain features of the same layer using Virtual Layer in QGIS

I'm trying to create a subset of one layer which includes the geometries intersecting with the bbox of certain features of the same layer. I tried to create a Virtual Layer in QGIS with the following ...
0
votes
1answer
62 views

GeoServer REST API - create layer group and generate bounding box

I would like to create a layer group and generate bounds. My REST URL: .../geoserver/rest/layergroups Parameter: <layerGroup> <name>map</name> <mode>NAMED</mode> ...
2
votes
1answer
127 views

Get the outer shape of a MultiLineString

i have a bunch of shapely MultiLineStrings, which I would like to "convert" to Polygons so that the "outer" boundaries of the MultiLineStrings serve as edges. One of my ...
0
votes
0answers
23 views

Why is gdal.Translate returning array of zeroes?

I'm trying to clip a dataset based on a bounding box, and return an object, and it seems to be working as the output size are about as expected. However, the resulting dataset is a black image (i.e. ...
2
votes
3answers
341 views

Getting bounding box polygons from xmin, ymin, xmax, ymax in attribute table

I have a CSV file with bbox extents in xmin, ymin, xmax, ymax format. I can import these as pairs of delimited text layers and see the diagonal extents of these boxes on my map document. Can I take ...
0
votes
0answers
18 views

Extracting Raster Footprint in ArcMap [duplicate]

I suspect this question already exists, but I have been unsuccessful in finding one yet. I have a series of 9 rasters (PNG files) in ArcMap. I need the footprint (or extent) of each of these rasters ...
1
vote
0answers
30 views

Query WFS with small bbox in Python

I'd like to query a street noise map via a wfs and am struggling to limit the result through a bbox. My goal is to get the noise values for a number of points around an address with given coordinates. ...
3
votes
1answer
120 views

Image area getting too much enlarged when using GeoImage from 'ol-ext/source/GeoImage'. How to set its extent and projection correctly?

I am adding an ImageLayer in openlayers using the ol-ext/source/GeoImage so that I can support rotation of the image also. I have done something like this: import GeoImage from 'ol-ext/source/...
1
vote
1answer
33 views

Setting iface mapCanvas extent

How to set map canvas extent / view? I've tried with setExtent(Qrect(..)) but does not work. mc = iface.mapCanvas() rect = QgsRectangle() rect.setXMaximum = 5 rect.setXMinimum = 2 rect.setYMaximum = ...
0
votes
0answers
49 views

Trying to apply a Rastermask and Reproject Landsat images but I keep getting: RuntimeError: Object: Error in accessing environment <extent>

I am new to python and I´m trying to set the extent but I am having trouble and can't fix the error. from time import gmtime, strftime import arcpy from arcpy import env from arcpy.sa import * arcpy....
6
votes
2answers
197 views

PostGIS ST_Contains / ST_Intersect with one point envelope

With PostGIS I have to test wether a point is inside an envelope or not. Sometimes the envelope is constructed from a point and a few others next to it, and sometimes only from a single point, against ...
0
votes
0answers
32 views

QGIS 3.16 DXF to GeoJSON loses extents

I am trying to export a DXF file with polygon outline letters to GeoJSON to place on a map at a certain latitude and longitude. I was hoping to set the project type () and the extents to do this but ...
1
vote
1answer
38 views

Hexbins missing points, layer extent problem in graphical modeler?

I am attempting to produce a density map by aggregating points over a hexagonal grid using a processing model as in a tutorial by Ujaval Gandhi (http://www.qgistutorials.com/en/docs/3/...
5
votes
1answer
79 views

Creating polygon covering the whole layer extent using QGIS expressions

Using QGIS expressions, it's easy to create a polygon with the extent (bounding box) covering all geometries of a layer using layer_property(@layer,'extent'). However, how do I get a polygon covering ...
0
votes
0answers
39 views

Spatial extent in the metadata does not appear

The spatial extent never appears in the metadata tab, even if the extent value has been inserted on the map while editing the metadata. In creating the metadata, I insert the geographical area of ...
4
votes
2answers
180 views

Divide grid in smaller grid QGIS 3.16

I have a grid of 1000x1000m (which covers a whole department) and I would like to redivide this same grid again but to 500x500 m, so to obtain in a 1000mx1000m cell, 4 small 500m cells. I would have ...
0
votes
0answers
112 views

Using PyQGIS to set extent to layer for QgsLayout

I would like to output a map in image with extent of an overlay layer. The scale is not well apply with this code. I get my map but not zoomed to selected features, sometimes i have all my features, ...
1
vote
1answer
46 views

QGIS Atlas pages all exporting same extent

I am trying to export multiple map pages from QGIS using Atlas, I am used to doing this in ArcMap using Data Driven Pages so applying similar concepts to the Atlas but all the exported pages are ...
2
votes
1answer
124 views

Setting same extent for multiple rasters

I am looking for a tool or plugin for QGIS that would allow me to shift several rasters to one, very same coordinates. Extent of them has to be identical. These rasters all have the same coordinate ...
13
votes
4answers
634 views

Showing the bounding box for every coordinate system in QGIS

I'd like to visualize where every coordinate system in QGIS is in the world. I can see the bounding box for them when I go to QGIS and select coordinate system: But I'm trying to figure out how to ...
2
votes
1answer
66 views

Distance in km between coordinates, Google Earth Engine

I have coordinates for a bounding box: 1: [-109.41397027896355,22.86994450876419] 2: [-109.41397027896355,28.00000232204317] 3: [-115.75044209344128,28.00000232204317] 4: [-115.75044209344128,22....
0
votes
1answer
56 views

Finding the outer ends of lines in a line feature class

I have a polyline feature class and need to turn the ends of the lines into points. However, the lines are made up of segments that are not quite contiguous, with slight gaps between many of the ...
0
votes
0answers
30 views

Setting processing extent for image classification using ArcMap

I'm trying to limit a maximum likelihood image classification in ArcMap 10.7.1 to the processing extent of my AOI shapefile. However, no matter how many times I've tried, it just does the image ...
0
votes
1answer
101 views

Determining off to add scale bar and north arrow in spplot

I have a spplot in which I want to add north arrow and scale bar. bbox(dis) # dis is my shapefile, an sp object min max x -285706.6 1492871 y 2620690.6 4120742 I want to attach the ...
0
votes
0answers
81 views

Calculateg geo-hash index for bounding box

I have a set of aerial images and for each image, I have the four corner coordinates (let's say, (a1,b1), (a2,b2), (a3,b3), and (a4, b4). Thus, I know the bounding box for each image (please refer to ...
3
votes
1answer
105 views

Setting the study area boundaries in QGIS for nearest neighbor analysis?

I've made a cursory (i.e., two hour) search of the Stack Exchange and the Internet to find out how we can set the study area boundary for the nearest neighbor analysis command in QGIS 3.16. Sadly, I ...
2
votes
1answer
67 views

Visual example of PostGIS ST_Extent

ST_Envelope and ST_OrientedEnvelope have visual examples in the docs: How would a meaningful example for ST_Extent look like?
-1
votes
1answer
79 views

WFS with CQL_FILTER=BBOX return empty layer

This is the first time I using WFS. I'm trying to get features with this WFS request inside a BBOX: uri=https://wxs.ign.fr/choisirgeoportail/geoportail/wfs?service=WFS&srsName=EPSG:4326&...
2
votes
1answer
230 views

Loading big GeoJSON polygon data from GeoServer using OpenLayer bbox loading strategy

This is my project as beginner to learn how to use OpenLayers and GeoServer. I'm using GeoServer version 2.19.0 to share my shapefile with so many polygon in it. Using EPSG:4326 as the projection, I ...
0
votes
1answer
133 views

R - Stack rasters with different dimensions and extent

I am trying to stack multiple rasters together in one RasterStack object but am having problems with aligning the extents and dimensions/resolution so that it can work. All rasters have the same CRS ...
2
votes
1answer
63 views

Set extent of Layout Item Map

I work on a QGIS Plugin in python. This plugin import in QGIS project several print layout (A4/A3/Landscape/Portait format) from a directoty of my laptop to the layout manager. The plugin add also a ...
1
vote
1answer
627 views

Get the correct transform from bounding box with Rasterio

I have image as numpy array with no projection or geographical data and I have information of the bouding box of this numpy array (the image suppose to match perfectly the bbox). The bbox is ...
0
votes
4answers
178 views

Changing extent of raster in loop using R

I have raster objects of a certain extent (0, 360, -90, 90) and I want to change that extent for all of them to a different extent (-180, 180, -90, 90). The thing is that I have my objects (raster ...
0
votes
1answer
24 views

Shifting extent of overview map, keeping scale, centering on extent indicator in ArcGIS Pro

In ArcGIS Pro 2.7 I've created a map series with a main map frame (1:5000) and an overview map frame (1:250000) with an extent indicator of the main map frame. Once the map series is enabled the ...
0
votes
0answers
22 views

set CRS for numpy array that has no geographical data using rasterio and bbox data [duplicate]

I have 1 dimension numpy array that has no geographical information. The numpy array was originally satellite image that I have manipulated in order to get this 1 dimension arrray. I have the crs and ...
0
votes
2answers
615 views

Set CRS to numpy array with no geographical data using rasterio

I have 1 dimension numpy array that has no geographical information. The numpy array was originally satellite image that I have manipulated in order to get this 1 dimension array. I have the crs and ...
1
vote
1answer
104 views

WFS Query with BBOX

I am getting frustrated trying to get data from an WFS service. Here is the service located: http://nvpub.vic-metria.nu/arcgis/services/N2000_WFS/MapServer/WFSServer?service=WFS&request=...
1
vote
0answers
195 views

GeoServer and Leaflet GetFeature problem with bounding boxes on click location

I have a Leaflet map with WMS layers from GeoServer. I want to click on a determinate location and make a GetFeature request to GeoServer so that I can show a GeoJSON on Leaflet of the features ...

1
2 3 4 5
15