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

learn more… | top users | synonyms (1)

0
votes
2answers
427 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 ...
0
votes
1answer
675 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
355 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
1answer
327 views

Process to georeference corners of vector file?

I am new to QGIS and trying to wrap my arms around it so please bear with me. I have vector files (DXF) that I need to add back in the georeferencing. They were edited with Illustrator so I loose ...
0
votes
1answer
910 views

Raster and vector layer in the same CRS don't match

While adding multiple raster and vector layers (and setting them all in CRS WGS84) in QGIS 2.2, they don't seem to overlap. Interestingly enough, only raster files overlap between each other, the same ...
0
votes
1answer
380 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
1answer
236 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
1answer
481 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,1,...
0
votes
1answer
427 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 ...
0
votes
1answer
213 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", ...
0
votes
1answer
104 views

why can't i export geometry data from a shapefile?

I saved the layer using "vector save as" box but even when adding GEOMETRY=AS_XY in the layer box, the csv only showed the id and no gemetry data.
0
votes
2answers
2k views

Vector Tile Rendering on iOS

I'm developing an iOS app for displaying my own custom map data (on GeoServer). The SDK I'm using to display my map is route-me (Alpstein fork) as the map viewer for now. route-me supports raster ...
0
votes
1answer
31 views

Multiple vertices after editing giving wrong start and end x, y co-ordinates

I have a small problem which I have been fighting to solve but in vain. Initially I generated some polylines across the river at various locations. I found some of them are smaller in size and not ...
0
votes
2answers
2k views

How to capture contour lines from OSM cycle map as vector?

In QGIS, there is a plugin to insert a OSM cycle map layer, that brings as an image from http. But I can't convert this OSM Plugin layer to a raster image. I can't even imagine how to get the contour ...
0
votes
1answer
21 views

GRASS Add Vector Point

I need to do a viewshed analysis using GRASS. I've got the DEMs loaded; and I simply want to input several (2-4) points (like 41.12345N, 122.34567W from GPS). What is the simplest, most ...
0
votes
2answers
114 views

v.what.rast trouble in GRASS GIS 6.4.2

I'm facing a problem using the v.what.rast comand. I'm trying to update the vector "canali" which represents some streams, with the slope value for every single point of the lines. The slope values ...
0
votes
1answer
225 views

OpenLayers Strategies

Can we use the strategies OpenLayers.Strategy.Fixed and OpenLayers.Strategy.BBOX simulataneously on same vector layer?
0
votes
1answer
146 views

How to edit a table in GRASS?

How do I edit a table in GRASS? When importing a vector into GRASS from QGIS, all the attributes are lost and I need these to continue with my analysis.
0
votes
1answer
172 views

show dwg,as background not as vector

I have some dwg files that i need to show as background on my map, but the DWG is not need to be vector layers, i need only to show them with out the need of using. if i am trying to convert it to ...
0
votes
1answer
233 views

How to draw a custom map on top of base layer

I'm looking for the easiest way to draw a custom layer and export it as a tile cache. Basically what I would like to be able to do is load a base layer, and then draw objects and annotations on top ...
0
votes
1answer
687 views

Selection problem in WMS layer using OpenLayers

I added 4 WMS layers (three polygons and one have point geometry) from GeoServer on my webpage My requirement is: I have to select a single polygon of one wms layer using a mouse click. After the ...
0
votes
1answer
369 views

Different Styles Within Vector Layer

Is there any way to configure OpenLayers styling method? I have a vector layer and I would like to style the features depending on a value of a flag variables, so I can't use rules. Lets say I have ...
0
votes
2answers
902 views

add a vector point on OSM map

