A coordinate-based data model that represents geographic features as points, lines, and polygons.

learn more… | top users | synonyms (1)

1
vote
0answers
277 views

How to config geoserver to read style of vector layer from postgis/SQL store?

I've imported vector layers from map info pro to both SQL server and post gis using easy loader. In both cases I've included style column in the exported table. When I create new store in geoserver ...
3
votes
1answer
3k views

How to get attributes of overlaying polygon layers by a spatial query?

I am new to QGIS and would like to merge selected data/attributes out of the attribute tables from overlaying vector objects on different vector layers without creating new additional layers. Is ...
5
votes
1answer
795 views

How to emulate a specific vector grid in QGIS?

I would like to analyze data included in a pdf file. The file contains information on characteristics of 16km grid cells for a specific study area. The file also includes a map displaying the grid. I ...
4
votes
1answer
967 views

How to export 2D vector graphic from ArcScene to Illustrator?

I need to know how to export 2d vector graphic from ArcScene so I can edit it with Adobe Illustrator. I've tried changing the options when I export 2D scene as AI file or PDF file, but they always ...
4
votes
3answers
994 views

DXF to georeferenced SHP

I know how to set projection and georeference bounds of scanned TIFF file, by using gdal, but I don't know how to do the same for vector file. For example I georeferenced TIFF file by using this ...
1
vote
0answers
60 views

SQL server 08 Limitations

The Soil SURvey GeOgraphic (SSURGO) database is a set of very large and complicated shapefiles. We want to load all of the shapefiles for the US into a national SQL database. Are there import ...
7
votes
1answer
3k views

How to remove a vector QgsVectorLayer from QGis python plugin

I managed to add QgsVectorLayer in QGIS through a python plugin, for example: vl = self.iface.addVectorLayer(uri.uri(), layerName, self.dbConn.getProviderName()) But how can I remove it?
2
votes
1answer
2k views

How to correctly merge layers with overlapping polygons in QGIS/GRASS?

I have 4 vector shapefile that I would like to join/merge, without worrying about attributes. Here are the shapefiles. I would like to do an union and a spatial dissolve, but everytime I do a dissolve ...
2
votes
1answer
166 views

How to close and fill Gulfs and inlets in QGIS or Grass?

I have a raster layer from which I extracted only zones with a certain color, then polygonized it with QGis. I just generalized the new vector layer in GRASS to smooth things a bit. There are many ...
2
votes
1answer
83 views

calibrating vector line in qgis

I have loaded GPS points into a QGIS vector layer. I also imported a vector line from a dxf file which doesn't have georeferencing. I would like to fit in line geometry between the GPS points - how ...
2
votes
1answer
130 views

From Raster to Masked and Filtered Polygon Vector

I have a set of rasters (geologic risk) from which I want to extract zones with a specific color, clipping them with a polygon (administrative borders), outputting a shapefile. I'm using QGis (and ...
9
votes
1answer
2k views

Why do vectors disappears when zooming in?

I have imported a .gpx file into qgis and separated the track waypoints using Vector > GPS > GPS tools. When viewing at full extent I can see the original track and component waypoints. However when ...
5
votes
2answers
342 views

How to download Leaflet vectors in GPX format?

I would like to use the leaflet.draw plugin to allow users to digitize vectors on the map. At the end the data should be downloadable as a GPX-file. Is there any sample that shows how this can be ...
3
votes
0answers
301 views

Is there a way to create raster by interpolating point values using GeoTools 8.2?

im new in using GeoTools (8.2). I was able to create shp from asc file which contains my data. Now my question is is there a simple way to create (interpolate) a simple shapefile (only points) to ...
1
vote
0answers
23 views

How do I draw a square on a vector layer from PostGIS? [duplicate]

Possible Duplicate: Is there a tool/plugin/script for QGIS that would allow for manual corrections to vectors and also allows for connection to postGIS? I am trying to draw two squares on a 45-...
3
votes
3answers
230 views

How can I draw squares in PostGIS layers at different angles?

