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

learn more… | top users | synonyms

0
votes
0answers
11 views

Openlayers 3 Vector Layer error

Getting error from Firebug on running this code: TypeError: f is null (ol.js 409) The map is showing up properly. After adding the line : this.map.addLayer(vectorLayer); I get the mentioned ...
2
votes
1answer
33 views

How can I properly clip a shape file to get the section I want using QGIS?

I've tried the other "how to clip" instructions here, but consistently get an empty shapefile from the clip. QGIS Version: 2.4.0-Chugiak OS: MacOS 10.10 Input File: San Diego (South Map) 1999 Topo ...
3
votes
0answers
34 views

Still no fictional geographies in some GIS format? [duplicate]

I'm actually reviving Are any fictional worlds available in some GIS format? from 2011 as I'm hoping the Game of Thrones fever has boosted people's interest in drawing fictitious countries in some GIS ...
0
votes
1answer
30 views

ArcGIS Linear referencing tools duplicating records and erroneous measures

I am using LocateFeaturesAlongRoutes_lr, MakeRouteEventLayer_lr, and MakeRouteEventLayer_lr to combine three different overlays into one based on this question I asked month ago. The code is as ...
0
votes
0answers
17 views

Exporting QGIS Raster/Vector layers into one PDF? [duplicate]

I have seen a similiar post to this a while back (Is it possible to export GeoPDF from QGIS?), and thought I would try asking it again to see if there has been any improvement or new knowledge on ...
0
votes
1answer
23 views

OpenLayers 3 drag and drop interaction with custom projection problem

I am trying to add layers by using drag and drop interaction. Here is jsfiddle.http://jsfiddle.net/anuket/umdwzn10/ It almost works, I mean new layer is added, but for Geometry it gives "NaN". Geojson ...
0
votes
1answer
16 views

Add Marker on the polygons' centre using Openlayers?

I have written a code to draw polygon from the WKT format.Now I need to add the marker at its centre. In the following code I have passed the centre and shape in WKT format(extracted from database). ...
0
votes
0answers
9 views

tilestache - bounding box - bbox

I am trying to configure Tilestache in a way that I could be able to ask the Postgis server from client... with bounding box... and in response I would like to get geojson. I would like to try with ...
1
vote
3answers
27 views

Checking for proper administrative location?

I would like to ask you about one case. I have two vector layers. The first layer contains points. This layer has a lot of fields with data like name of district, voivodeship etc. The second layer ...
-1
votes
0answers
18 views

how to move point(points) by a vector in Qgis [closed]

Can anybody help me with the problem of moving the point by a vector in Qgis. I have no idea how to do that...
1
vote
2answers
50 views

Openlayers 3 detect the layer by mouse move

I wanna do something like this ; Openlayers 3 Vector Layer Example But I don't want to one layer, 3 or more layer on the map and get feature like the example. How can I seperate the layer ...
0
votes
0answers
12 views

How to get feature on vector layer in Openlayers 3?

I'm try to get feature of a vector layer, but I'll have 3 or more Vector layer. When I click the map, I didn't get the feature. My vector layer definition; var vectorAltAlan = new ol.layer.Vector({ ...
2
votes
1answer
68 views

Opening shape file in OpenWind

In QGIS I have used the OpenLayers plugin to locate a wind farm. I have then used the add feature function to place a point at the base of 7 turbines. I have saved the shape file as an ESRI Shapefile. ...
3
votes
2answers
83 views

Interpolation on set of points in QGIS

Is it possible to perform Interpolation in QGIS with input as a vector layer which has a set of points collected following a specified path?
2
votes
1answer
65 views

Openlayers creating RegularPolygon that is too small then return false

sorry my English very pool and just can type few word... My project has to use imagelayer to show map , it can create box on map, box will be a area to put device marker on top , but when the box ...
3
votes
1answer
54 views

How to find mean coordinates of a cluster of points from a point layer in QGIS?

I have a set of coordinate points. The points are distributed in such a way that some points are clustered around a specific area. There is an option to find out mean coordinates(s) of the whole point ...
2
votes
1answer
43 views

Non-default icon of OpenLayers Vector Feature

