Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
765 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
307 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
34 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 geospatial PDF from QGIS via GDAL/OGR?), and thought I would try asking it again to see if there has been any improvement or ...
0
votes
1answer
31 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
1answer
581 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
630 views

Polygonizing only pixel values of 1 from raster using QGIS?

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
325 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
2answers
462 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 ...
0
votes
0answers
126 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 far,...
0
votes
0answers
211 views

Drillhole Plan Trace in Arc [duplicate]

I'm struggling to find the math to do what I want. I want to plot a top down view of a drillhole in ArcMAP 10.0. I have the beginning UTM coordinate and then for every place in the hole that was ...
0
votes
1answer
131 views

Give Properties to a shapefile to be used by another person [duplicate]

I have bedrock geoology data. I want to classify the data so it appears with the same propeerties as it does on the suppliers website. Is there a way i can attribute a property to a layer (in this ...
0
votes
1answer
702 views

Vector layer shifted on OSM map: why?

I've defined the following map: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5....
-1
votes
1answer
47 views

If the .osm file encodes all geospatial data, or if Mapnik encodes part of it too [closed]

I have downloaded the whole OpenStreetMap .osm file, and not wanting to decompress it or try to open it in a text editor (at almost a terabyte in size), I am looking at this XML as an example: <?...
-1
votes
1answer
70 views

Summing amount of vector points in area of another vector using Google Earth Engine?

So I have 2 layers each are both vectors and not images. here the link: https://code.earthengine.google.com/e7aec6c9683ed40a959a01a7ed5dd31f I have written some basic code to display the data which ...
-1
votes
1answer
37 views

Seeking vector file of extent of flood plain of 2010 Pakistan Floods?

I am looking to locate a shapefile or any vector file that can be used for analysis I am conducting of change in size of cropland in the Punjab region of Pakistan. The file of interest would reflect ...
-1
votes
1answer
185 views

Get PostGIS geometry data and display it on map using GetMapRequest

How can I get the data from PostgreSQL db and display on map using GetMapRequest? I have done connecting the PostgreSQL db which contains the geometry data. Now I want to redirect that data to map ...
-1
votes
1answer
117 views

Serving Vector Tiles to TerriaJS (TerriaMap)?

Does Terriajs support mapbox vector tiles format? I've created vector tiles with tippecanoe and am serving them with tileserver-gl I have not been able to add them to TerriaJS. I do not see a ...
-1
votes
1answer
35 views

Joining two different spatial vectors? [closed]

I have two different spatial vectors, with the same SR, but they belong to two different UTM zone, one to 36S and the other to 37. How can i relate them to a single vector using "join" tool?
-1
votes
1answer
111 views

Self-hosted web app to view raster & vector layers and annotate

I'm trying to find a self-hosted web app that allows you to view a number of raster and vector layers on a draggable web map, and then to 'annotate' the map by adding points to the map with associated ...
-1
votes
1answer
3k views

Retrieve data from database in OpenLayers GIS

I am using this code but it shows nothing, what's wrong with this code. <!DOCTYPE html> <html lang='en'> <?php $conn_string = "host=localhost dbname=postgis_21 user=postgres ...
-1
votes
2answers
335 views

Counting raster points within boundaries in another layer?

I know this question is similar to some out there, but I have tried all the 'solutions' and none of them are working for me. I am using the latest version of Qgis. I have a raster layer with lat/...
-1
votes
0answers
19 views

Making a vector field layer out of two raster files

I am using ArcMap 10.5 and trying to make a displacement map of a glacier surface. My image correlation software output is to raster files. One contains the North/South displacement in meters the ...
-1
votes
1answer
33 views

Seeking polygons that map out land zone type (ie Residential, Industrial, Commercial) in UK?

I'm looking at displaying the commercial and industrial areas of the UK on QGIS so that I can do some work on them. I'm not looking to add my own data to it, merely find a shapefile or geopackage or ...
-2
votes
1answer
9k views

Easy way to create buffer in QGIS 2?

In the old version of QGIS creating buffer was a relatively complicated task. Basically you had to save your layer as a new one with metric cylinder CRS in order to calculate distance correctly. If ...
-2
votes
1answer
346 views

How to make attribute table's rows to start from ZERO (0) instead on one (1)?

To better explain my issue, I have posted 2 photos, my problem is highlighted with yellow and I want to get from picture 1 to picture 2. If you look closely, in the first photo, the number of the ...
-2
votes
1answer
265 views

Why don't shapefiles online contain the coastline (country borders)?

I have searched everywhere and Geofabric has the best packages of shps yet doesn't have the coastline of countries. I'm talking about the line that demarcates a country i suppose they are called ...
-2
votes
1answer
154 views

How to create a new table for a vector file? [closed]

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?
-8
votes
3answers
2k views

Delivering map tiles in real-time without caching? [closed]

Is it possible to deliver map tiles quickly over the web without worrying about caching or seeding them? With raster map engines this is a problem because endering raster tiles is resource consuming. ...