I am trying to draw two squares on a 45-degree angle and then merge them using PostGIS to edit. QGIS can draw squares but only on a perpendicular plane (eg, 0, 90, 180), and I need to be able to draw ...
4
votes
2answers
1k views

Spatial query of raster data

I have population distribution data as a raster layer and exposure contours as vector (polygon) layers. What I'd like to do is use the vector layer to estimate the population indicated from the raster ...
5
votes
1answer
374 views

How to cache PostGIS views?

Does anyone knows if there exists a caching system for views or queries in postgis? I have a system that gives information through a webpage using a postgis view as backend. The problem is that, ...
2
votes
1answer
820 views

GML and GeoJSON vector layer can not display in Firefox and Chrome

I have following codes. It works perfectly in IE (GML and GeoJSON vector layer was loaded), but not in Firefox and Chrome without any errors noticed. Please help me to fix this problem. Here is the ...
4
votes
1answer
3k views

How to get all Vector layers from OpenLayers map?

OpenLayers.Map object exposes a method call getLayersByClass. How do I use this method to retrieve all of the Vector layers from the map? I tried map.getLayersByClass("Vector") but this returned an ...
7
votes
2answers
577 views

How to remove long linear strips from polygons?

I have a polygon layer representing impervious land cover. This was taken from a land cover raster dataset. The impervious data represents all impervious surface that is not buildings or roads. I ...
16
votes
4answers
45k views

Extract Raster Value into Polygon Attribute

I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of ...
5
votes
3answers
2k views

How to update feature positions with clustering in OpenLayers?

I have an OpenLayers 2.12 map with a vector layer with a cluster strategy. All the static behavior is how I want it. Now I'd like to add the possibility to update the features' position. I do this ...
0
votes
1answer
577 views

Vector data(point) is drawn in wrong place on map (OpenLayers)

