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
36 views

Printing Raster extents but not showing on console

print("Data {0}, xmin{1}, ymin{2}, xmax{3}, ymax{4}".format(ext.Xmin, ext.Xmax, ext.Ymin, ext.Ymax)) The line of code above is not printing out the extent for each raster in my dataset in the code ...
0
votes
0answers
15 views

How to calculate the bounding box of a map, given the pixel width/height of the container map & a bounding box which is included in the container map

How can I calculate the bounding box of a map, given the pixel width/height of the container map and a bounding box which is included in the container map? I know how to do this with Google Maps ...
-1
votes
0answers
29 views

Reverse Geocoding points within Bounding Box using Python

I use Geopy python module to get addresses from Latitude/Longitude by sourcing and supplying the coordinates manually. Now I am after a solution where I supply Latitude/Longitude bounding box and all ...
0
votes
0answers
51 views

Clip the BBOX coordinates

Is there any control on BBOX to clip the coordinates before sending request to the GeoServer. The allowed coordinates are [-90, 90, -180,180]. The issue is when ZoomIN/out the BBox calculating the ...
2
votes
1answer
42 views

Creating minimum bounding geometry using the convex hull method in R

I would like to create a small enveloppe around a set of polygons that encloses around them. I would like to avoid using the bounding box function (example below) because it would be too big. Rather, ...
0
votes
1answer
41 views

Seeking ArcGIS Pro tool to get min and max latitude and longitude coordinates?

I am very new to ArcGIS Pro and have been struggling with getting the minimum and maximum latitude/longitude of an area in ArcGIS Pro. I am looking to get four coordinates of a rectangle that ...
0
votes
0answers
45 views

Determining if Raster and Polygon intersect using ArcPy?