thats propably some minor problem, but i have deadline above my head and i can't get any clue whats wrong with my code, so I decided to come here for help. Im changing from markers to vector layer and ...
1
vote
1answer
28 views

Pyqgis How to merge all the active layers? or layers in the registry?

I was wondering if there is a way to merge multiple layers. I actually would like to merge all layers in the registry programmatically, all of them are point layers and have the same fields. I have ...
1
vote
0answers
33 views

Help embedding Openlayers map in Eclipse BIRT report

i have this code, it displays the zoom buttons only but it doesnt display my map. what could be the problem? <html> <head> <script ...
4
votes
1answer
52 views

Removing some bands or layers from a tiff using gdal

I have been working on a multiband raster image. It is a pix image. I need to just work on the 26 bands that are raster files and not the 4 bitmaps that are are also included in the pix image. I could ...
2
votes
1answer
18 views

How to style a Vector layer in QGIS using a numeral of an attribute

I have a simple vector layer in QGIS that I would like to style with numerals based on the ID attribute. For instance, point with ID 1 will show up as the numeral 1. Is this possible with default ...
3
votes
1answer
25 views

How to clip vector data from raster data?

I have two files: National land cover data (raster) HUC 8 (vector files of watersheds) Both are national scale but the HUC 8 takes up a larger geographic region than the raster set so I want ...
1
vote
1answer
42 views

How to calculate raster data in vector area?

