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

learn more… | top users | synonyms (1)

0
votes
1answer
48 views

Openlayers cluster stragegy total count

How can I get total feature count of vector layer: var mylayer = new OpenLayers.Layer.Vector(null, { "protocol": myWFSProtocol, "styleMap": style, "strategies": [ ...
0
votes
1answer
43 views

Make OpenLayers filter initially empty

I have an openlayers vector layer that loads data form service. But it loads all data initially. var mylayer = new OpenLayers.Layer.Vector(null, { "protocol": myWFSProtocol, ...
0
votes
0answers
49 views

Snapping to a grid does not work

I have two shapefiles that were created in GME using the generate vector grid. They both have the same projection NAD 83 Transverse Mercator. The grid size is 5000m. The grids overlap in that they ...
0
votes
0answers
95 views

3D building data for London

Any tips on where I can find 3D building data for UK/London, preferably LOD2 (Including roof structures)? I am aware of the Virtual London dataset but I would like a more recent one.
0
votes
0answers
26 views

Selecting polygons using another polygon? [duplicate]

Hi, How is the best way or fastest(if there is) of selecting polygons of a different shapefile using a polygon of another shapefile. exercise example: i want select all the light brown polygons ...
0
votes
2answers
156 views

Latest shapefiles of Indian states

I need shapefiles of Indian states that of 2011 which has almost 671 districts of India. Can anyone please help me?
0
votes
1answer
95 views

QGIS: Delete information from rasters and shapes that are out of country borders [duplicate]

I am trying to make topographic maps for some countries and show only those countries. I already created reliefs from SRTM-data and imported lake and river data from Natural Earth. Now I want to ...
0
votes
0answers
33 views

QGIS - save vector poly layer into individual shp files? [duplicate]

Using QGIS v2.8.1, I have a directory of GeoTiff images. Using the raster ‘Tile Index’ plug-in (selecting “location” as the file index), I am able to create perfectly matched vector polys that I can ...
0
votes
1answer
29 views

How to turn a vectorgraph into raster correctly?

In QGIS2.8 version, I added several points in a point vectorgraph. When using the grid - > Conversion - > rasterized vector , The results turn out into a black figure. How to turn a vectorgraph into ...
0
votes
0answers
22 views

ArcGIS Layers same coordinates not lining up [duplicate]

I have a large polygon for a borough, and smaller polygons for the local authorities within it (they divide up the borough). When I add the smaller polygon layers, the polygon appears distorted and ...
0
votes
0answers
68 views

Select feature within radius

I am developing a plugin (C++) and somehow I am stuck (I am very new to this). I start the plugin which has an own gui. There is a button to select features from the vector layer. Clicked on it, the ...
0
votes
0answers
50 views

uk postcode outcode border data

I am aware of this: First character boundaries However, this only gives you the borders for, for example, 'L' rather than: L1, L10, L11, L12 etc. Can I obtain these fine grained border data from ...
0
votes
0answers
46 views

Downloading data after clipping

I have an issue with downloading data from GeoServer after clipping layers: 1. I can download vector layers as GeoJSON and GML, but cannot download as shape-zip: file becomes corrupted; 2. I cannot ...
0
votes
0answers
99 views

OpenLayers ZoomToExtent doesn´t seem to work properly with WFS layer

My website has a list of routes and a map. When I click on each route it appears its associated information and the WFS layer is selected. As a base layer I have all the routes obtained with WMS. ...
0
votes
0answers
27 views

Qgis Vector editing

i think this is a pretty simple task, but im trying since two hours and cant find a way... i have a vector made in illustrator, i want to place it exactly on a place on the openstreetmap layer (i.e. ...
0
votes
1answer
129 views

Snapping one vector layer to another

Is there anyway to snap one set of vectors to its nearest neighbor vector in another feature class? For example, I have a road feature class and a feature class of bridges and I want to snap the ...
0
votes
0answers
31 views

Metrics of change between vector datasets

I have an old and a new set of parcel data which I'm looking to compare. I'm looking to compare changes in individual parcel geometries, so boundary/corner adjustment. Currently each parcel we have ...
0
votes
2answers
96 views

How to make openlayers features externalGraphic reappear after hiding

I'm displaying a vector layer with pois, generated from a text file: lat lon icon iconSize iconOffset title description 56.030325 14.4774116666667 ...
0
votes
0answers
206 views

Where can i get OSM water polygon for lower zoom level?

i wants ocean (water polygons shapefile) for generating vector tile map. Initially tested using shape file openstreetmapdata it works fine. But at low zoom level i produce pbf file with higher size. ...
0
votes
0answers
27 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
27 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. ...
0
votes
0answers
10 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 ...
0
votes
1answer
250 views

How to perform an attribute-weighted sum of multiple polyline features from a single vector layer?

I have a shapefile of ~8000 polyline vector features representing traffic journeys on road routes. Each has an attribute representing volume of traffic for that journey. The routes are all generated ...
0
votes
0answers
146 views

Polygonize only pixel values of 1 from a raster

I have a raster mask that I have created in QGIS (2.2.0) that consist of 0, 1 and nodata values. I would like to end up with a polygon dataset that consist of only the value of one pixels from this ...
0
votes
0answers
114 views

Can I create a cross section from points along a line without using a DEM in QGIS?

I have a set of points perpendicular to a river and would like to present a cross section of them. Like a simple graph in Excell for example, with Z as y axis and distance along the line as the x ...
0
votes
0answers
55 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
229 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
77 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
0answers
228 views

PyQgis: How can I preserve order or index when adding features to a Vector Layer from a file?

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
136 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 ...
0
votes
0answers
56 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 ...
0
votes
1answer
74 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
96 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
102 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 ...
0
votes
0answers
56 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 ...
0
votes
1answer
25 views

vector file is used by two mapsets at a time in grass gis

i want to study about vector processing.if a vector file is used by two mapsets at a time, which one will be saved first and why.if a team want to work on the same set of shape files, what is the ...
0
votes
0answers
90 views

how to easily serve vector layer with extra attributes for openlayers

On a website I'd like to show an openstreetmap with buildings colored by a certain feature (tag). So far I was able to extract the buildings for a bounding box, save them as an osm file and load it ...
0
votes
0answers
126 views

Turn vector layer in raster layer based on cost

Hy, I am trying to rasterize some vector layers into raster layers and I know this is possible with QGIS by using the rasterize function in the raster menu but I don't know how to do the following ...
0
votes
0answers
161 views

How to achieve labeling in openlayers as Google did?

I am tried to find a solution for my question. Please look the images below. Google Google are awesome!!.. They are doing fantastic technique in labeling part. Please look the marked labels, the ...
0
votes
1answer
289 views

Geomedia WebMap WFS to vector marker layer in Openlayers

Looking for minimal example/advice on getting a WFS service to show up as a vector layer with markers/icons in Openlayers map. I have created the WFS service in Geomedia WebMap 6.01.11.19 and the ...
0
votes
0answers
27 views

Show the paths but not roadsides and driveways in the line layer

I want to display paths in the woods but the paths are all in One (line) layer that contains all roadsides, pavements, drivvays, but also paths, tractor road and other relevant roads in, and up to the ...
0
votes
0answers
83 views

Zonal statistics won't work after re-projecting vector layer

I have qgis 2.0. I want to analyze raster information within a buffer of 30 miles around a vector layer of cities across the world. However, both the raster and the vector are in WGS84. I have no ...
0
votes
0answers
90 views

Shifting Polyline Feature Class

I need to horizontally shift a Polyline feature class (clip1diss) (just one raw) 360 degrees East (deltaX = 360). It would be the equivalent as to "Move" in an Edit session in ArcMap but I cannot ...
0
votes
0answers
93 views

Los Angeles public parking lot polygons?

So, I'm looking for some relevant data to incorporate into my map, and one of them is public parking polygons. Is there such a .shp file with these data?
0
votes
0answers
94 views

Cropping elements from one layer to an element from another

I'm trying to make a hex map of a country (Russia, in this case). To do this, I've opened a map of Russia in QGIS (from Natural Earth), set up my projection, and created a hex grid with MMQGIS. So ...
0
votes
2answers
84 views

Show only some buildings

How do I show only some buildings? I only need to show 3 cabins in the forrest, but not every house in the whole village around, and the city close by. Maybe some of the symbol buildings in the city ...
0
votes
1answer
2k views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different from this one: http://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons ...
0
votes
0answers
304 views

how do I add attribute features to an attribute table which already exists?

Using Verson 2.0, downloaded as normal. I have an ESRI shapefile of my road map for 2006. I have a paper map of roads for 1969. I want to see what roads have been built between 1969 and 2006 (none ...
0
votes
0answers
82 views

Calculating vector statistics in GRASS

I have a points layer, each of points have an year attribute and I want to count how many points in each year. I use GRASS-GIS and its v.univar function: v.univar -e map=mod14_hmao column=year ...
0
votes
0answers
376 views

How to convert Raster to points in MapInfo?

I wanted to convert Raster data to point data in MapInfo.Does there any tool to convert? can anyone help me?