Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
15 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
14 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
0answers
24 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
26 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
38 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
33 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
22 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
66 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
31 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
34 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
46 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' ...
1
vote
1answer
21 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
51 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
39 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
43 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
33 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
149 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
178 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
45 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
32 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 ...
1
vote
2answers
36 views

QGIS Print Composer align poly extents to page edges

Is there a posibility to align the edges of an polygon (in my case these edges are also the total extents of the layer) to the edges of the map item? I want to keep the specific page dimensions. edit:...
1
vote
3answers
60 views

Finding feature extents (not layer extent) in QGIS?

How can I find feature extents for each multipolygon in QGIS? for feat in layer.getFeatures(): I want to calculate extents for each feature here.
3
votes
1answer
88 views

Getting source bounds when filtering LAS using PDAL?

I'm using PDAL to filter out non ground points to create a DTM along with a DSM also made through PDAL to create a Canopy Height Model using this method. My workflow looks like this. #!/bin/sh # ...
0
votes
1answer
52 views

Displaying bounding box polygon from CSV using ArcGIS Desktop?

I have a data file (.csv) with a minimum and maximum longitude and latitude. These 4 fields (roughly a few thousand rows) make up a bounding box. However, I am unsure of how to get this data to be ...
0
votes
2answers
96 views

Changing Leaflet Base CRS using Proj4js

I am trying to change the CRS of a web mapping service in Norway. The projection is EPSG:25832. Here is the WMTS service: https://kartkatalog.geonorge.no/metadata/norge-i-bilder/norge-i-bilder-wmts-...
4
votes
2answers
150 views

QGIS Joined Layer not displaying points visible on pre-join layer (No Extent)

I have a shp file which is the output of the Toolbox Check validity tool in QGIS 3.4.3 The points display for me correctly but if I then join the layer with a csv attribute using the toolbox Join ...
0
votes
0answers
45 views

How to set the extent of a PostGIS geography table?

I have multiple geography tables in PostGIS database. All of them have extents of (-180,-90;180,90), probably in their metadata, which makes editing difficult. I'd like to set the extent to exactly ...
0
votes
0answers
106 views

QGIS 3.4 layout: fix extent and scale, let size adjust automatically

I'd like to create maps with a defined extent and scale. Logically, the map size has to adjust accordingly. Since I will be using the maps as pdfs (and not on paper), this won't bother me. Is this ...
1
vote
1answer
62 views

Set extent in a webmap Esri

I'm creating a storymap from a developers tutorial I found on Esri. The point of the tutorial is to insert an additional reference map. Everything is working well but I want the extent to closely ...
0
votes
1answer
42 views

Possibility to use polygon as global area parameter for overpass query

I have been trying to provide a polygon with an array of coordinates as a global parameter for my overpass query. But the query is through syntax error. [bbox:poly:"50.7 7.1 50.7 7.2 50.75 7.15"]; ...
0
votes
0answers
26 views

Working with a small spatial extent from a large dataset in ArcMap

I am currently working with large amounts of forest data where surveyors and ecologists measure and assess the quality of the vegetation in the field and send the result as CAD files on a daily basis ...
0
votes
2answers
47 views

Why does the Extent of NIR Band 8 Landsat image not match other bands, even when cropping to a specified extent?

I'm trying to load and then stack four bands 2,3,4 and 8 RGB and NIR from Landsat images. I have downloaded and extracted them and they are in .tif format. # loading the bands B2 <- raster("./...
1
vote
1answer
55 views

QGIS Custom Python Function to Return Current Extent QGIS 2.18LTR

Related Question Charts and Graphs that only display features in current extent Trying to write a custom function to return the current view extent. The below code is what I wrote based on the QGIS ...
1
vote
0answers
75 views

Accessing QGIS Interface in standalone PyQGIS script?

I try to set the extent of my QgsProject to the extent of one of the layers in it. I know how to do that with qgis.utils.iface but it works only when the script runs inside QGIS' Python console. What ...
2
votes
0answers
63 views

Convert QgsVectorLayer.extent() to EPGS:4326

