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
2 votes
1 answer
47 views

Multiple WFS layers in Leaflet, loaded with Ajax with bounding box, do not display correctly

The following example is a code for three WFS layers on Leaflet, loading only inside a Bounding box in order to save resources. Layers can be turned on in the Layer Control as featurelayer1, ...
user avatar
0 votes
0 answers
13 views

Getting extent of raster in ArcMap to 12 decimal places

I have a raster file in arcmap and want to get the extent of the raster to 12 decimal places, the extent in properties gives 9 places. Does anyone know how I can increase it?
user avatar
1 vote
0 answers
21 views

How to identify upper left point from column of points? [duplicate]

I have a column that contains points (all they make one tile) and I need to extract the upper left point based on point coordinates. Is there any built-in function in PostGIS to find? Otherwise, I am ...
user avatar
0 votes
0 answers
29 views

How do I generate a grid where each cell is equal to 500 px at 1:250k scale?

I worked this out once but I forgot how I did it. Somehow the grid size created a whole number of cells. I have a map with the following extents: xmin = -20037508.3427892439067364 xmax = 20037508....
user avatar
  • 21
1 vote
1 answer
21 views

Setting default extent parameters in Script Tool

I have an ArcMap Script Tool that calls the "extent" parameter. It contains a pulldown for how to obtain extents (Default, Union of inputs, Intersection of inputs, As specified below, and ...
user avatar
  • 63
1 vote
1 answer
28 views

Artificially extend a DEM to clip it

I have a DEM that is slightly too short for one of my shapefiles. I would like to extend the DEM to the North so it covers entirely the shapefile, and then clip the DEM to the extent of the shapefile. ...
user avatar
  • 137
1 vote
0 answers
22 views

Create Extent to use in mapView.goto

I would like to use the goTo() method of the mapview, and pass it an Extent that I construct in the code. I created the extent by: const extent = new Esri.Extent({ xmax: maxX, xmin: minX, ...
user avatar
  • 123
0 votes
1 answer
26 views

Converting extent to int is changing value [closed]

I am iterating to get extents (XMin, XMax, YMin, YMax) of each feature (1 deg x 1 deg polygons). The values of the extents parameters are double precision and display to one decimal place. I need to ...
user avatar
  • 63
0 votes
0 answers
14 views

GDAL_translate and HEGtool

I am using GDAL to convert a huge dataset of HDF into GEOTIFF. When I tried with the HEG tool the tiff file was according to my requirements, but when using GDAL I think the projection gets shifted ...
user avatar
3 votes
0 answers
31 views

How to specify visible extent of raster in QGIS without clipping original

Is there a way to limit how much of a raster is shown in QGIS3 without clipping the raster to a new file? In my old workflow from Arcmap I would georeference scanned maps or rasters with tics in the ...
user avatar
  • 113
0 votes
0 answers
12 views

Making roads and labels appear or disappear based on scale using QGIS [duplicate]

On most maps, labels disappear the further one zooms out. For instance, on a local scale one can see labels for local roads and small towns, but on a national scale one can only see highways and major ...
user avatar
  • 1
1 vote
0 answers
93 views

Draw vector tiles on folium map [closed]

How can I have some vector tiles drawn on a folium map in Python? Or any other alternative to folium. Context: I did some filtering based on some positions of map features I fetched from Mapillary and ...
user avatar
  • 11
1 vote
1 answer
18 views

Sum two partially overlaping rasters in QGIS: auto-detect extent and resolution

I need to sum two rasters (r1 and r2) using QGIS. They're made of 0s and 1s (black/white), and overlap only slightly over a common border. In the overlapping area, r1 has data in part of it, and r2 ...
user avatar
  • 733
1 vote
1 answer
42 views

R cannot correctly read the extents of sentinel data but gis can

I'm working with Sentinel-1 data and trying to use the raster package in r to read it. I got the following error. The raster seems not to be well georeferenced. The resolution and extent are not ...
user avatar
1 vote
1 answer
86 views

increasing 'extent' of small raster to be same size as large raster in R [closed]

I have a satellite image with dimensions (11418, 13790, 1). The resolution is 10m. I have two other rasters, which fall inside of my satellite image which are the same resolution and crs. How would I ...
user avatar
0 votes
1 answer
151 views

Create map layout with extent and page size same as a given feature

I want to create print layouts from a QGIS project, each highlighting some region of interest. For each of these regions of interest I have a polygon in a vector layer. So my desired workflow would be:...
user avatar
  • 1,217
2 votes
1 answer
44 views

How do I change my x and y axes from a range of 0-1 to -180-180 in R? I'm using netndf datasets

I have temperature anomaly arrays for the months of February 2008-2021 that I have turned into a raster brick. I am now plotting these in ggplot2. See below code: febanomaly_raster <- brick(anomaly....
user avatar
0 votes
2 answers
90 views

Extract xmin/max, ymin/max for a tile from Mapbox API

I am trying to harness the power of the Mapbox API (https://docs.mapbox.com/api/maps/raster-tiles/) to download some tiles. Easy enough. I also though need to download some metadata about these tiles, ...
user avatar
  • 276
0 votes
1 answer
64 views

Retrieve bounding box from a Google Satellite Photo

I have a bunch of satellite photos downloaded from Google Maps by a third party. The data looks like down below, where each row is a photo. I also have the resolution of each pic. photo_id zoom ...
user avatar
0 votes
1 answer
36 views

Writing extent of each grid cell in fishnet to its attribute table using ArcMap

I have generated a grid (polygons 1000x1000m) using Fishnet in ArcGIS 10.8. I am intending to add top left and bottom right coordinates of each grid cell in respective fields I have added in the ...
user avatar
  • 1,151
3 votes
1 answer
64 views

Zooming to coordinates on raster in ArcGIS Pro

I have a raster file with extent values set up: Top: 6,185,000.0 Bottom: 6,175,000.0 Left: 1,340,000.0 Right: 1,345,000.0 I have to find a point on my raster at the following coordinate: 1,344,076....
user avatar
  • 139
0 votes
1 answer
87 views

Same projections but different extents

I have one shapefile and one delimited file and though they are projected on the same coordinate system WGS 84, they dont overlap all the way because their extents are different. The extent of the ...
user avatar
  • 67
1 vote
0 answers
43 views

Layer extent value not matching with CRS extent

I want to clip a polygon layer to an extent of another polyline layer. I want to use extract layer by extent processing tool, I want to automatically fetch the extent of my polyline layer along with ...
user avatar
0 votes
1 answer
123 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... ...
user avatar
  • 1,807
0 votes
1 answer
24 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 ...
user avatar
  • 374
4 votes
2 answers
124 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 ...
user avatar
  • 22.4k
0 votes
1 answer
44 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 ...
user avatar
0 votes
0 answers
33 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 ...
user avatar
  • 59
1 vote
1 answer
48 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 ...
user avatar
  • 11
0 votes
0 answers
32 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....
user avatar
10 votes
3 answers
379 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 ...
user avatar
  • 319
0 votes
0 answers
57 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 ...
user avatar
0 votes
1 answer
161 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"]); ...
user avatar
  • 51
2 votes
1 answer
63 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? ...
user avatar
  • 1,241
1 vote
0 answers
77 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. ...
user avatar
7 votes
2 answers
108 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 ...
user avatar
  • 185
0 votes
1 answer
221 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> ...
user avatar
3 votes
1 answer
456 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 ...
user avatar
  • 193
0 votes
0 answers
49 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. ...
user avatar
2 votes
3 answers
645 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 ...
user avatar
  • 575
0 votes
0 answers
25 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 ...
user avatar
  • 29.2k
1 vote
0 answers
88 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. ...
user avatar
  • 11
3 votes
1 answer
196 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/...
user avatar
  • 43
1 vote
1 answer
56 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 = ...
user avatar
0 votes
0 answers
73 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....
user avatar
6 votes
2 answers
400 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 ...
user avatar
  • 574
0 votes
0 answers
50 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 ...
user avatar
  • 353
1 vote
1 answer
41 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/...
user avatar
  • 13
5 votes
1 answer
114 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 ...
user avatar
  • 40.9k
0 votes
0 answers
58 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 ...
user avatar
  • 11

1
2 3 4 5
16