I need to show a map (world map, used default OpenLayers WMS) and one point on it (with events like onhover, etc). Here is my code: var options = { ...
2
votes
0answers
204 views

Reclassifying a field in vector files in ArcGIS [duplicate]

ArcGIS has a reclassify tool that works with Raster files only. Is it possible to have the same functionality for a vector file? On the basis of one of the fields in a feature class, the tool ...
2
votes
0answers
220 views

Overlay Shapefile onto Geotiff

I have a Geotiff map and I want to overlay a Shapefile onto it. Ideally I want to specify a 'nice' style for the polygons e.g. have them opaque (for now all polygons should be the same). I want to ...
1
vote
0answers
162 views

Qgis 1.9 on Ubuntu 12.04 constant crashes as soon as I try to do anything

I can get a google earth physical layer open but as soon as I try to open a vector file it crashes-just goes away-no error message, nothing
10
votes
2answers
721 views

How do I describe a special relationship between connected edges?

Consider this simple situation where three edges connect at a node: I’d like to write a succinct and clear description of the relationship between A and B in such a way that differentiates it from ...
3
votes
1answer
1k views

adding polygon to database in openlayers

I want to add a polygon to the database. I used the following code. The problem is that I am to able to save in database. Whatever polygon I draw on map it gets save temporary and as soon as I reload ...
2
votes
1answer
1k views

LoadingPanel - Waiting for Vector & WFS loading

I have vector layer with WFS protocol. and because I have a huge amount of data, there is a while before features loaded on the map. So i need to tell user to wait a moment until they load by ...
1
vote
1answer
1k views

Openlayers - Vector Layer - Combining hide/show features using style property

I am trying to filter vector layer features according to their attributes. I have 4 check boxes: type_1, type_2, shape_1 and shape_2 Note that I am using Extjs for interface. at beginning I could ...
4
votes
4answers
2k views

How to sum raster image values with vector overlay

I'm new to this and haven't been able to figure out how to do this on my own. I have two files: a raster image of land use data and a vector-based shapefile of my territories. The raster image has ...
1
vote
1answer
111 views

Are There Any OpenSource GIS Software Programs With an “Interactive” Rotate Feature Option?

![Rotate feature option][1]Sorry if the question is too simple, but are there any open source GIS software programs available with an interactive "Rotate vector feature" option? Eg : ArcGIS has it ...
1
vote
1answer
297 views

BBOX strategy to load all features?

Since I have no way, other than using BBOX strategy with my vector layer + wfs protocol Is it required to use BBOX strategy with WFS protocol in OpenLayers? I'm wondering if there is a way to force ...
3
votes
1answer
465 views

MapServer Symbol with Two Colours

I'd like to symbolise a point dataset with a square (or circle) using two colours. This is useful for displaying values collected on both sides of a road (for example). I created two symbols, a ...
3
votes
1answer
605 views

Measurement units not returned in project CRS units

I am attempting to calculate area of country polygons using the field calculator. The layer in question is unprojected WGS84, but I have set the project CRS to World Equidistant Cylindrical (Sphere),...
1
vote
2answers
1k views

Is it required to use BBOX strategy with WFS protocol in OpenLayers?

is it a must to use BBOX strategy with WFS protocol in Vector layers ? I cannot display this layer without BBOX strategy: vLayer = new OpenLayers.Layer.Vector("Test", { styleMap: new ...
1
vote
2answers
673 views

Why is my shapefile not visible in Tilemill?

I have 3 layers of vectors (shapefiles) that I've loaded into Tilemill. However, nothing is visible in Tilemill. What am I doing wrong, and what should I do to get my map to show up? This is part ...
1
vote
3answers
4k views

How to show vector features in OpenLayers after hiding it?

I did change some vector features style (through check-boxes) using style property : var features = layer.features; for( var i = 0; i < features.length; i++ ) { //features[i].style = { ...
2
votes
1answer
3k views

How to change an OpenLayers vector layer from automatic to manual get request?

I have a web server that returns a FeatureCollection in JSON. I was getting this using the code below, which works perfectly: var vectorLayer = new OpenLayers.Layer.Vector('geoJSON', { strategies:...
3
votes
2answers
232 views

Dissolve column based on attribute in another column

I have 3 columns within a polygon layer I'm working with. Column 1 = Landowner, 3 different values Column 2 = Parcel, N different values Column 3 = Management type, 5 different values I would like ...
1
vote
2answers
299 views

How to apply v.transform on a set of vector layers (GRASS 6.4)?

I have 64 vector layers, all of them must be warped using the v.transform module; the pointsfile is the same for all vectors. How can I apply the transformation recursively to all layers? I'm not ...
4
votes
4answers
9k views

Measuring the distance between lines and points in QGIS

Using QGIS - I have a vector of fault lines. I have point data in the form of a csv which I have also loaded into QGIS. I need to know how far each point is from the nearest fault line then enter ...
3
votes
1answer
946 views

OpenLayers 2.12 + click handler + get the name of the vector

Basically, I add several vector layers (KML content got from jQuery GET) in this way: var layer1Vector= new OpenLayers.Layer.Vector('activeInfo'); layer1Vector.addFeatures(featuresLayer1Vector); mp....
1
vote
2answers
595 views

How to print a vector layer over Google map? “Physical Printing”

I use Geoserver, Openlayers, Extjs and GeoExt to build an app. I am trying to get vector layer on Google map printed with pop up a Print dialog, I tried : var targetElement = Ext.getCmp('mapPanel'); ...
3
votes
2answers
121 views

vector layer, no more editing is allowed

I have a polygon vector layer with already 529 objects but without any attributes so far and now I get the message that shapefiles without attributes are treated as write protected. What can I do to ...
1
vote
1answer
148 views

How to extend lines in Grass

I have a set of vector lines in grass which I need to convert into polygons. However, because of bad base data, the polygons don't always close. To fix this, I need to extend each disjointed line by ...
3
votes
2answers
3k views

Dynamically adding features with cluster strategy

I am trying to dynamically add features to a vector layer, and use cluster strategy to group those features accordingly. I am able to do this for the first set of data that gets loaded on the map. ...
17
votes
8answers
12k views

How to georeference a vector layer with control points?

I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
6
votes
1answer
1k views

Where can I find European City boundary data?

Does anyone know any sources for free European city boundary data? Thanks!