Many APIs such as overpass turbo require bounding box notation like (x_max, y_max, y_min, x_min) in EPSG:4326. However the method QgsVectorLayer.extent() returns values in the source's CRS. A possible ...
1
vote
2answers
80 views

Seeking border of Netherlands to use in ArcGIS Pro?

I am a beginner in ArcGIS Pro. I asked a question before (Expanding IDW interpolation to borders of country in ArcGIS Pro?), but I feel like I do not understand the basics enough, so a more basic ...
0
votes
0answers
34 views

Composer map needs to reset extents each time

I have several maps that are regularly updated and am now having a problem that has only recently begun - each time I reopen a composer to re-PDF my maps, I have to reset the map extents. All of my ...
0
votes
1answer
128 views

Get a bounding box of a geometry that crosses the antimeridian using OGR

I'm trying to get a bounding box of the geometry that crosses the antimeridian using OGR: from osgeo import ogr geom = ogr.CreateGeometryFromJson('{"type":"MultiPolygon","coordinates":[[[[-180.0,-40....
0
votes
2answers
97 views

Raster operations in a raster list in R

I have a raster list (21 in total) S1 that have the same projection, resolution but not exactly the same extent. Due to this difference, I cannot stack them without solving the extent/dimensions ...
0
votes
2answers
82 views

Determining flood extents based on a daily flow? [closed]

I have a DEM raster and daily average flows (e.g., 50Ml/day). And I want to determine how far the water extent goes when the flow accumulates for 7 days based on 50 ml per day?
1
vote
1answer
323 views

Getting bounding box from Point type GeoDataFrame to getting data from Osmnx

I've a point geodataframe which has only point features inside of it. fishnet_Id ... geometry 0 0 ... POINT (403486 4540640) 1 ...
1
vote
0answers
32 views

Setting an identical map extent for all systems resolutions with OpenLayers

I want to see my map extent as identical in all resolutions (17 inches, 20 inches etc). If I set centre and zoom together, the map extent is varying with respect to different machine resolutions. ...
2
votes
1answer
114 views

Querying for extent of layer in arcpy.mp?

We're migrating automated mapping scripts from ArcGIS Desktop to ArcGIS Pro — Python 2.7 to 3, arcpy.mapping module to arcpy.mp module. All these scripts iterate through a loop to select various ...
0
votes
0answers
73 views

MS SQL Server STEnvelope() performance

Using MS SQL Server 2012, when we write a query with select GEOM.STEnvelope() from table where table holds approx. 4000 native SQL Server line geometries of type geometry, with 2/6/180 points min/...
1
vote
0answers
52 views

How to change extents in QGIS?

I'm trying to learn QGIS. How do I change the Extents (Highlighted in green below). I tried to make a custom CRS, but I couldn't figure out a way to change these.
0
votes
1answer
1k views

Openlayers 4 and View Extent

I have been working on openlayers 4 and specifically my question is regarding limiting the extent the user sees, let's say 2 km by 2km is the viewing area, this configuration was done using the ol....
2
votes
1answer
39 views

Start ArcGIS Web Map Zoomed to Query

Can you have an ArcGIS Online map, you know one that you share and embed on a web page or link to, automatically start at an extent that is defined in a query of some sort? Ideally it would be great ...
1
vote
1answer
90 views

Making sense of coordinate systems in retrieved data from a CSW

I am invoking a CSW server (Catalog Service for the Web) and I am trying to draw the bounding box of each record in the front end of my application. One of the problems is that the coordinate system ...
0
votes
1answer
107 views

Creating animations with goTo and extents using ArcGIS API for JavaScript?

I am using the ArcGIS API for JavaScript. Right now, I am trying to change the extent of a view dynamically. <script> var view; var new_ext; require([ "esri/views/MapView",...
0
votes
1answer
41 views

Why is ArcPy Describe Extent overshooting the extents?

Why is arcpy.Describe(file.shp).extent overshooting the extent? Screenshot below. I have confirmed there are no tiny lines lingering out at the edges. I'm in UTM coordinates. extent = arcpy.Describe(...