An extent is the minimum bounding rectangle (xmin, ymin and xmax, ymax) defined by coordinate pairs of a data source. All coordinates for the data source fall within this boundary.

learn more… | top users | synonyms (1)

3
votes
3answers
353 views

Python - Find the largest extent in a list of extents (tuple format)

I am trying to find a way (simplest is the best) to retrieve the largest extent in a list of tuple extents in python. The list is looking like that: extents = [(-180.0, -90.0, 180.0, 83.624), ...
0
votes
1answer
9 views

WCS: Raster Size Out of Range Error even if within Capabilities' Lower and Upper Corner

I'm fairly new at WCS so bear with me if this is a really stupid question, but I can't really understand the problem. I'm trying to retrieve some DEM data from the Italian Ministry of Environment's ...
2
votes
1answer
13 views

Restrict WMSLayer (not map) extent with ArcGIS JavaScript API

Is there a way to restrict the rendering of a WMSLayer to a specified extent without restricting map panning and zooming? That is, I need the client to be able to pan outside the limits of the ...
0
votes
0answers
26 views

Open Layers Bounding Box, Flickr API, and popups?

Ive been using the code from the BBox strategy with my Flickr API to display photos on my map with some success. http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/strategy-bbox.html ...
0
votes
0answers
21 views

QGis Filtering postgis layer with boundbox

I know It is possible to split a polygon feature by interactively drawing a line over it in QGIS 2.0 with the Split Feature command.The issue i have is that postgis layer i am trying to work on is ...
1
vote
1answer
45 views

Equivalent function to shapely's envelope in ogr?

I wrote a very simple python function that gives me the envelope/bounding box/...based on two coordinate pairs (ower left and upper right corner): # ... def get_bounding_box(self, ll_corner, ...
2
votes
1answer
29 views

ogrinfo returns a negative coordinate for extent of mif data file

I'm trying to get the extent of a MIF file using ogrinfo. The MIF file is supposed to be in epsg:23030 projection. This is: PROJCS["ED50 / UTM zone 30N", GEOGCS["ED50", ...
0
votes
0answers
20 views

What is the syntax for using a Bounding Box in QGIS WFS?

I am connecting our company Web Feature Service (WFS) to QGIS. I want to set the bounding box in the Expression string builder but the syntax is not working. bbox(79170, 3971, 99152,18095) The ...
2
votes
2answers
43 views

Sending map extent in (geo)JSON

I have a leaflet map that I need to fitBound on a given rectangle. The coordinate for the fit bound will be transfered in JSON via a REST call on a server. We are using GEOJson to encode our geometry ...
0
votes
1answer
33 views

ArcObjects ExportMapImage modifies image extent

I am trying to extract a map image at a certain range. I am using IMxdServer's ExportMapImage method, documented here. Here is the relevant snippet of code: IMapDocumentPtr ...
0
votes
2answers
80 views

Can you change the processing extent in environment settings using python to a shapefile?

I have managed to do this manually at Geoprocessing>Environments>Processing Extent and setting the shapefile in the drop down bar. I was wonder if this could be automated with a python script? My ...
1
vote
2answers
71 views

Using python to get extent and split coordinates into list

I have the following code: for fc in fcs: desc = arcpy.Describe(fc) ext = desc.extent ext.split(" ") print ext I'm getting error: AttributeError: Point: Get attribute split does not ...
0
votes
2answers
72 views

QGIS Get extent of layer

Is there a way to get the extent (bbox) of a vector layer in QGIS? I see that I can update the extent, but I am looking for the actually for coordinates of the extent.
0
votes
1answer
28 views

How to find zoom levels based on a given bounding box in srs 4326?

I need a function that outputs Zoom Level of a bounding box. for example imagine this bbox: 38.056640499272,22.412109500728,67.060546749272,36.91406262572 How can I found the level?
1
vote
0answers
48 views

How to generate bounding box based on tile numbers using slippy map tiles method?

Description: I am writing a map cache server for my company. I have to get input data based on tms standard and send a request to wms server to render and cache map files. I am using slippy map tiles ...
3
votes
2answers
61 views

Using python to Raster clip the extent to be the same as the display?

I've been trying to figure this out for almost a week now. I am creating a tool which first needs the raster to be clipped out to the current display. I have tried all sorts of things. Below is the ...
0
votes
0answers
50 views

Best way to group datasets by country/region

I 'm using ArcGIS 10.0 and have a folder with misc GIS datasets from all over the world. I wrote a script that finds all of these datasets and writes them to a .csv file, but I also want to identify ...
3
votes
1answer
64 views

Applying unique processing extent to each iteration of tool in ArcMAP Model Builder

I am trying to create an automated ArcMAP (10.1) tool that will read in a file (ASCII most likely) of maximum and minimum lat/long values along with some additional variables. The tool will iterate ...
0
votes
0answers
27 views

How can i get the contour (boundry line) of a feature collection

I have all parcels of given locality as a FeatureCollection. Each parcel is a Feature with a MultiPolygon outlinine the boundry of that parcel. I would like to get a Multipolygon that has the shape ...
0
votes
1answer
37 views

Retrieving raster/coverage width and height in pixels from GeoServer

Is it possible to retrieve the original width and height in pixels for a coverage in GeoServer using either the Python API or REST? I could not find anything in the documentation regarding how to ...
1
vote
2answers
237 views

How to change shapefile longitude from -180 - 180 to 0 - 360?

I have a shapefile of world countries, with longitude between -180° and 180°. How can I change the shapefile (eg. with ogr2ogr) for having longitude between 0 and 360°. Following OSGEO/Trac ...
4
votes
2answers
556 views

How to quickly calculate bounding box coordinates of a selected polygon with qgis

I just manually (and somewhat inaccurately I'm sure) retrieved the bounding box coordinates for a county polygon, which is a selection from a larger layer of county shapes. I'd like to be able to use ...
1
vote
3answers
537 views

Zoom to selected features with ArcObjects

I am trying to figure out what is the best way to set the active view extent to be able to view all the selected features on the Arc Map. 1.The Map has only one layer. 2.The features are filtered ...
0
votes
1answer
127 views

Maximum size on the bounding box with ST_MakeEnvelope and && and geography column in PostGIS?

I've done quite a few google searches, but haven't managed to find anything that has helped me directly. I've got a few features in a PostGIS table with a geography column. The features are focused ...
0
votes
2answers
91 views

MapServer and OpenLayers: Properly using MAXSCALEDENOM in mapfile (google baselayer)

My base layer: google map My points on the map: from an airports.db file, set up as a WFS layer in the OpenLayers code. As of now: map loads, points in the correct places on the map. My goal: ...
0
votes
1answer
65 views

Why are Bounding Coordinates not as expected? [closed]

I have a shapefile in GCS_WGS_1984 projection, but the bounding coordinates/Feature extent shows the wrong coordinates in the screenshot below. . I tried to change the projection, by deleting the ...
0
votes
2answers
106 views

How to transform a PostGIS bounding box?

I need to query the bounding box of a table (in WGS 84, srid 4326), and transform it to Web Mercator to be consumed by an OpenLayers map. Currently, I am using this to retrieve the bounding box: ...
4
votes
1answer
73 views

How to rotate sphere when using Vertical Near Side Perspective projection?

Situation Data is currently displayed on a globe using the Vertical Near Side Perspective projection with a blue circle as a backdrop. Problem I would like to 'rotate' the globe by altering the ...
0
votes
1answer
170 views

GeoServer not reading bounding box from PostGIS geometry correctly

We are using GeoServer (tried on version 2.2 and 2.4) to render WMS with a PostGIS (version 1.5) data store. We set up the geometry field with all the appropriate constraints and validated/cleaned ...
0
votes
1answer
60 views

How to get bbox from geolocate?

I am using geolocate to zoom to the users location. Afterwards I am trying to get the bbox of that area. However the geolocate function is for some reason always executed last, so I don't get any ...
1
vote
1answer
76 views

can I get map's bounding box at any time, after user clicks button

I use openlayers. I am creating a form that the user can insert a bounding box to the database. In my page I have the form and a map, so the user can preview what he entered. So I thought it would ...
1
vote
1answer
50 views

cannot get EPSG of bounding box

I use openlayers 2.12. I created a form where the user can insert a bounding box, to insert to the database a new borough. To check the EPSG of the borough I tried the following //ba bb bc bd came ...
4
votes
3answers
220 views

How to find Bounding Box given 4 Lat/Long and Bearing? [duplicate]

I need to find a bounding box given 4 lat/long points and a bearing (as seen in the example picture). I always know which two points are lined up by the bearing (1 and 2 in the example), so I will ...
0
votes
1answer
91 views

Change the extention of a map to show a query result

Does anyone know how to change the extent on the map in function of a query? in legende I have no problem using the function showResults (featureSet) {... but, can not get any display in AMD. Here ...
3
votes
2answers
165 views

How to export a vector layer to a new layer and take extent from canvas?

I want to create a new vector layer based on an existing one and the extent should be based on the current extent of the canvas. How do I do that? Edit: I am looking for a quick way to do that (a ...
3
votes
2answers
76 views

Where to get school zone shapefiles?

Census.gov usually makes available the shapefiles containing school zone boundaries. Due to the US government shutdown, census.gov is down. Does anyone know where to download a recently archived copy? ...
0
votes
1answer
74 views

Tilemill: set max extent for export

Is it possible to set map extent to be displayed on mapbox ? If so could you pls send mss example ? Regards, Jorge Vidinha
2
votes
1answer
74 views

Extent Intersection when WrapAround180 enabled

Allowing WrapAround180 allows map extents to go beyond the true Web Mercator extent. Once this happens I am not able to use map.extent.intersects(point). My work around was to Normalize extents in ...
0
votes
1answer
279 views

How to obtain an extent of a whole shapefile?

I have got two shapefiles. One of them is a point shapefile and the second one is a polygon shapefile. I need to find out which of them has a larger extent and then set the environment extent to ...
0
votes
1answer
218 views

How to “spatially normalize” rasters of different extents to sum values of overlapping cells

How do I add rasters together that are of different spatial extents? I have many, many features that overlap over a large area (entire east coast) and I am looking to sum them "stacked" where they ...
2
votes
1answer
245 views

Openlayers custom (local) OSM tiles layer with limited extent

I know, how to add an overlay layer by specifying my own URL. But what if the overlay layer extent is not as large as base layer - e.g. overlay layer is only avaliable for one country and not for the ...
0
votes
0answers
26 views

Bounding Boxes around nearby points [duplicate]

I've got a table with 200.000 points. My aim is to draw bounding boxes around points where this point have the same name and that are in a maximum distance of 500 meters to each other. I guess I can ...
0
votes
1answer
74 views

Plotting a point within a bounding box as a percentage of X/Y

I have two pairs of lat/long coordinates that represent the top left and bottom right corners of a bounding box. I have a third pair of lat/long coordinates representing a point within this bounding ...
2
votes
0answers
85 views

Splitting a bounding box into n amount of bounding boxes

Firstly, I've never worked in the GIS area before nor do I have much knowledge of the mathematics behind some of the stuff I am trying to implement. Perhaps i'm getting in over my head. My Situation ...
0
votes
0answers
31 views

ARCGIS - Full Extent is very wide [duplicate]

I have a map of the UK. I initially made an error when importing data and mixed up the x&y coords when adding it. This has now been corrected and the file removed. However, when I right-click full ...
2
votes
0answers
48 views

Bounding Box approximation when calculating in euclidic space?

Although I will illustrate my problem using a database, I think this is a quite general GIS question. I hope I came to the right place to ask. I am working with a system that runs on a normal ...
1
vote
1answer
100 views

Raster extent, just clipped by geomtery, slightly differs from a given geometry

The raster using arcgis geoprocessing is cliped with a feature, reading it's geometry and as a result, rasters extent slightly differs. Extent of geom: str(row.shape.extent) '570600,537958652 ...
0
votes
0answers
65 views

Filtering features in Bounding Box made from lat long?

I have a feature data which is based on lat/long. To show on the map, I convert them to east/nort. When dealing with Bounding box, I am getting co-ords is east/north, so I am converting from ...
1
vote
1answer
87 views

How do I specify an extent to my map without disabling zooming in?

I'm a bit new to GIS in general so apologies for the newbish question but in ArcGIS 10 I'm trying to get it so my map is only for my local city government (where all my data is) and a small ...
0
votes
2answers
141 views

How to get the a FeatureLayer full extent?

Is there a way to get the extent of a FeatureLayer (with all its features, not only the ones on the map)?