Questions tagged [vector]
A coordinate-based data model that represents geographic features as points, lines, and polygons.
1,931
questions
2
votes
1
answer
2k
views
Getting smoother contours using ArcScene
I am trying to get nice smooth contours using ArcGIS. I have already smoothed out the DEM using focal statistics, simplified and smoothed the contours. The current result looks like this, which is way ...
1
vote
1
answer
385
views
Plugin SWAP vector direction doesn't work in QGIS
I've installed plugin Swap vector direction in QGIS.
But it doesn't work. I click and nothing.
I need to flip lines (22 000 000 lines).
In ArcGIS takes many hours and still flipping.
I thought ...
4
votes
1
answer
3k
views
Render or display only the boundary of a vector layer containing thousands of polygons
To have a cleaner map to print I want to display only the boundary of a layer composed of more than 200,000 features (all adjacent).
Is there something more straightforward than dissolving or ...
2
votes
1
answer
2k
views
QGIS - some edit feature options disabled in vector layer [closed]
I created a new vector layer in QGIS, saving as I went along and then I saved the project and logged out. When I went back into the project, I wanted to add some more features to the same layer, so ...
1
vote
2
answers
1k
views
Configure default styles in LeafletJS
I want to change the default styles for vector layers in my Leaflet version 0.7.3. I can't find anything about that in in the documentation, so I made this hack:
map.on('layeradd', function(e){
if(...
1
vote
1
answer
1k
views
Automatically changing the angle of a symbol in QGIS? [duplicate]
I am working with an iron age cemetery in QGIS. I marked every grave in a point layer with several columns; amongst others, burial rite (inhumation, cremation etc.). I inserted a second column for the ...
2
votes
1
answer
849
views
Make diagonal grid in QGIS, divide square into squares
I have square polygon which is aligned under some degree and I want to divide this square to, for example, 25 smaller squares, which must be under the same degree in this square polygon. How this can ...
2
votes
2
answers
2k
views
Merging vector (building) elevations into DEM in QGIS?
I'm no expert in QGIS, I'm more into engineering.
I'm building a 2D hydraulic model and I would like to add the building footprints (elevated) to my DEM, so flow will go around structures in the ...
2
votes
2
answers
2k
views
Is it possible to not show node in editing mod QGIS
I actually have a plugin that allows me to draw on a vector layer (I made it based on the FreeHand Editing Plugin). When a mouseMoveEvent is detected, it creates a new point on the vector layer and ...
0
votes
1
answer
688
views
Simultaneous multiple vector layer intersection algorithm
Is there an algorithm, you can suggest or recommend, that I can implement to intersect multiple vector layers?
I have a few hundred layers I want to intersect and thinking of developing a little QGIS ...
3
votes
0
answers
882
views
How to make a model with more than 2 input layers for buffering and merging?
Would it be possible to add more inputs to Buffer and Merge? From what I can see there is a limit of two input layers per both. As far as I know this is possible in ArcGIS's Model Builder but from the ...
0
votes
1
answer
1k
views
Vector Click Event is not working
Actually I figured out some problems and corrected it. I declared the overlay just outside the init function. So now I got the 'featureselected' event working properly. But 'featureunselected' event ...
1
vote
1
answer
118
views
Land cover modifications in different time periods
I have several shapefiles which contain buildings built in different periods from 1948 to 2013. My question is how could I see which buildings for example in were built 1948 but are missing in later ...
1
vote
1
answer
983
views
Country border between two points
I am trying to extract country borders between two points, using Python. The border is a Shapely Polygon.exterior or LinearRing, the start and end points are Shapely Points.
My idea is the following:
...
0
votes
1
answer
136
views
joining non-spatial pollution model (csv file) to Qgis
I have csv file with concentration data but without coordinates.
Start of pollution concentration connect with that one point on map.
Is there any chance ?
Start of pollution concentration ...
4
votes
3
answers
3k
views
3d vector and geometry operations in open-source GIS
There is some really good open-source software available to work with 2D vectors. For example QGIS has operations like buffer / clip / dissolve / select by location / join attributes by location... ...
4
votes
1
answer
1k
views
Is the QGIS "Random selection within subset" selecting spatially random or randomly from the attribute table?
I am trying to figure out exactly what is being randomly selected. I have a layer of road segments and I would like it to select a road segment at random within a neighborhood (the subset). This would ...
6
votes
1
answer
7k
views
Sketch event in Openlayers 3 drawing interaction
For drawing Polygon in OpenLayers 2 we could use as follow:
function drawEnd(){
...
}
function putPoint(){
...
}
function sketchModified(){
...
}
function cancel(){
...
}
var ...
1
vote
1
answer
62
views
Not all polygons removed when cutting from vector layer in QGIS
I have created ten polygons representing lakes on a vector layer, and I am trying to cut them from an imported and re-projected vector layer of administrative districts. When I use the 'Cut with ...
2
votes
1
answer
464
views
Vector tiles in ArcGIS
I have a vector map (consisting of several polygons) and I would like to create several overlapping tiles. I did the same for a raster map using "split raster". For the vector map, I created an ...
1
vote
2
answers
293
views
How to deactivate the Color Ramp in QGIS graduated vector styling?
I want to display points with different size and I DO NOT want to have a color ramp.
Do you know how I can do that?
3
votes
2
answers
3k
views
Cleaning polygon after using dissolve to repair geometry in QGIS?
I'm trying to obtain the boundaries of shapefile, thus to clean the inside as a matter of speaking. While I had expected that dissolve while get me a proper polygon, unfortunately it still has some ...
2
votes
1
answer
2k
views
OpenLayers 3.5.0, clear highlighted feature after removing feature from source
I want the user to be able to delete the highlighted feature. This works well, but the feature is not cleared until I move the pointer outside the feature geometry.
I am using the OL 3.5.0 library.
...
6
votes
4
answers
7k
views
Checking if polygon fits inside another polygon using ArcGIS Desktop?
How do I check if one polygon fits inside another polygon? Furthermore how do I automatically check if one polygon fits in other polygons of my shapefile?
I have a shapefile with thousands of ...
1
vote
1
answer
4k
views
Adding in multiple layers in OpenLayers 3
I am trying to add in the following two layers into my OpenLayers 3 map. The issue i'm having is that whichever one is written in last is the only one that is showing. I imagine there is a way to ...
3
votes
2
answers
750
views
Splitting lines table using point table in PostGIS
My problem is that I want to get the shortest route between multiple point pairs which are stored in a table (PostGIS).
In PostGIS I also have a network created using pgr_createTopology on a table ...
2
votes
2
answers
379
views
How to set feature vertex Z from an intersecting feature's Z?
In ArcGIS how can I set the Z values of the portion of a line that intersects another line to the Z values from the other line? A batch process is preferred.
I tried FeatureToLine, but the null ...
2
votes
1
answer
178
views
Extracting area from DEM Raster?
After applying constraints to the DEM I polygonised the raster (using GRASS r.to.vect.area)
The result is shown below with a lot of vector with resolution = [30 * 30]
Is there any solution to make ...
2
votes
1
answer
175
views
Feature is a point or polygon
Im new to GIS and am just curious if there is an instance where a feature can be a point in one map and a polygon in another map and vice versa?
5
votes
3
answers
658
views
Time delta between consecutive points of GPX file?
I'm in a course learning about GIS systems, and we have recently recorded a GPS track. I've exported this track as .gpx and imported the points into QGIS.
Each point has a timestamp. One of the ...
0
votes
1
answer
300
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
1
answer
155
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
0
answers
142
views
Merging SHP lines with attribute data combined?
I have one shapefile which contains hiking routes and another shapefile which has ski routes. Sometimes they follow the exact same path.
In QGIS if the lines mentioned above are in the same SHP I ...
2
votes
2
answers
2k
views
QGIS modeler - how to extract polygons by multiple arguments?
I'm using QGIS modeler to extract lines by not one, but multiple attributes. For example, I have a road network, and I want to extract only road with character values in field TYPE: value_one and ...
5
votes
1
answer
1k
views
Which system of units does the unit 'degree' belong to?
Let us say that I would like to store latitudes and longitudes like this:
lat
35 degree
long
80 degree
Which system of units does the unit 'degree' belong to? It is not really a SI unit nor a ...
0
votes
1
answer
11k
views
Latest shapefiles of Indian states [duplicate]
I need shapefiles of Indian states that of 2011 which has almost 671 districts of India. Can anyone please help me?
1
vote
0
answers
85
views
Why does the transformation bring bad results?
I have this map which has a polygon drawn on it. For the background map I use a WMS via ol.source.TileWMS and the polygon uses a ol.source.Vector object. Normally my view projection is EPSG:31467 but ...
4
votes
1
answer
683
views
QGIS's "Points in Polygon" counts zero in every census tract
I am mapping the location of incidents of asthma using QGIS. I would like to count how many points are in census tracts to better understand the areas where asthma occurs most frequently. My map ...
7
votes
1
answer
24k
views
Assigning CRS to shapefile when it doesn't have one, in R?
I think that by using readOGR to import a shapefile renders worthless to put proj4string to the script since if any coords are available in the shapefile, it will be transported through the readOGR.
...
6
votes
2
answers
1k
views
Calculating average raster to point distances within census tracts
I have some experience using ArcGIS, but mostly with the field calculator in the attribute table/spatial joins, so I apologize if I say something that doesn't make sense.
To provide a bit of ...
1
vote
2
answers
442
views
Selecting/Exporting points from one layer that do not overlap with the points from another layer in Qgis
I am working with QGIS and have the following problem to solve:
I have 2 point layers. Layer 1 has more points than Layer 2 but all points of Layer 2 have the same position as Layer 1. I need to find ...
0
votes
1
answer
1k
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 ...
-2
votes
1
answer
529
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 ...
1
vote
1
answer
678
views
Georeferencing/Spatial Adjusting of vector river dataset to DEM in ArcGIS
I have a huge dataset of vector river data (over 10'000 rivers) which are saved in a shapefile and were initially derived from a topographic map.
However when comparing this vector to DEM data (SRTM ...
1
vote
0
answers
159
views
Select features intersecting a linestring in QGIS
I wrote a python plugin that grabs all (vector, linestring) features between two points on the map. At the moment, I select all features intersecting the rectangle around these two points, and then ...
2
votes
1
answer
366
views
QGIS equivalent to MapInfo Sum Attributes for selected vector objects?
I´m looking for QGIS equivalent to the basic MapInfo tool "Sum Attributes". I´ll explain what it does:
For selected objects in a vector layer, a popup window shows basic statistics such as:
- Sum ...
0
votes
1
answer
332
views
Adding features to a vectorlayer using checkbox
I'm trying to add features to a vector layer using a checkbox.
var featureOverlay = new.ol.FeatureOverlay;
$("input:checkbox").each(function(){
var $this = $(this);
if($this.is(":checked"...
1
vote
1
answer
395
views
Create Multiple Circle
I am trying to make many points in a map as a grid.
The code makes what I expect but the time to load is quite long so I suppose that there should be other ways to be more efficient drawing many ...
0
votes
2
answers
1k
views
Exporting layers from ArcGIS into PostGIS while preserving attributes such as color
I have managed to import/convert a KML into ArcGIS 10.0 (ArcMap) using the built-in conversion tools and now have a series of layers. Next, I export these layers to a PostGIS database using the ...
3
votes
2
answers
2k
views
Can't export customer's shapefile to latitude and longitude
I'm very new to this application so bear with me. I hope that I am missing something very elementary.
I have a shapefile supplied by my customer. I need to get the latitude and longitude for each ...