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

learn more… | top users | synonyms

5
votes
2answers
4k views

How to clip a vector feature to the extent of an existing raster dataset using arcpy

I have a clipped raster dataset with polylines (from the contour tool) overlayed (see attached). I am trying to clip the polylines to the extent of the raster dataset, which seems simple enough, but ...
0
votes
0answers
135 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?
0
votes
0answers
42 views

How to create a vector layer from a GeoAlchemy2 query?

I'm currently developing a QGIS plugin where I mapped a PostGIS database via GeoAlchemy2. I wrote a function that returns results from a GeoAlchemy query but have no idea how to create a vector ...
1
vote
0answers
16 views

How to compare two sets of points in QGIS?

I have two point layers with XYZ data: 1 set are points measured at the field and the second set is a Lidar data set. I want to check the accuracy of the lidar in comparence to the measured data. Is ...
0
votes
0answers
23 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
1answer
86 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 ...
1
vote
3answers
107 views

Creating a Slope Map Using Contours

I am trying to create a slope map. I have many contour elevation files. I tried to use the slope tool in Arctoolbox, but it calls for raster files and I'm working with vector data. Any help with this ...
0
votes
0answers
27 views

QGIS Rasterization of points

I have a point vector layer and want to make it a raster. Trouble is that many points are very close to each other, so unless I specify a very small resolution of the raster cells, likely several ...
0
votes
1answer
22 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 ...
8
votes
2answers
256 views

Creating an “average” polygon

I found this thread in the old ESRI forums with the same type of problem I am facing today. The solution to the problem is explained in little detail and since I am not an expert, I was wondering if ...
0
votes
0answers
7 views

Adding (ir?)regular vector points

I run 2.0 qgis. (I am quite the rookie) I would like to add a point layer which is regularly spaced every 5 metres along the x-axis, and regularly spaced every 1m along the y-axis. I cannot seem to ...
3
votes
2answers
174 views

Creating catalog of vector layers using ArcGIS Platform?

Is there a way to create a catalog of vector layers in ESRI? We have thousands of tiles of 25cm contour data which we need to individually find and add to maps. It would be so much easier if there was ...
1
vote
2answers
571 views

OpenLayers vector does not draw (or re-draw) on zoom level change or layerswitcher off/on

Here is the full code (i'll highlight the important parts after): jQuery(document).ready(function($) { // ...
5
votes
1answer
307 views

What does vector tiled map mean?

I'm working on an application that renders geoJSON into OpenLayers map. The idea is about not having PNG images downloaded from external services (OSM or Bing) but having geo information in geoJSON ...
0
votes
0answers
15 views

USA MSA/City/County with SImplest Border in JSON

I deal with a lot of poloygon-related JSON representing US places regularly. One thing that could make reading JSON with my eyeballs easier is having a short list of US places whose borders have ...
3
votes
2answers
88 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
1answer
39 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 ...
2
votes
4answers
72 views

How to set a minimum point snap distance?

There are two points: A and B. I need to snap any points within a 65 m search radius (blue buffer) of point A. However, the snap distance of B needs to be exactly 5m apart from A (i.e. located ...
2
votes
1answer
1k views

How to deactive Vector Selection In OpenLayers wms features

This is my sample code and work fine :), But I have a little problem, I'm using multiple layer (WMS), when I zooming the layer will be shown or hidden. In my example bellow when OpenLayers level zoom ...
6
votes
3answers
4k views

Finding nearest raster cell value based on vector point?

I have two layers in ArcGIS: One is a vector point and the other is a raster layer. I want to append the value of the raster data grid to the vector point. The problem is the vector point is away from ...
0
votes
2answers
237 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
323 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
27 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 ...
1
vote
1answer
34 views

Calculating percentage of polygons within specific areas using ArcGIS for Desktop? [closed]

I have a parcel layer and I am trying to determine the percentage of each parcel that falls within specific zones. I tried tabular intersect but it just returned an empty output. I'm using ArcGIS ...
2
votes
1answer
228 views

pyQgis in stand alone script, vector loading error

I am trying to use the Qgis functions in a stand alone Python script. I m running Mountain Lion OS, 2.7 Python & the Qgis 2.0.1 Dufour. My main problem is that I cannot get started - I cannot ...
0
votes
1answer
28 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 ...
3
votes
2answers
75 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
48 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
47 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
22 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
17 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
36 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 ...
2
votes
1answer
224 views

Possible workflows for shaded relief representation as vector

I am looking for a good workflow on how to represent relief on a map as vector (e.g. for further processing in Adobe Illustrator or Inkscape). My inspiration is the present google maps at zoom level ...
4
votes
1answer
187 views

Loading a multipoint shapefile in R

This issue has only been raised in the community once, two years ago, to the best of my knowledge. I think it's high time to raise the issue again! readOGR, from the rgdal package, cannot handle ...
0
votes
1answer
155 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 ...
2
votes
1answer
197 views

Creating buffers that will not overlap in QGIS

I am dealing with a .shp with a number of points in it. The distances between points range from ~300m to 5km. I wish to create a 1 km buffer around each point with as little overlap as possible. Each ...
0
votes
0answers
7 views

QGIS merge selected features tool malfunctions due to geometrical errors

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 ...
1
vote
2answers
47 views

Trace vector map from GeoTiff, Garmin

My goal is to create a vector map for my Garmin GPS by tracing over a topo raster. The vector data would be exported in ESRI SHP format and later converted for Garmin. So far, I can load the geo ...
0
votes
0answers
38 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
38 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 ...
1
vote
1answer
572 views

Drawing pie charts with vectors on OpenLayers?

Is anyone got any examples of drawing pie charts with vectors as markers on OpenLayers ? Cheers,
0
votes
0answers
22 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
8 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
23 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 ...
17
votes
4answers
8k views

How do I load OSM vector data in QGIS 2.x?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS. This was great (give or take the ...
5
votes
1answer
362 views

Easily calculate “roundness/compactness” of a polygon

I am trying to find ways to quantitatively describe the shapes of various polygons. For my project, these polygons represent lakes, rivers, lagoons, and parks. So they can be almost any shape. One ...
0
votes
0answers
26 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
29 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
55 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
0answers
12 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 ...