I have managed to show Lat and Lon function init() { navigator.geolocation.getCurrentPosition(function(position) { document.getElementById('myloc').innerHTML="Latitude: " + ...
0
votes
1answer
188 views

render kml 10mb KML file cordinates data on OSM map throws stop running script error in OpenLayer.js file

I am trying to render the kml file having 18000 line string data on OSM map using openlayer HTTP strategy. To render OSM map i am using GeoExt.MapPanel and ExtJS 3.4 viewport. The problem is I am ...
0
votes
1answer
236 views

QGis : superimpose 2 rasters georeferenced (adjustment)

I am pretty new in QGis and I encounter the following problem. I have 2 rasters, let's say, "cadaster" and "tranchot". The raster "tranchot" was georeferenced from the raster "cadaster" with QGis. ...
0
votes
1answer
1k views

Add labels above the lines in OpenLayers

How to add labels above the lines? Labels are added as follows: var styleMarkersLabels = new OpenLayers.Style( // стили для надписей узлов { strokeWidth: 2, ...
0
votes
1answer
133 views

How to create a new table for a vector file?

I will use v.db.connect but i want to use a new table, and not an existing table to connect it to. What is the GRASS script for it? Thanks!
0
votes
0answers
3 views

vector histogram tool creates crash dump

every time i try to use the vector histogram tool the whole qgis program crashes. I was usiing 2.8 64 bit then deinstalled and installed 32 bit that didnt work so i reinstalled 2.14 64 bit and the ...
0
votes
0answers
23 views

Allocating a number to groups of polygons ArcGIS

There are 13,466 islands in the Indonesian archipelago. I have a map layer with each island being comprised of multiple district polygons. I would like to give a number to each polygon to associate it ...
0
votes
1answer
20 views

How can a shapefile(while uploading) overlay zoomed to extents in openalyers3

To upload a shapefile the overlay as to zoom into utility(user given) layer. I have seen zoomToExtent in openlayers2 now i want to use openalyers3. While uploading external wms url to wms viwer it is ...
0
votes
0answers
29 views

ESRI Javascript API 3.16 with vector mbtiles file

We have a working WMTS variant with TileStrata and MapProxy, but the new mbtiles are not supported (styling incorrect). Also we have klokantech/tileserver-gl server part running now with correct ...
0
votes
0answers
32 views

Generate points layer at line intersection

I have a line layer that is actually buffer polygons converted to a line layer. I would like to generate points at all places where 3 or more lines intersect. I would settle for places where 2 or more ...
0
votes
0answers
16 views

Loading Data into Vector Layer Polygon

My first layer is a map. My second layer consists of points: bars with GPS coordinates (.cvs file). My third layer consists polygons, creating different area's for the bars. So, the points of the ...
0
votes
0answers
29 views

Create a grid over shapefile then save each section into GeoTIFF

I have a massive shapefile with 200,000+ building polygons. I've loaded these up in ArcGIS. I need to convert this into a usable raster (GeoTIFF) that can then be tiled using MapTiler. My current ...
0
votes
0answers
59 views

Prevent browser freeze when loading lots of GeoJSON features at once

In my OpenLayers 3 (v3.15.1) application, I use to load a larger amount of GeoJSON features on my map via an ol.Vector source and a custom loading fuction. This function receives the GeoJSON data from ...
0
votes
1answer
143 views

OpenLayers 3: does not display all Features of Layer

I'm using openlayers 3 and geoserver. I want to get and display a wfs layer with openlayers. this is source of my layer: vectorSource = new ol.source.Vector({ format: new ol.format....
0
votes
0answers
22 views

Process road polylines to not overlap building polygons

Is anyone aware of a processing tool in Grass or similar which will find segments of polylines which overlap polygons in another dataset and reroute the polyline to avoid the collision? My problem is ...
0
votes
0answers
38 views

TrueType Font Mapping for Symbols in QGIS? [duplicate]

Point object layers include Letters (fonts) that should map to a TTF symbol from the attached TTF file.I need help to setting up the TTF mappings for symbology please. I know we can create new symbol ...
0
votes
0answers
51 views

Drawing vector lines over rivers OpenLayers 3 with OpenStreetMap

I would like to know if drawing vector lines over rivers is possible with OpenLayers 3 with OpenStreetMap and if it is, how can I draw vector line of a said river. For example, I need to get a river ...
0
votes
0answers
16 views

Network analysis in GRASS: dglShortestPath error: Head Node Not Found

I'm working with street networks in GRASS (v.7.0.0) and I'm trying to use the function v.net.iso and v.net.alloc based on an OSM street network with transport costs (travel times) calculated by my own....
0
votes
0answers
14 views

How to decide a which server is best for geo-spatial data servicing? [duplicate]

I want to serve both vector and raster data sets of large volume (ex: for a country). Right now I'm using GeoServer for vector and MapServer for raster. Is there any literature or reference such ...
0
votes
0answers
36 views

Incomplete/incorrect extraction of raster values from shapefile in R

I am having trouble correctly extracting raster data from all the polygons from a given shapefile in R. The raster and shapefile have identical CRS in QGIS (EPSG:32654, WGS84 / UTM zone 54N). After ...
0
votes
0answers
29 views

How to combine population density data to land use data?

i have census data and land use data in vector format. I tried to combine the population density vector data with land use data set, but every-time it gives me wrong output. Moreover, my land use ...
0
votes
0answers
22 views

Is there a way you can see the spatial query that vector uses?

I am using geoprocessing-tools --> intersections to calculate which points are within my circular buffer. It works fine but I want to know what query(/code) vector is using so I can add some ...
0
votes
2answers
94 views

how to draw coordinates along the lanes using MultiLineString instead of LineString

I trying to draw lines along the path of the lanes on the map using openlayer3 but i am not getting any lines on the lanes there is no error in the developers console as well <!DOCTYPE html> &...
0
votes
0answers
26 views

GRASS: strange classification output and reject map from “i.maxlik”

I am trying to perform a supervised classification with "i.maxlik". I have three bands: 1) elevation (a dem); 2) reflectance (derived from Landsat ETM+ band4); 3) cumulative solar radiation (derived ...
0
votes
1answer
39 views

Intersect elevation interpolated from CAD file in ArcGIS

I have two datasets - contours and vector (water, roads,...) Vector layers were used as breaklines to generate the contours. Then the contours were generalized a bit. For quality check I need to ...
0
votes
0answers
32 views

GDAL/OGR in C++: Opening a vector file

So I'm making a vector file this way: OGRSFDriverH hDriver=OGRGetDriverByName("KML"); OGRDataSourceH hDS=NULL; hDS = OGR_Dr_CreateDataSource (hDriver, fname_dst, NULL); //I add layers OGR_DS_Destroy(...
0
votes
0answers
31 views

Spatial Join Points Vector with Raster Dataset using Arcmap

I have a points file of taxi drop off locations and a raster file grid. I am trying to get a count of each point on a raster cell. How do I go about doing that? It is like I am doing a spatial ...
0
votes
0answers
70 views

Openlayers snapping not working

I am using a vector layer on my map that contains lines like this: var map = new OpenLayers.Map({ div: "map", layers: [ new OpenLayers.Layer.WMS( ...