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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [bbox]

bbox is a shortened form of bounding box

0
votes
1answer
21 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
1answer
88 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 ...
0
votes
1answer
233 views

Bounding box coordinates and strange WMS behavior

I'm having trouble with using OpenLayers to render a GeoServer WMS layer. I have searched about it on the internet but have found no workaround yet. I intend to provide as much as I know on this ...
1
vote
1answer
69 views

Get Bounding Box of Each Polygon (Each Rows in a table) using PostGIS

I have zoom level 4 polygons of the world (in EPSG 3857) and I am trying to get the bounding box of each tiles. this is the query that I used but this is not working. select title, id, st_extent(...
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 ...
0
votes
1answer
49 views

bbox loading problem

Could you tell me why bbox loading all data beginning? 'bbox=' + extent.join(','); }, strategy: ol.loadingstrategy.bbox The map then loads very long. How can I make it calculate correctly?
0
votes
0answers
40 views

Openlayers 2 Vector Layer with BBox strategy too large

Currently, i'm building a REST service which will receive the bbox from front-end and then using that bbox to looking for appropriate Geometry Shape in MSSQL database. My Openlayer are setting up ...
1
vote
1answer
443 views

Converting projected coordinates from bbox into long/lat using R?

I have a DEM file in QGIS and would like to import the the satellite image for the same region into R. According to QGIS, the CRS used in the DEM file is: Layer Spatial Reference System +proj=...
1
vote
1answer
410 views

How can I extract bbox of polygon geometries in a shapefile using geotools

I have a shapefile which has building footprints as polygon features. I want to read shapefile and extract these bbox of these polygon features using geotools. So far I read shapefile but I don't know ...
3
votes
2answers
160 views

Bounding box generation, retaining fields?

I generated a bounding box by calculating the extent of each feature using "Polygon from layer extent..." tool located in "Vector/Research Tools" which works great but I lost the fields, especially ...
3
votes
1answer
243 views

How properly calculate BBox for mocked GetMap request?

I am trying to imitate GetMap requests for GeoServer and have an application which generates these requests (requests are for cached layers). The problem is that sometimes I get geowebcache-cache-...
2
votes
0answers
179 views

Handing a Bounding Box (bbox) to an overpass query

I would like to incorporate the results of overpass-queries into a model, which in the end gives me a clipped union of these results (all roads within a specific area). The challenge is to automate ...
0
votes
1answer
41 views

Export MBRs from OSM

What would be the Overpass query to export minimum bounding rectangles (MBR) of cities/provinces/countries from OpenStreetMap?
2
votes
2answers
701 views

Cropping area of interest from raster file using Python?

I have been trying to crop out certain area of interest from a raster type .tif image format. I was successfully able to implement that in R, but since shiny doesn't provide much for free, i have to ...
8
votes
1answer
5k views

Difference between bounding box, envelope, extent, bounds?

Every time when I create a script to manipulate vector (point, line and polygon) in python I meet this doubt. What is the difference between bounding box (bbox), envelope, extent, bounds?
1
vote
0answers
216 views

Define bbox for WMS service [closed]

There is such a task: you need to display one of the raster layer and one or several vector objects (use layer CQL of filter). I use geoserver to store the geodata and leaflet js on the client to ...
1
vote
1answer
176 views

query amenity and bounding box

I'm trying to query specific amenities in a specific region on a postGIS database. I'd like to be able to select multiple amenities in the query, and output their OSM ID, type, lat, lon, & name. ...
0
votes
1answer
63 views

Overpass Turbo query within visible area (without using OSM script style)

I'm trying to do really basic queries on the current visible area in the Overpass UI, and I'd like to know what is the equivalent of 'bbox' in the following format: ( way["waterway"](53.3,-3.1,53.5,...
1
vote
0answers
182 views

Calculate BBOX by latitude and longitude [closed]

How openlayers3 generate BBOX by latitude and longitude. I want to generate BBOX for GetFeatureInfo request by latitude and longitude in C#.
6
votes
1answer
2k views

GeoServer WFS GetFeature with BBOX returns too many elements?

My data is stored in PostGIS in EPSG:3035, and I query the data using WFS GetFeature as follows (in CoffeeScript) params = { service: 'WFS', version: '2.0.0', request: 'GetFeature', ...
0
votes
1answer
770 views

Point in bounding box using R?

Using the tz_world.shp file, I want to find the polygon in which a point falls. Technical details - language: R, v3.2.3; platform: Windows 7 professional (64-bit, quad core, 32 GB RAM). I have 12169 ...
1
vote
1answer
449 views

How to read the bounding box of an osm file without loading it?

I noticed a pattern in .osm files : the third line tends to be its bounding box. Typically, the xml element that contains the bbox is called bounds. I'd like to read this element without loading the ...
1
vote
2answers
1k views

Openlayers bbox strategy

I have bbox strategy for one source of data. Code looks like this: bbox: function newBboxFeatureSource(url, typename) { return new ol.source.Vector({ loader: function (extent) { ...
2
votes
2answers
635 views

Update programmatically BBOX of WMS Geoserver layer

I create programmatically a layer in PostGIS and Geoserver. I give the option to the user to choose the geometry and the attributes and then I create the table in PostGIS and add it in an existing ...
2
votes
2answers
2k views

How to create a bounding box around a point using postgis

How to create a bounding box around a geom (POINT) and find all the intersecting geoms(POINTS) within that bounding box?
16
votes
3answers
11k views

Bounding box for PostGIS table

Is there an easy way to get the bounding box for an entire table in PostGIS?
4
votes
2answers
5k views

Restrict CQL filter to a specific BBOX

I need to filter an OpenLayers layer using a CQL filter to an specific Bounding Box. Is it possible? Something like this isn't working: igh > 5000 AND bbox(igh,20786691,22051867,-305577260,-...