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
2answers
51 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
37 views

PYQGIS 3: Get the maximum extent of 2 different layers for map display

In the 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 * import ...
1
vote
1answer
37 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
44 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
38 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
46 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
28 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
39 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
35 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
38 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
39 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
53 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
36 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
39 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
24 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
23 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
29 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
58 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
19 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
104 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
24 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
34 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
81 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
30 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
30 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
25 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
25 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
37 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
52 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
60 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
45 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
43 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 ...
0
votes
0answers
135 views

Extent of shapefile in meters instead of decimal degrees QGIS

i'd be thankful for your help. My QGIS-project has the CRS WGS 84 EPSG 4326 and so does the shapefile I created. The coordinates on the edge of the window however shows, I think, meters, although I ...
0
votes
1answer
45 views

Bounding box as a 4-tuple - south/west/north/east order?

We need to pass a bounding box as a 4-tuple and we cannot pass named arguments. I've searched a bit at found that different APIs use different order of lat/lon and different corners (northwest/...
1
vote
2answers
50 views

Measuring width of polygons, which is wider than long

Within my project I am trying to quantify and compare different submarine landslides with ArcGIS. Therefore, I created a polygon shapefile and mapped the spatial extent of each landslide. Now I want ...
1
vote
1answer
85 views

PostGIS SQL Query Filter by Bounding Box

I have the following query on a PostGIS Database SELECT row_to_json(fc) FROM ( SELECT 'FeatureCollection' As type, array_to_json(array_agg(f)) As features FROM ( SELECT 'Feature' ...
0
votes
1answer
330 views

Convert GeoJSON object to bounding box using Python 3.6

Is there a library available in Python 3.6 using which I could convert a GeoJSON object (geometry) into a bounding box object? Actually I am calling a WMS layer from GeoServer and I want to set the ...
1
vote
1answer
28 views

Layers Properties - Extent - Custom Extent [closed]

If I were to set up a custom extent on several global data layers using a smaller geographic region (i.e. North America), will Arc still "draw/process" that data even though it is hidden outside my ...
2
votes
2answers
76 views

Duplicate points and bounding box in PyQGIS?

I am trying to find all points in a vector layer that do not have a duplicate point. To do this, for each point I create a list of features that intersect its bounding box ('candidates') then check ...
2
votes
1answer
49 views

Check 2 Extents with Disjoint in Arcpy - Wrong Result

I'm now facing a problem using Disjoint in Arcpy to check if 2 extents are intersected. I have 2 extents like this: Ext1: 33206887.500051 5890587.49999999 33460887.500051 6060887.49999999 NaN NaN ...
0
votes
1answer
110 views

Unable to load file using gdal.Open

I am new to GDAL in Python (and Python in general), so as a way to begin learning, I am trying to perform basic functions such as getting extents from a single raster and printing them out. However, ...
0
votes
1answer
50 views

Public site WMS bounding box seems wrong

I'm having an issue with several WMS feeds that i'm looking at, where their bounding box seems wrong. I think i would assume the issue is with the provider, but there are multiple enough that i think ...
1
vote
1answer
374 views

How to get extent of Image layer in OpenLayers?

Considering the code below (which uses openlayers and Viglino's ol-ext), how do I get the extent of the geoimg? var map = new ol.Map({ target: 'map', view: new ol.View({ zoom: 18, center: ...
-1
votes
1answer
454 views

Python - Creating a shapefile from a bounding box coordinates list [closed]

There is already few existing questions about this topic, but I unfortunately did not find something that could fix my problem... I have a point Lat, Long coordinate i.e. Lat= 10 and Long = 10. I ...
0
votes
1answer
59 views

Changing decimal digits of extent in raster layer using Python in QGIS

I want to change the decimal digits of the raster layer extent in QGIS 3.4.3 with Python, so it ends with 0.5. My code is as follows: input = vlayer output = "Directory" extent = vlayer.extent() ...
0
votes
0answers
38 views

Interpreting meter values of extent using ArcGIS Pro?

I am using ArcGIS Pro application to create a map and add a single polygon feature class onto the map. As shown below, I use bold polyline to outline the boundary of the polygon and click "zoom to ...