I have a folder of rasters (.tif) and I want to determine which rasters intersect a polygon. The rasters are single band with a value of "1" while the rest of the extent has a no data value (coloured ...
-2
votes
1answer
48 views

Google Earth Engine: Use multiple bounding boxes to extract mean VI value

I am new to GEE with no prior Javascript knowledge. I am trying to find a way to use multiple bounding boxes (which are in bottom-left point x,y and top-right point x,y) from a csv file in order to ...
2
votes
1answer
131 views

Perform GDAL Tile Index Loop on list of PDF file paths

I am close to creating a vector extent/bounding box for each PDF exported from QGIS using PyQGIS. I'm using the algorithm 'Tile Index' to attempt imputing a list of file paths to PDFs. The code below ...
4
votes
2answers
115 views

Extracting Vector Extents of PDFs derived from QGIS 3 with PyQGIS

I'm interested to create a vector point layer representing the centroid of some 500-1000 PDF files exported from QGIS to find PDFs geographically rather than using file explorer. I would like to ...
1
vote
0answers
23 views

Map reference starting point shifted [duplicate]

I am loading an nc4 raster downloaded from a public dataset to QGIS and it first displays an error that the data does not have CRS. Then, it charges the map but the reference point 0 is shifted the ...
0
votes
1answer
37 views

Leaflet: flyToBounds location of bounding box returned by PostGIS

I want to simply center my map on the search result of a polygon using leaflet. I thought to return the bounding box, as this is closer to what I actually need. I want to use flyTo() I see a ...
0
votes
2answers
21 views

Recalculating Spatial Extent of Subset using ModelBuilder?

I have a feature class of areas that are discontinuous. I want to be able to select each site and then create a fishnet grid (2x2) for each site I specify. I am able to do this except one major step:...
0
votes
1answer
23 views

Determine If Polygon exists/intersects inside a BBOX

I have a polygon like so,(Lng, Lat) [ [-125.26367187500567, 56.580978332369256] [-125.39550781250242, 55.92182528855989] [-123.98925781250418, 56.2406121548556] [-124.51660156250529, 56....
1
vote
2answers
83 views

Coordinates of image corners for ImageExtent in Openlayers 5?

It is possible to get the coordinates of the four corners of the image, given the center of the image coordinate? or the bottom left and upper right corners? Currently, I am center the map in the lat/...
0
votes
1answer
42 views

Getting maximum extent of 2 different layers for map display using PyQGIS?

In the QGIS 3 layout, I would like to display two layers and for this I need their combined maximum extent. So far I've got: import os import processing from qgis.core import * from qgis.gui import * ...
1
vote
1answer
38 views

Getting non overlapping bbox in OpenLayers?

I have tree bbox as follow: bbox 1, bbox 2, and bbox 3. Now I want to get Final bbox from bbox 1 in OpenLayers 5. How?
1
vote
0answers
72 views

Extracting bounding box from the polygon geometry in OpenLayers

Suppose I have a geometry like below: POLYGON((8744004.877693035 1958621.044138512,8744013.76051175 1958620.4469742286,8744019.582863515 1958613.8781671105,8744018.98569923 1958611.3402189056,8744015....
2
votes
0answers
45 views

Obtaining extents of each data-driven page using ArcPy?

I have a set of index polygons (rectangles) that vary in size and orientation on which data-driven pages are based. I am looking for a method that would give me extents Xmin, Xmax, Ymin, & Ymax ...
1
vote
0answers
47 views

Limit custom tiles to certain extent in OpenLayers

I want to fit my custom tiles at a certain region. For example let's say i have custom tiles for a certain country (example: USA) and I am using OSM or anything at all. How do i make sure that my ...
1
vote
1answer
31 views

Bounding box of S-57 ENC chart?

Is there some standard way of obtaining bounding box of an S-57 chart, e.g., for one downloaded from https://www.charts.noaa.gov/InteractiveCatalog/nrnc.shtml?
1
vote
1answer
53 views

API that can give the latitude and longitude ranges from the address

Is there any API available that can get the latitude and longitude boundaries from the address. For example if we provide: 12380 Sunnyvale avenue, CA, 90005 Can we get the latitude minimum and ...
0
votes
1answer
67 views

Simple condition on rasters with different extents, R

I have multiple raster objects, with the same resolution but slightly different extents. I have use the following function in order to reclassify them and now their values are between 1-6. What I ...
1
vote
1answer
63 views

Crop multiple rasters using map or mapply?

I have a folder of rasters with slightly different extents. I would like to apply crop to the whole list of rasters. I'm trying to teach myself how to use the purrr map family, but I can't get that or ...
1
vote
0answers
24 views

Raster equivalent of “Recalculate Feature Class Extent”

Using Arc Desktop 10.7, I create an output raster using the Extract by Attributes tool. However, the output raster retains the same x/y spatial extent as the input raster, even though its pixels ...
1
vote
1answer
54 views

QGIS XYZ Tiles extents / bounds?

I have added a online tile source in the 'XYZ Tiles' option, and added it as a layer, which works fine. But im trying to understand where the extents shown in the layer properties is coming from? When ...
2
votes
1answer
65 views

Using Google Maps Restricting Bounds API with ArcGIS JavaScript API?

I am trying to make a map with ArcGIS 3.29, but in my map I need a bounding box. The ArcGIS API does not have a bounding box function, but the Google Maps API does. What I am having trouble with is ...
0
votes
0answers
15 views

Fetching exact map image using edge co-ordinates using HERE and JavaScript?

I'd like to be able to fetch an exact map image using the edge co-ordinates. For example: LatMin: 51.1474 LatMax: 51.1789 LngMin: 1.8262 LngMax: 2.7185 This is for a web application so I am using ...
1
vote
1answer
44 views

ArcGIS JavaScript 3.28 extent not working

I'm trying to get an extent to work on a web map app but keep getting an error when trying to pass the extent parameter: <!DOCTYPE html> <html> <head> <meta http-equiv="...
0
votes
1answer
65 views

Creating bounding box in ArcGIS API for JavaScript?

I am trying to create a bounding box for my map in ArcGIS 3.28. I want the bounding box to stay in a given area based on the coordinates given. I found a class called Extent in the API Reference that ...
0
votes
0answers
29 views

“Out of Bounds” CAD-originated shapefiles unable to georeference

I'm trying to import several polyline files from an AutoCad drawing into ArcMap. I keep running into an "out of bounds" error when trying to georeference the CAD layers to where they should be. I don'...
1
vote
1answer
29 views

Extracting {{bbox}} value of entire window in Overpass Turbo

I am using Overpass Turbo, quite a nice tool, but I want to extract the bbox values and use them in an osm-python-tools query. Oddly I don't see any way to get the values of my current bbox, I don't ...
1
vote
1answer
42 views

Create a new polygon layer containing the extent of a layer [duplicate]

I am trying to create a difference layer from an overlay layer and a base layer. The base layer (colored orange in the image below) has a larger extent than the overlay layer (light brown) when zoomed ...
1
vote
0answers
110 views

PyQGIS (3.6.3 Noosa) Why is self.iface.mapCanvas().setExtent() being overridden in plugin?

I am writing a plugin that first adds the Google Imagery XYZ tile layer and then adds various other layers - some from a GeoPackage and others by creating their geometry in PyQGIS. The last function ...
1
vote
1answer
20 views

WFS bbox behavior for longitudes >= 360 degrees

I have a question regarding the OGC WFS specification (2.x and unfinished 3.x). Let's say I have a WFS feature with longitude 0°. If I make WFS query with bbox with minx = 359° and maxx = 361°, ...
0
votes
1answer
166 views

OpenLayers refresh vector source with bbox strategy after map moved

I have a vector layer, in GeoJSON with a Vector source on which I applied the BBOX strategy. I have unique IDs for each feature in the layer and having a look at the network tab in the browser the ...
1
vote
0answers
25 views

Bounding box algebra in PostGIS?

Are there efficient ways of finding the union, intersection, and difference between two bounding boxes (box2df)? I know that this can probably be done by first converting the bounding box (BOX2DF) to ...
2
votes
0answers
36 views

Extrapolating raster to specific area?

Can I extrapolate a raster with the extent of North America (current geography) to the shape of the continent during the Last Glacial Maximum? I would want to extrapolate pH-values to the additional ...
2
votes
1answer
113 views

Requesting only features within bbox from WFS

I'm trying to use PyQgis to query a WFS-service and return the items found within a certain bounding box. When entering the following uri in the browser, it returns a xml with a limited set of ...
1
vote
1answer
32 views

How to reproject a raster based on another raster when the datum is not said and get the same extent?

I am working with two rasters. I am trying to reproject r1 the same way as the raster r2. Rasters are available here r1 class : RasterLayer dimensions : 30286, 58025, 1757345150 (nrow, ncol,...
1
vote
1answer
37 views

How to get extent of rasters in folder ArcGIS

I have 100 raster image in a folder and want to get extent of all raster in ArcGIS. How to get extents of all raster in one go or write in text file? For single raster I used this is working fine: ...
0
votes
0answers
18 views

Shapefiles not lining up - defined projection and re-projected [duplicate]

I have shapefiles created from GPS coordinates from three different regions within a province in Canada. The raw data coordinate systems seem to me to match and when displaying xy coordinates from the ...
0
votes
0answers
22 views

Raster layer not clipping to polygon boundary and yielding block extent in ArcMap?

I am using ArcMap. I want to graphically display my NDVI distribution, but I had to convert my NDVI raster layer from continuous values to integer in order to view the attribute table (I used the ...
0
votes
1answer
32 views

Batch processing of GDAL clip function

When I am trying to batch process GDAL clipping in QGIS 2.18 with 30 raster files I get the following Error: GDAL command output: ERROR 1: Cannot compute bounding box of cutline. My ...
0
votes
1answer
30 views

QGIS: WFS LAYER with BBOX query loads all data (URL works fine in Browser/FME workbench)

I want to pull data from Berlins Geo portal (FIS BROKER). When I do the query in the browser (firefox) or through FME Workbench, it returns fine: Eg.: https://fbinter.stadt-berlin.de/fb/wfs/data/...
0
votes
0answers
47 views

WMS not displayed in ArcGIS Online?

I tried to access the WMS request through the ArcGIS Online which is published in geoserver. The WMTS request of the same data is coming fine without any issues. When i checked the geoserver log i'm ...
1
vote
1answer
66 views

Polygon from shape extents in QGIS

In QGIS 3.4 is there a tool similar to the Extract Layer Extent but instead of a bounding box, it creates polygons? I have groups of lines representing a network of roads and I want to show the ...
1
vote
1answer
71 views

Georeferencing non-projected pdf using bounding box in FME?

I have two similar looking and extend map files. Pdf -map (N4443) with vector but not projected and the raster tiff map (N4443) with projection. I need to georeference pdf-vector objects using tiff -...
1
vote
2answers
51 views

Iterating over a layer and make MBR for every feature with QGIS

I have a layer with about 20000 polygons in it. The make extent layer command just draws the MBR (Minimum Bounding Box) for the whole layer. I want to make MBR for each of them separately. Is there ...
0
votes
0answers
54 views

Matching Mollweide extent?

I'm trying to match two rasters to same size, so i can do cell to cell analysis on them. The first cell That I'm trying to match is in Mollweide projection, with 250 m resolution. Here is the gdalinfo ...