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

learn more… | top users | synonyms (1)

1
vote
1answer
148 views

How to detect openlayers feature vector intersections in any zoom level?

I have to change vector feature when vectors are intersect each other, I wrote the following code: // check all vectors features (arrows) in the current layer for intersections allArrowFeatures = ...
4
votes
1answer
89 views

Comparison of vector file formats

Does anyone know of a chart or table that would explain the benefits / shortcomings of the different vector file formats, eg. .shp, .gml, .kml, .gdb. It seems that ESRI shape is still quite prolific, ...
0
votes
1answer
67 views

How do i rescale feature classes of different scales for intersect analysis?

before I intersect 2 feature classes of different scales (e.g. 1:200,000 soil map and 1:25,000 land use map), should I rescale them like how u would resample raster datasets to the same resolution ...
0
votes
0answers
54 views

QGis road graph plugin can't be configured

I am using QGIS 2.2.0 Valimera on a Windows 7 ultimate 64 bit version. I want to calculate the shortest path on a line layer (OSM street layer) with the road graph plugin. The settings option to ...
0
votes
1answer
147 views

Difference in vector / raster area measurements

I'm comparing raster and vector distance zones. So I created a line, calculated the Euclidean distance, and reclassified the raster to two zones: from 0-10m and 10-20m. To compare it with vector ...
0
votes
1answer
105 views

how can we convert vector data to raster data in geotools

In my project iam able to open and save shape file. I want to convert this vector data to image format as a tiffimage plese help me the procedure to do the same.
0
votes
0answers
47 views

rasterize table polygon postgis 2.1

I would like to rasterize a postgis 2.1 polygon table, but I don't undersand how to create the SQL function syntax for ST_AsRaster. My vector table has 3 fields: gid, recharge, and geom. The SQL ...
1
vote
0answers
16 views

QGIS merge selected features tool malfunctions due to geometrical errors [duplicate]

The issue occurs using the 'Merge Selected Features' tool when there are geometrical errors in the features (not all are picked up by the 'check geometrical validity' tool). In 2.2 Valmeria, the ...
0
votes
0answers
98 views

OpenLayers DrawFeature Vector parameters

"Dear all, in my map application I am using a Vector/DrawFeature approach like this: var refresh = new OpenLayers.Strategy.Refresh({force: true, active: true}); var proj = "EPSG:900913"; var ...
0
votes
0answers
113 views

gdal read whole geotif band into vector

i have another c++ GDAL question. I try to read alle elevation data out of an GeoTiff file into a c++ vector so that i can get elevation at x,y like this: vector[x][y]. I also like to use this data to ...
0
votes
0answers
100 views

OpenLayers.Layer.Vector and BBOX

