Questions tagged [offset]
The offset tag has no usage guidance.
95
questions
2
votes
1
answer
47
views
"NameError: name 'JoinStyleRound' is not defined" error when offsetting feature of line type geometry with PyQGIS
I'm trying to offset a feature with line-type geometry, I found a suggestion to work based on the QgsGeometry.offsetCurve() method, see https://qgis.org/pyqgis/3.34/core/QgsGeometry.html#qgis.core....
1
vote
1
answer
70
views
Plot XY points along a curved line in ArcGIS Pro (for creating TIN)
I am trying to use ArcGIS Pro to replicate a process from CAD (Bentley InRoads) for creating triangulated elevation surfaces along curved lines.
In CAD, I can import a text file with XY points and ...
0
votes
1
answer
46
views
Offset line and polyline
I am making a QGIS plugin for shortest path and I want to offset line for that shortest path. I am getting shortest path but not offset line. I've pasted code. Could you go through it and suggest ...
0
votes
0
answers
24
views
QGIS 3.22.16 Roads not centered on the background
I am working on QGIS 3.22.16. I offset -3 for the right lane layer and leave 0 for the left lane layer. So the lanes don't overlap. However, the lines don't seem to follow the background routes. Is ...
0
votes
0
answers
31
views
QGIS creating 4 offset points from a set of points
I work with a lot of projects where I have point shapefiles where the points are in a line that is not always straight.
I have been wanting to find a way for a while now to create offsets from these ...
0
votes
1
answer
64
views
SVG arrows not behaving like the other arrows in Leaflet
I have a Leaflet web map displaying 13 points and 3 arrows diverging from each point (4 layers total). The map was exported from QGIS via QGIS2Web.
I'm using placeRotatedSymbol() to place the arrow ...
1
vote
0
answers
64
views
Separating intersecting lines in QGIS
I have a project in QGIS where multiple cables follow different paths using specific points as vertices, and sometimes the cables end up crossing over each other.
I would like to perform a ...
2
votes
1
answer
132
views
Generating offset line from MultiLineString in QGIS
I have a MULTILINESTRING in my CSV file, and I want to generate a copy of it offset to the right by a few meters. I've run Single Sided Buffer, and Offset Lines, and neither of them seem to generate ...
0
votes
0
answers
54
views
Some iterative way to compute heading and GPS projection at the same time?
I have the following situation:
An off-road machine has a GPS antenna that is not at the center of the rear axle (this point is my path-tracking-control point). Let's say it's 3 meters from the rear ...
0
votes
1
answer
240
views
How to calculate GPS offset given azimuth(bearing) angle and slope distance and inclination angle of the object
If there is an object (tree) which gives back the below data measured from a given GPS location:
Azimuth angle
Slope distance to the tree or object
Inclination angle to the tree or object.
How to ...
0
votes
0
answers
52
views
Offsetting categorised symbology for features overlapping (only when features are overlapping)
I'm trying to look for a solution to a problem I am having with a polygon layer in QGIS.
I've produced a 'Boundary' layer in QGIS, such boundaries are leveled the lower levels are inside the higher ...
0
votes
0
answers
99
views
Conducting viewshed with building heights using ArcGIS Pro
I am seeking to conduct a viewshed (using ArcGIS visibility - spatial analyst) of from an observer point, which is a human standing on a hill. Once I have added the single input point, I have added 1....
1
vote
1
answer
38
views
QGIS offset line shows perpendicular tags issue [closed]
I'm adding data to a road network using LRS. I am offsetting the data to show different lanes of the road. In the example below I only have data for 1 lane.
However, some of the data shows an ...
4
votes
1
answer
71
views
How to select objects by their offset location in QGIS?
I have a line layer where I have lines that have lines that have the "same" geometry, only reversed. I would like to select only one direction at a time. In the symbology I set an offset and ...
2
votes
3
answers
404
views
Offset/move polygons in specific direction QGIS
I want to offset/move the polygons in the direction north-north-western direction and perform this task 3 times. I can do this manually but it would be an approximation and I want them to exactly ...
3
votes
2
answers
179
views
Duplicate line with offset if second field is filled
I have a line layer with two fields Field A and Field B using the same value representation. Every object has a value in Field A, only some objects have a value in Field B.
I am looking to create a ...
8
votes
2
answers
226
views
Randomly offset duplicate points along linestring X meters using PostGIS
The query below selects all duplicate points on a line, which overlay one another, then randomly assigns each point location within a certain radius. The last step assigns each point back on what I ...
1
vote
2
answers
885
views
Offset of markers and polygon depending on zoom level in Leaflet
I have run into a problem with a suspicious offset what comes to self created polygon using Leaflet. I am creating a website using NodeJS (and Pug for rendering the HTML itself). Using Leaflet, I ...
5
votes
1
answer
752
views
Offsetting horizontal line labels in QGIS
In QGIS 3.22.8 I have 100s of linear features on a map. I want to label them horizontally, but don't want the label sitting over the line. I can find the Horizontal placement setting, but no offset ...
3
votes
1
answer
179
views
How to set up rule based offset points symbology in QGIS
I use QGIS 3.22.2 and I have points datasets of records from ecology surveys with column of "ID" of individual record and column "Species" with few different values (for example: '...
1
vote
0
answers
104
views
Y coordinate of mbtiles is in descending order (tippecanoe, ogr2ogr)
I want to convert a geojson to MVT and upload it to s3 to use it with Mapbox GLJS.
I tried this tutorial https://geovation.github.io/tippecanoe-directory-support.
With tippecanoe --no-feature-limit --...
1
vote
0
answers
248
views
Weird artifact when offseting linestring within polygon
I have a code that, starting with a main line that crosses a polygon, creates a sequence of parallel lines by offsetting the main line to both directions and then clipping the parallels with the ...
0
votes
0
answers
109
views
Offset raster Z value with second raster
I have 2 rasters in QGIS - one with holes and the other a full extent
Both rasters are the same CRS and extent, however the difference is their Z values due to being recorded differently.
Effectively, ...
1
vote
1
answer
117
views
Offset lines to find self intersection lines
I've been trying, with no success, to create of negative offset from line shapefiles (contour lines, actually). My objective is, with the x offset I define, to use the topology rules to identify the ...
2
votes
1
answer
58
views
QGIS 3.10.3 line out of the route
I am using QGIS 3.10.3. I try to symbolize routes in both direction (CL1 and CR1). Using the rule based symbology and created 4 sections according to the values. I filtered the data using <= and &...
1
vote
1
answer
795
views
Offset points in QGIS using attribute values for Bearing and Distance?
Background: I am working with a biodiversity researcher who will be collecting field data on frogs in Peru over the summer. Because of the dense canopy at the field site observations are taken by ...
2
votes
1
answer
773
views
QGIS Offset Points by value
I've got one layer with a line (e. g. a road) and one layer with points (e. g. trees along the road). So far, the points are placed right on the line, but the attribute table of the point layer has a ...
1
vote
1
answer
107
views
Scaling problem when projected map is overlaid on basemap in QGIS
The problem
My georeferenced and projected Matplotlib map overlays with an offset on a basemap projected in QGIS with the same coordinate reference system.
What I did:
I created a map in Matplotlib ...
4
votes
2
answers
782
views
Variable for symbol width in QGIS expressions?
Using QGIS 3.22.1. I have straight lines connecting two points. These lines are stored in two separate layers, one layer for each direction.
I am using a graduated size renderer to display these lines....
0
votes
1
answer
154
views
Qgis2threejs changing rotation point
I am new to QGis and have an issue with the QGis2threejs plugin. I am trying and searching already for some hours, but couldn't find an answer for this - I hope it's not something obvious. If yes, ...
2
votes
0
answers
297
views
QGIS: an offset line symbol works fine in layout but not in exported image
In QGIS (multiple versions), I have 2 overlapping lines. For clarity i use offset on one of them in the symbol properties. This looks fine in layout manager, the lines are next to each other. When i ...
3
votes
0
answers
40
views
Adding minimum margin between roads in QGIS
I'm wondering if there's a way to add a minimum space between roads that are too close together in a map. Accuracy is not my goal, I just want to make it visually as clear and clean as possible. Could ...
0
votes
1
answer
190
views
Offset raster layer with ArcGIS source in OpenLayers?
In my case there are two layers:
raster from ArcGIS REST service (red) and
vector in MVT format (blue)
The problem is that the raster layer is offset from the vector layer. It is assumed that the ...
0
votes
0
answers
24
views
In my project layers that were originally created by a Garmin 62s are projected 300 degrees/100m differently to the background mapping can you help?
In my project layers that were originally created by a Garmin 62s are projected 300 degrees offset and 100m distant to the background mapping can you help?
When I had these display problems in 'A ...
2
votes
0
answers
59
views
QGIS - how to offset raster 1 null values filled by raster 2
I have 2 rasters ...
Raster 1 has null values of 0 which I have filled in by using values from Raster 2.
To do so, I input the following expression into QGIS raster calculator:
("raster1@1" =...
0
votes
0
answers
46
views
qgis2web- do not show as map project
I have a layer with features overlapped with each other. To show them in my map, I put value in the offset (layer properties) so I can see the overlapped lines. However when I used the qgis2web and ...
3
votes
2
answers
514
views
How can I snap to an existing raster in QGIS?
I want to crop a landcover raster (cell size 10 meters) to my project region. The problem is that the new raster has almost always an offset.
In the example I show below I made the new raster ...
1
vote
1
answer
206
views
Merging rasters with pixel/cell offset with QGIS
I want to merge two partly overlapping raster files which are obviously in the same CRS and have the same cell size, while taking the exact values of one of the input rasters in the overlapping areas, ...
0
votes
1
answer
331
views
QGIS: Shifting ortophotos by some meters to equalize the mismatch/offset/incongruence with satellite imagery
I got several true ortophotos from environmental authorities. These photos should serve as reference for classifying pixels of satellite records.
Though the authorities told me that the georeferencing ...
6
votes
1
answer
574
views
Making space between tight line features on different scales in QGIS
In QGIS 3.16 I have a shapefile layer where linear features will often be digitised close to each other. These lines are all features in the same layer.
Example when zoomed in:
Problem when zooming ...
1
vote
1
answer
948
views
Making many offset lines that are always a set distance from the previous
I've discovered the Offset lines tool in Vector Geometry, which allows you to make a parallel line next to the input at a specified offset distance. What I would like to do is specify how many ...
0
votes
0
answers
45
views
What is the size of a geom at a given scale?
I have a dataset with many overlapping grid cells. I would like to represent the cells in such a way that each grid cell is represented with one point. To avoid having the points overlapping each ...
1
vote
0
answers
57
views
ArcGIS Desktop 3D Analyst Line of Sight
I am trying to do some Line of Sight analysis on some points using 3D Analyst in ArcGIS Desktop. I have a set of points that I've made two copies of a feature class of, one to use as the observers and ...
3
votes
1
answer
150
views
Making callout lines follow feature offset
I'm looking for a solution to the following problem: Using QGIS 3.16 I'd like to display two point features with the same coordinates. So I set an offset to the symbology of one of them (see attached ...
1
vote
1
answer
712
views
GeoServer SLD Offset startPoint/endPoint Along Line
I would like to symbolize a line with a point graphic at each end AND offset the graphics slightly along the line in order to look something like the following:
The offset is intended to allow the ...
0
votes
0
answers
335
views
QGIS - Misaligned vector layers
I am using QGIS Version 3.16.4-Hannover and Windows 10 but I also tested on Linux Mint 20.
I have a problem with several imported shapefiles from different sources. I do not know if I do something ...
1
vote
1
answer
581
views
How to calculate the azimuth of an offset point/line?
After receiving and answer to this question, I am stuck with another problem.
For context, my end goal is to assess windward/lee side of a forested edges (line segments) in respect to a dominant wind ...
1
vote
0
answers
190
views
Offsetting multiple points
I have a multiline shapefile and a point shapefile. The points are supposed to fall in the center of line breaks but when imported to qgis, the points fall on one end of a line break. Is there a ...
5
votes
1
answer
2k
views
Displaying overlapping lines as separate offset lines in QGIS3
I'm drawing lines in a map that represent cables in underground pipes. Sometimes there are multiple cables going through the same pipe, so I'd like to draw each cable as a different line, but want it ...
1
vote
1
answer
75
views
Setting proper rendering order because offset causes odd corners for lines
I used offset on these lines that are on top of each other. How can I make it so the red line is not interrupted by the orange?
I can put the orange under the red, but there is another corner where ...