A coordinate-based data model that represents geographic features as points, lines, and polygons.
1
vote
1answer
52 views
How to abort a layer event in Openlayers
I have a problem ( How to stop features to redraw unwillingly in OpenLayers ) that might be solved by aborting the beforefeatureremoved or beforefeaturesremoved event.
What I would like to to is to ...
2
votes
1answer
50 views
How to stop features to redraw unwillingly in OpenLayers
I have a problem where when editing features from a wfs vector layer. After some changes are made to the geometry, the feature redraws itself and the changes are lost.
Usually the problem occurs more ...
1
vote
0answers
45 views
Add regular points to each polygon in QGIS [duplicate]
Possible Duplicate:
assign and move centroids to their polygons
I'm trying to find out a method to define a unique ID based on specific coordinates for each polygon of a shp. The problem is ...
1
vote
1answer
35 views
Stamp out and transfer values from one overlayed vector layer to another
I have a vector layer with administrative boundaries and another vector layer with postal code boundaries, which are more precise/smaller entities/objects.
I now want to transmit the values of one ...
0
votes
0answers
61 views
OpenLayers move each vector feature of layer by constant pixels away from center
I am stuffing a lot of features, each from a different layer, onto exactly the same point, so the visual result is somewhat confusing and it is necessary that some graphics have some offset of ...
5
votes
1answer
176 views
How to determine optimal windmill placement to maximize production?
How can I add automatically the maximum number of points (dots) with 6m diameter and 100m distance each point from other into an area. The dots will present the windmill base (6m) and I want the ...
2
votes
1answer
242 views
How to use a sld file with Openlayers using OSM data?
My app, made with openlayers, displays building data called from overpass api.
var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
2
votes
1answer
68 views
How to best execute the same query on many different vector layers?
I have some vector layers in my project and I need to separate the polygones by area (I need a copy of all shapes > 2ha). I know how to do this for each separate layer (query) but is the a tool to do ...
2
votes
2answers
148 views
Creating seperate layers out of one big polygon shape by using attributes
I try to explain may problem. I have a big polygon shape (> 200 fields). I have the owners of these fields in a column. I need the seperated shapes for each owner. Is there a tool to do that?
Is it ...
2
votes
2answers
74 views
How to 'trace' areas from the layer below?
I have some Ordnance Survey vector data for my local area. I want to create a new layer and on it 'trace' some of the areas, fields, verges etc from the layer below with the intention of then ...
2
votes
0answers
189 views
how to search a vector/wfs layer
I'm using Geoserver/PostGIS/openLayers
I've succesfully set a vector layer. And now I'm trying to create a search functionality.
But something goes wrong.
First I set up the layer and add some basic ...
1
vote
1answer
71 views
Vector title attribute can't display?
var vectormap = new OpenLayers.Layer.Vector('Overlay',
{
styleMap: new OpenLayers.StyleMap(
{
"default": new OpenLayers.Style({
...
4
votes
1answer
63 views
Reduce number of vector field arrows in qgis
OK, now that I have figured out how to get my vector fields in qgis, I can't figure out how to reduce the number of vector arrows on the map. Is there a setting for how many vectors are sampled? ...
1
vote
1answer
57 views
How do I create rendered vector field in qgis
Perhaps I am misunderstanding the "vector field renderer" and "VectFieldCalc" plugins, but I have no idea how to make a vector field of arrows, with directions and magnitude. I have the data loaded ...
1
vote
1answer
70 views
Set certain amount of pixels to 1 inside of a polygon (GRASS)
I have a rather coarse vector map with polygons and want to calculate a (sufficiently) finer raster map defined by spatial extension and resolution. Every polygon of the vector map has a value ...
4
votes
3answers
83 views
How to subset X number of features from Shape file in QGIS
I'm looking for a means to take a rather large Shape file and split it out into separate, smaller shapefiles based on number of features. So for example, if I have a file with 1 million features, ...
2
votes
0answers
88 views
How to Create a Vector Field from Separate u and v Data Files?
I am using Quantum GIS and trying to create a vector field using data from two separate netcdfs. One contains the u data, one contains the v data. Can this be done, and if so, how? Thanks.
Jason
4
votes
1answer
147 views
Converting polygon values to a vector grid using PostGIS
What is the best way of converting a value from irregularly shaped poylgons to a polygon grid using PostGIS? I have a set of polygons that look like this:
and I would like to overlay a grid on ...
5
votes
1answer
91 views
GDAL/OGR Determine if dataset is raster or vector
I am writing a script using the GDAL/OGR Python bindings and it is possible that the user may provide a raster dataset or a vector dataset as input. If the user provides a vector dataset, the script ...
2
votes
1answer
84 views
How to calculate the percentage of a Line through Polygons?
I have a straight line which runs through a bunch of polygons, which don't have spacing between them (border to border).
Is there an easy way with QGIS to calculate which polygons it passes and by ...
5
votes
0answers
91 views
Moving points onto lines (~neighborhood)
I do have two vector layer, of which
one is a point layer based on "events" by remote sensing
and the second one is a line layer from local research.
In my case these are earthquakes and tectonic ...
2
votes
0answers
64 views
problem with saving to esri file
I was using Wroclaw 1.7/GDAL 1.9(earlier release)/Grass 6.4/GSL 1.15-2 and started getting the following message when saving any item to esri format.
"Export to vector file failed.
Error: creation of ...
2
votes
2answers
85 views
restrict quantity of features displayed with OpenLayers
I have 14000 point vector features in the map. Displaying them all is very slow (renders at like 1 fps in chrome).
How can I tell Openlayers to only display a subset of them, for example features ...
2
votes
1answer
84 views
Error when importing vector layer into GRASS
I am trying to import a vector layer into GRASS, but I keep receiving the same error. The values in the vector layer are important because I would like to use them to create a heatmap. What could I ...
4
votes
1answer
171 views
Distance Matrix tool in QGIS. How to get result in metric? [closed]
I'm trying to calculate the distance between points in layer with distance matrix tool. And keep getting strange results no matter what. Like this
MASTER ------------SLAVE ---------------- DISTANCE ...
1
vote
0answers
118 views
How to update polygon field with point count for multiple rows? (Temporal point-in-polygon)
I have a shapefile with several regions. It contains basic info like ID, Code, Name1, Name2, etc.
It is overlaid with a shapefile of points (nearly 200k). Each point represents an event with a type ...
1
vote
1answer
202 views
Intersection between two SpatialPolygonsDataFrame using gIntersection function in R
I want to select a subset of my map (a SpatialPolygonsDataFrame) to create a new vector map = part of the initial map included inside a given polygon (eventually, inside several polygons).
I have a ...
5
votes
1answer
114 views
Grid Analysis from samples data
I'm trying to analyze set of samples into vector grids in order to generate average data in corresponding grid.I'm working with 50m separated grids but the size of grid may change over time.That's why ...
2
votes
0answers
93 views
how to align vector and raster images? [closed]
How to align vector and raster images?
For example vector images will be static/rigid and raster image will be morphable. For example I manually do initial guess and algorithm must converge to optimal ...
6
votes
1answer
112 views
Fast data representation on the vector layers
I have found an interesting article about how HTML5 supports representation on large datasets.
Article can be found here. In the article it is said that HTML5 and feature simplification can ...
4
votes
2answers
390 views
OpenLayers - Get features inside a polygon
In my OpenLayers map I allow users to draw an ad-hoc polygon vector. Then I need to get all the features from a WFS vector layer that fall within the ad-hoc polygon.
Here is the code I have that ...
0
votes
0answers
17 views
Why isn't there a 'Print Text Option' on the Answers Pages? [closed]
Why isn't there a 'Print Text Option' on the Answers Pages???
I can't remember all the different options and suggestions without printing them out.
It would be "NICE" to be able to have a ...
3
votes
1answer
100 views
Creating a vector based design from a raster database
I have a raster table that I've created using Postgis raster. It has 365 records and the table looks like this:
+-----+------------+---------+------------+
| rid | rast |filename |date_of data|
...
1
vote
0answers
74 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 ...
1
vote
1answer
303 views
QGIS : 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 ...
4
votes
1answer
218 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 ...
1
vote
1answer
112 views
How to export 2d vector graphic from Arcscene?
I need to know how to export 2d vector graphic from ArcScene so I can edit it with illustrator. I've tried changing the options when I export 2D scene as AI file or PDF file, but they always remain as ...
3
votes
3answers
288 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
43 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 ...
2
votes
1answer
139 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
264 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
59 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 ...
1
vote
0answers
49 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
71 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 ...
3
votes
1answer
88 views
Qgis - Vector file disappears when zooming in [closed]
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 ...
4
votes
0answers
76 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
75 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 ...
3
votes
3answers
110 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
244 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 ...