I have two layers. One is a layer of USA ecoregions (there are 9 ecoregions). It is not raster (so it's vector?). The other layer is the National Land Use Data set (so I know where there's ...
2
votes
1answer
26 views

How to make my PostGIS vector layer in QGIS visible?

I have loaded a shp file (simple polygon with one entry) into PostgreSQL 9.3 (with extention PostGIS v2.1.3). I now want to load this layer into QGIS (v2.2.0 Valmeira) via the "load Postgis layer) ...
0
votes
1answer
19 views

Why isn't Mapbox viz styled how it is in projects?

When using the Mapbox "Projects" editor, I'm finding the previews do not style the same as the end results on the page. Is anyone experiencing similarly? In Projects, my map looks like on the left. ...
1
vote
1answer
45 views

Why doesn't my Mapbox + Leaflet viz look retina-friendly?

This is probably a very simple question but it's not clear to me. The Mapbox docs say: When you create a project from the editor, Retina (high resolution) tiles are automatically used on ...
2
votes
0answers
53 views

How to merge overlapping and duplicate lines from vector layer to one single line?

I used the "polygone to line" tool from QGis, to get a line-layer from this polygon-layer: unfortunatly this causes overlapping and duplicate lines, after I broke the qgis-export via GRASS into ...
0
votes
0answers
9 views

How to re'display feature after using my 'filterFeature()' function?

The code below is a function that hides a certain region in the map. The problem is that I can't redisplay it. I've tried by removing this line: wfs2.features[i].style = {visibility:'hidden'}; but ...
1
vote
1answer
24 views

Split linear features from non-linear in the same feature class

I have a vector layer (Originally a raster layer) of well sites, cut blocks, and seismic lines all lumped together in the same feature class and no distinguishing attribute between them. I want to ...
3
votes
1answer
31 views

How to change the color of vector layer of QGIS in api?

I'm using QGIS-2.4.0 api to develop app in C++. When I add a vector layer to the app, the vector map's color would be random. I used QgsFeatureRendererV2 to get the geometry type of the layer, my ...
1
vote
1answer
42 views

Adding vector layer over WMS using OpenLayers?

I am trying to add vector layer to my map from a GeoJSON file stored in the same directory as my maps index.html. However It wont work. Is there something wrong with my syntax? My code: ...
1
vote
0answers
17 views

NVS Vector Stream Order Tool gives 000816 Tool is Not Valid in ArcGIS 10.2 for Desktop? [duplicate]

I am trying to use the NVS vector stream order tool (designed for ArcGIS 10.0) in ArcGIS 10.2. The tool is available for free. Whenever I attempt to operate the tool I am met with the error message: ...
1
vote
1answer
31 views

QGIS vector layers do not match DEM?

I have a DEM (saved as a .tif) and, using QGIS, I want to clip the DEM using a vector mask. The function will not work. Am I missing critical step?
1
vote
1answer
66 views

In OpenLayers 3, how do I draw an extent as a LinearRect?

In OpenLayers 2, this was an easy feat. I was able to simply instantiate a LinearRect given the coordinates of my BoundingBox, and then add the LinearRect as a feature to a vector layer I had added to ...
1
vote
0answers
19 views

Zoom to a vector feature in a vector layer

I am using OpenLayers+GeoServer and I have a vector layer in a map with some features I would like to make a zoom and show the map centered in one of these features that I can get by ID. How can I do ...
2
votes
0answers
29 views

Extracting gridded data from polygon vector layer

So I've spent a few enjoyable (and frustrating) days teaching myself the basics of QGIS and fiddling around to try get some data output I need to drive some calculations. Sadly I'm not having any joy ...
2
votes
2answers
35 views

Assigning a vector to a field in feature class (UpdateCursor)

I don't know if my mistake is of a general nature. I come from R where it is very easy to store a vector in a matrix column. So now I (new to coding with arcpy) am desperately trying to do the same ...
1
vote
1answer
42 views

How can I transform raster to vector in ArcGIS?

I want to convert from raster data to vector dataset using ArcGIS. Raster data consists of pixels and center of z values. Vector data sets consist of points, lines and polygons and x,y values. When I ...
4
votes
3answers
126 views

Can you recycle shp and shx files in a shapefile vector grid where only dbf data changes?

I'm periodically getting data from an external partner that is bound to a very large vector grid in shapefile format. The grid itself sits at around 400~ megabytes, but the only data that ever changes ...
5
votes
1answer
150 views

Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?

I created an event layer using the MAKE ROUTE EVENT LAYER tool based on anticipated scheduled events. The road layer which is the base layer is intact. What I would like to achieve is combine layer ...
1
vote
1answer
25 views

3D rubber sheeting using ground control points

I have 3d lines that I would like to rubber sheet or rectify in 3D (including z rectification). I used ogr2ogr with -gcp, however all the vertex of a polyline were set to a single elevation, and since ...
1
vote
1answer
26 views

Preserve polygon boundaries when vectorizing a raster according to a polygon vector

I have a raster which I clip by some polygons and then convert to polygon. I would like to obtain the same number of polygons in both my vector files. The problem is that some areas in the vector ...
3
votes
1answer
59 views

Calculating distances from points to the centre of cells

I am using QGIS 1.8.0 (using older version because I need the Qmarxan plugin which is not available for 2.4.0). I have a study area that has a vector laying of "planning units", or cells over the top ...
1
vote
0answers
66 views

OpenLayers - Add points at vertices of line while drawing line

I would like to create points while I draw a line on my map in OpenLayers. That is, at each vertices of a line and at the end points there is a shape like a square, circle, or diamond. I have this ...
1
vote
0answers
22 views

Openlayers text symbology is not being shown

I have a Vector Layer in a .json file: { "type" : "FeatureCollection", "features": [ { "type": "Feature", "properties": { "Station_Id":107, "NAME":"ARDEBIL(F)","ELEVATION":"1314.3"}, ...
1
vote
0answers
35 views

QGIS polygon areas inside a polygon

I'm having hard time doing the following analysis in QGIS: I have watershed polygons with individual IDs. Then I have four different shape files, each having different land use polygons. I would ...
1
vote
0answers
40 views

Clipping between features within a single vector?

Is it possible (via the Qgis API and friends), to clip polygonal features within a single vector layer? The hope is to accomplish this without having to duplicate the feature into a new layer. ...
3
votes
2answers
76 views

Merging raster and vector not working

I have 1 vector layer (counties) and 1 raster layer (population density). I have tried merging these two, so that I can examine population density within a county, but I have had no luck. It just ...
1
vote
1answer
49 views

Is there a PostGIS function to get a tangent and normal line?

I'm looking for a function that will return a tangent (and normal) for a LINESTRING in PostGIS. I think this is the 3rd time I've come across the need for this function and everytime, I end porting ...
2
votes
1answer
78 views

Update Attribute based on spatial location

I want to spatially (Spatial Join) update few fields, not all, from another feature class. Is there any way to select and update few fields instead of all the fields from the other layer and ...