Tagged Questions

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

learn more… | top users | synonyms (1)

3
votes
1answer
71 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
59 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
34 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
86 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
46 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
41 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 ...
0
votes
0answers
15 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
65 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
56 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
65 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
32 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
36 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
37 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
16 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
80 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
45 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
73 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
71 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
75 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
88 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
49 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 ...
3
votes
2answers
444 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
130 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
37 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 ...
0
votes
0answers
22 views

Changing tracks to vectors in a grid

This is a version of a question that I posted on the GRASS list, but I didn't get any suggestions there. I would like to overlay a grid (cell size about 500 m x 500m) over an animal track created from ...
1
vote
0answers
37 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
111 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 ...
0
votes
0answers
17 views

Mapserver dynamically line

I'm a beginner for GIS especially for Web GIS that's implementation to mapsever. I created a project that I've uploaded at dedyfuadi.web.id . For the map features, I made by QGIS 2.0 and for ...
3
votes
2answers
120 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
47 views

Assign a particular projection for un-projected raster/vector files in a folder/sub-folders

We are having 1000's of raster images/vector (shp,tab,dxf) files in a folder/sub folders. Is it possible to check the projection of those and if it is an un-projected one? WGS 1984 has to be ...
0
votes
0answers
21 views

Is it possible to sort by Layer Name when adding vector data from file geodatabase in QGIS?

Is it possible to order the data alphabetically when adding data from a file geodatabase in the Select vector layers to add... window in QGIS? It is ordered by the Layer ID number, with no way to sort ...
0
votes
0answers
33 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
109 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
85 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
55 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
164 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
39 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
95 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 ...
0
votes
0answers
22 views

Statistics on matching point layers ignoring nodata values in QGIS

I have a large area and a street crossing this area. Both are vector point layers in QGIS. The large area contains -99 as NoData value. I already created the intersection of both as a new layer. I ...
1
vote
2answers
336 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
104 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
96 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
163 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
107 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
99 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
91 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
74 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
53 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
46 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 ...