i configured this on my client page var kmlLayer = new OpenLayers.Layer.Vector("KML" ,{ strategies: [new OpenLayers.Strategy.Fixed(), new OpenLayers.Strategy.BBOX()], protocol: new ...
0
votes
0answers
9 views

dividing a line vector road in QGIS [duplicate]

how do I divide a road, say of 10 km length which I have digitized from Google Earth, into regular intervals of 1 km? The roads are not straight and have been digitized around ponds in human dominated ...
1
vote
1answer
46 views

Load a vector only for a specific zoom

I have a map with 4-5 vectors. At the beginning, the loading of the web application is very very slow, but was fine before I've added a new one vector, which is used only for little zooms. Is it ...
0
votes
0answers
57 views

The difference when querying raster and vector

Hi everyone I have two queries have the same meaning but different results. Why is there a difference?. Queries are true? query 1: query 2:
0
votes
1answer
53 views

How to put marker on vector layer with lat/lon on QGIS [duplicate]

I have a vector layer, and bunch of lat/lon values. I want to put markers on the vector layer for each lat/lon pair. I have never used QGis, would you help with it. thanks.
0
votes
0answers
19 views

Is it possible to add XML data as DataStore inside GeoServer?

I have multi-polygon with feature information in xml Some kind like below: <polygon> <color>red</color> <coordinates> 125.94517419942997,37.080000000100085 ...
0
votes
3answers
131 views

ArcMap Change Values Greater than Standard Deviation of Mean to Zero

I have a feature class with greater than 1000 features and I would like to change all values greater than 2 Standard Deviations to a Zero. Seems like I could possibly use Field Calculator for ...
0
votes
1answer
121 views

How to edit a vector layer extent?

I'm working on QGIS 2.2, and I would like to make a vector layer extent bigger (thus the clip option is not suitable) to match exactly my mask layer extent. I would like the new added area to be ...
1
vote
2answers
122 views

How to convert Direction Of Travel OSM vectors from a “system” to another?

I have a painful doubt according Direction of Travel (DOT) vectors in OSM data. I'm using ArcGIS10, and a OSM data shapefile. I have a OSM road layer, that has many "Both ways" vectors and many "One ...
1
vote
1answer
143 views

label vector line with multiple attributes in QGIS

I have a line with two 2 attributes. I would like to display both information along with the line in frequent interval, one info above the line and the other is below the line. I am working in QGIS ...
0
votes
1answer
111 views

Issue clipping vector file with QGIS (geoprocessing tools)

I am trying to clip wind speed data (.shp format) to Canada's provincial boundaries (also .shp format). I am using the clip feature in vector > geoprocessing tools. For some reason the function always ...
0
votes
0answers
145 views

PyQgis: How can I “append” features to a Vector Layer instead of “stacking” them?

As I read data from a text file and add points to a QgsVectorLayer (as well as related attributes), each new record gets 'stacked' on top of the previous one in the Attribute Table (and within the ...
0
votes
1answer
88 views

TileStache can't find spatial ref for vector layer

I have a query based vector layer in my TileStache configuration, and it's hitting this block of code if layer.GetSpatialRef() is None and driver_name != 'SQLite': raise KnownUnknown('Couldn\'t ...
5
votes
4answers
1k views

Split Lines at Intersection of Other Lines

I have two line layers (roads and contours in this example) and I would like to split the roads layer every time it crosses/intersects a feature on the contour layer. I can't seem to find a tool that ...
1
vote
1answer
313 views

Iterating over selected features in QGIS Processing

I used to be able to iterate over selected features using the following script in v2.0. import processing features = processing.getfeatures(layer) for feature in features: #Do whatever you need ...
0
votes
0answers
61 views

How to set pen width of rivers based on scalerank attribute (QGis 2.2)?

I have a Vectorlayer from NaturalEarth.com with riverdata that includes "scalerank" information. Now I want to display these with different pen width based on their scalerank, like this: scalerank 1 ...
1
vote
0answers
47 views

MapServer: UV_ANGLE not calculated correctly?

I'm following this example given on the MapServer website. But the angle of the raster is incorrect: The data is my grib files is correct, and should not yield these perfect opposite directions. ...
1
vote
2answers
240 views

How to align/georeference distorted vector layers in QGIS?

I've got a shapefile which has been digitized from a strongly distorted historical map, and would like to align it as nicely as possible to another precise shapefile layer. The transformation must ...
3
votes
2answers
146 views

Add rectangle polygon

I have a polygon shapefile layer. I want to add a rectangle polygon (just like in Arcmap), and another one using the previous polygon edge. I need it to be accurate, my hands do not meet this ...
0
votes
0answers
45 views

Finding normal vector to DEM

I have a DEM grid (Surfer, or whatever format) and an x,y position on that grid. I also have a series of depths from the surface. I need to calculate, for each depth, the x,y,z of the projected ...
1
vote
1answer
177 views

How to project vector data in QGIS 2.2?

I'm running QGIS 2.2 on Ubuntu 14.04. Trying to project data gives me a hard time right now. The last time I did that was in 2.0 and I basically changed the projection by saving the data as a new ...
0
votes
1answer
131 views

Produce line from components, length and angle

I have a CSV file, or point data file which includes information about line vectors which I have previously calculated. This file is outlined as such: x, y, dx, dy, length, angle(east_from_north) ...
1
vote
0answers
68 views

Method for identifying upstream segments

I need to add to the attribute table of a stream network layer a column that can identify all upstream segments that contribute to the segment (for each segment). My best idea at the moment is to ...
3
votes
2answers
242 views

Is it possible to add house numbers using the Mapbox Street Vector Tiles source in Tilemill2?

Title says it all. Does anyony know if the house number is included in Mapbox’ vector tiles, and if so how to access it for styling? Thanks for any advice!
2
votes
1answer
56 views

unable to draw polygon without attribute window popping up?

I'm fairly new to QGIS and an trying to draw a polygon via "Adding Feature". When I make the first left click to start, the attribute window pops up instead of letting me continue on with additional ...
1
vote
0answers
342 views

How to automatically vectorize data from WMS?

I am facing a problem, when I have a historic map in WMS layer and I need to get buildings from this map (approx. 2000) to vector layer fo further analysis. Is there any workflow how to ...
1
vote
2answers
536 views

Openlayers: Get Start and End Points of Line Vector Features

I'm trying hard to get start and end of lines from a vector. The line vector is loaded from a kml-file. For now, I tried to iterate over features in the vector and grab the start point and put it in a ...
2
votes
2answers
179 views

Converted GPX file has null values in open attributes

I'm an absolute newbie but I think I'm doing this right. I've got a bunch of .fit files from my garmin. I can use GPSBabel to manually convert these to GPX XML and the map looks fine after the ...
0
votes
1answer
177 views

Get lat/lon points from image pixels

I need to build an application with the following requirement: shows a map .png picture to user. then, users select several points around the map (I can get the x/y pixels from each point) based on ...
1
vote
1answer
439 views

How to indicate flow of a watershed feature?

While tracing and digitizing rivers, streams, rivulets, etc., is it possible to indicate the direction/flow in the shapefile on QGIS? I'd like to avoid using map labels. Ideally, when done tracing, I ...
2
votes
0answers
153 views

Is there a decent algorithm in QGIS Process Modeller to create a grid?

I am using Process Modeller to automate merging several vector layers and then creating a grid to cover the extent of the merged layer. There are functions which already exist which are not listed in ...
0
votes
1answer
147 views

get and change style property openlayers

i need to change the property of some style after its created, and i need to change it with knowing only the string of the property name. i am getting string like "fillColor" and value like "blue", ...
1
vote
1answer
120 views

QGIS: Line to polygon conversion

Currently we are working in a geological project..in which all the Contacts, Linear & some other geological features have to be captured. The thing is most of the features have to be Captured as ...
1
vote
1answer
117 views

QGIS batch affine transformations

I have multiple polygon and line shapefiles on which I would like to apply a translation so I was wondering if it is possible to batch process them (maybe with graphic modeler ?) or do I have to ...
1
vote
1answer
123 views

How to Warp vector file based on control points in ArcMap?

I have a very comprehensive polyline file that, when compared with imagery, is obviously offset by a few hundred meters, but the offset varies from one area to another. It would be easy for me to ...
0
votes
1answer
59 views

Producing gradients between shapefiles and using original boundarys as isoclines (lines)

to produce a bathmertical map of a river bed I draw shapefiles showing the different depths based on satellite images taken during different tidal levels (deepest, 2nd deepest, 3rd deepest, shore ...
0
votes
2answers
60 views

Rasterization in different bands

I have a set of vector based shape files, representing different types of ground coverage in a city (for ex: roads, buildings, open field,...). For the algorithm that I want to run on it, I need just ...
0
votes
1answer
67 views

Select all features close to clicked

I have an openlayers map with more then 20000 features not in wms, only in vector layer. I have a control to select features, but sometimes it's really hard to select, specially the lines, and also ...
1
vote
2answers
52 views

Adding time stamps to animation slides with OSS tools

I would like to create an animation with time lapse values printed on the PNG file. For this purpose I have created in QGIS a vector layer that stores timestamp and temperature value pairs for various ...
0
votes
0answers
48 views

How to raster vector- and shape-files correctly

does anybody know how to convert vector- and shape-files correctly? Doesn't work with tab Raster/convert/vector to shape files. The output always contains strange input-data (wrong and strange ...