The smallest rectangle, parallel to the coordinate axes, enclosing a given figure.

learn more… | top users | synonyms

2
votes
1answer
370 views

Bounding box argument ignored when displaying raster using mapserver

I am trying to display a raster image with Mapserver using different bbox arguments in a mapserv cgi request. I have been trying to specify different bbox arguments to "crop" the raster display, but ...
8
votes
3answers
6k views

Bounding box for PostGIS table

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

Getting a Bounding Box in Latitude / Longitude using PostGIS shp2pgsql

Using the PostGIS shp2pgsql -s 4326 ... I generated the sql file and created my spatially enabled table. When executing my query: select box2d(ST_extent(the_geom)) from feature_data; I'm returned ...
5
votes
1answer
304 views

Crop OpenStreetMap data retaining long features

When I crop OpenStreetMap data using Osmosis with the --bounding-box option, it seems to only give me nodes and ways that are fully contained within the bounding box. There are several long highways ...
9
votes
2answers
5k views

PostGIS: Find points that lie within a set of coordinates

I have a PostGIS db, and I want to find the points that lie within some region (a bounding box). I have two sets of coordinates, from which I can get all four rectangle points that form the box (if ...
0
votes
1answer
510 views

Problem running bounding-box queries

I am working on a google map application, to display the items that are listed in the selected rectangular area. Below image give you some understanding. Based on the co-ordinates ...
3
votes
2answers
438 views

Find GPX files which contain tracks located in a specified bounding box

I have a bunch of GPX files and I want to find out which files contain tracks located in certain geographic extent, e.g. files containing tracks in Pennsylvania. Also, the inverse is also useful too, ...
2
votes
3answers
799 views

How do i find out geometries for areas?

I was wondering if anyone could help me out with a website which I can use to get geometries for a area. What I'm looking for is something like google maps where I can drag a cursor over a area of the ...
7
votes
4answers
4k views

How to calculate polygon length and width using open source GIS?

How can I calculate the length and with of polygons using open source tools? By "polygon length" I mean the length of the longest line within the polygon (update: to be correct, I just need the ...