Questions tagged [curved]
The curved tag has no usage guidance.
27 questions
0
votes
0
answers
20
views
How to create a curved LineString in QGIS from a CSV file with latitude and longitude points, specifying a curving angle?
I have a CSV file with the following columns:
DepartLon: Longitude of the departure point
DepartLat: Latitude of the departure point
DestLon: Longitude of the destination point
DestLat: Latitude of ...
0
votes
0
answers
30
views
QGIS 3.34 Calculate area in curved geometries
I want to calculate the cartesian area of a curved geometry, a circle, with a radius of 2500 m.
First, I buffered a point with 2500 m radius and used the function "Convert to curved geometries&...
2
votes
1
answer
196
views
Using label placement via PyQGIS
In QGIS 3.28 I am trying to align my labels along line features but cannot get them in curved mode. I tried:
layer = iface.activeLayer()
layer.placement = Qgis.LabelPlacement.Curved
settings = ...
2
votes
0
answers
211
views
Exporting curved geometries as a GPKG with linear geometries
I have a layer (based on PostGIS or GPKG) containing complex, curved geometries (think MultiSurface(CurvePolygon(CompoundCurve(CircularString(...).
How can I export this layer as a new GeoPackage that ...
1
vote
0
answers
126
views
QGIS specified make_line curved between points
This question is a continuation of this answer
I want to draw curved lines between specific points that are related to each other.
On my points layer each point has:
unique FID and relation field to ...
4
votes
3
answers
473
views
Curved labels along parallels in different CRS / map projection (QGIS 3.4)
I'm trying to make curved labels based on map projection.
As in these examples, I would like labels for point layers to follow parallels. Is that possible in QGIS 3?
Or a labeling style like this:
...
2
votes
0
answers
167
views
QGIS Azimuth and Distance Plugin Right/Left Curve Input
I'm having a problem with left/right curve of radius rr and distance dd entry for the Azimuth & Distance Plugin. I've only used the plug in for straight lines and it has performed fine. I now have ...
4
votes
1
answer
295
views
Curved labels on curved arrows
I have straight lines in a metric CRS, connecting two points. So each line has exactly two vertices. I want to display these lines as curved arrows with curved labels above these arrows. QGIS version ...
1
vote
1
answer
222
views
How to create a curvy line joining 3 points in pyqgis3?
I am trying to draw a curvy line joining 3 points. I was using https://webgeodatavore.com/create-qgis-curve-from-python-api.html as reference but it is not giving desired output. I used ...
2
votes
1
answer
183
views
Least-cost path = great-circle path in open ocean? (R) (gdistance)
I'm using R and the gdistance package to generate the shortest routes in the ocean. In the open ocean with no obstacles, the least-cost path should equal the great-circle path. But I can't seem to get ...
0
votes
0
answers
79
views
JavaScript libraries for converting curves to/from EWKT and GeoJSON
Are there any JavaScript libraries that can convert EWKT/WKT curve geometries (as defined by PostGIS) to GeoJSON or similar? That is, libraries that generate a linear approximation of a CIRCULARSTRING ...
2
votes
3
answers
330
views
Selecting point features on the outside of line curves - QGIS 3
I need to select points that fall on the outside of line curves using QGIS3.
I have evaluated the curvature of the road and used that to select points that are within 20m of a "curved road" (...
4
votes
1
answer
2k
views
QGIS: Making flow-map, with curved arrows of different colours and varying sizes
I have a shape file for the World Map and the following data in text file (Added as delimited text layer):
I would like to use QGIS 3.10 to achieve three things:
a) To make a flow map to have CURVED ...
1
vote
1
answer
2k
views
OpenLayers drawing curves
I'm trying to draw a Bezier curve in OpenLayers (geometryFunction2) but there is something wrong with my approach I don't get. The first line seems fine but I can't place the next one. It work's fine ...
4
votes
2
answers
3k
views
Drawing curved segment in QGIS
I have to create segments like the one in the picture:
I need to draw a segment where there is a straight line and other parts of segments with arcs of different angles.
The part of the segment that ...
1
vote
0
answers
106
views
Bending arrowlines between symbols (points) using MapServer [closed]
There is such a task: to draw a curved line with an arrow at the end between two symbols (points).
Questions:
What is the best way to bend a line defined by two points? (current solution: I find the ...
4
votes
1
answer
145
views
QGIS Linestring rendering curves between vertex
I'm sure I hit a setting somewhere, but now I can't fix it.
When a linestring shp file is rendered in QGIS it adds curves between my verticies... I want straight lines. How do I turn this off?
In ...
1
vote
0
answers
304
views
Creating curved annotations for polygons and lines in QGIS
In general, my problem is that: I can`t display annotations using the option "Using the perimeter (curved)" in QGIS. I tried to solve it in two ways:
At first was an attempt to use just a simple ...
2
votes
1
answer
135
views
Curved lines turn to straight lines after sDNA preparation
I am an architect, sometimes I need to use sDNA to analyze networks mapped in AutoCAD. But I met a problem with curved lines, i.e. circle, or polylines.
After importing .dwg file into .gdb, and using ...
8
votes
1
answer
2k
views
How to convert curved features into geojson
I'm using a MapGuide system which provides some CURVEPOLYGON(s).
Using python shapely's loads() raises a WKTReadingError.
Tried to find a tool that can approximate curved shapes into a polygon (as a ...
1
vote
1
answer
446
views
Drawing curved lines in Carto?
I have a dataset that has the following structure:
City_Start / Lat_City_Start / Long_City_Start / City_Dest / Lat_City_Dest / Long_City_Dest
What I want to do is create a curved line between those ...
5
votes
1
answer
2k
views
Preserving Curve Geometries in Leaflet
Is there any way to represent a polygon geometry that contains a curve accurately in Leaflet (from WKT)? GeoJSON conversion from WKT is insufficient as it digitizes the points of a curve out to an ...
1
vote
0
answers
59
views
Multi segment curves in polygons (SDE) [closed]
I'm looking for a tool, like Curves and Lines
that would work on polygon layer. At the moment I'm reshaping them feature by feature. Some notes about the data
We use Oracle Enterprise Geodatabase (...
1
vote
0
answers
127
views
Measuring length of curved lines for district
I work in a country which is divided in election destricts(polygon shp). I have the roads of the country as a vector layer (vector shp).
I want to find a tool for QGIS like sum line lengths of qgis (...
1
vote
0
answers
1k
views
Creating curved lines between two points in QGIS
I am trying to create curved lines between two point in QGIS. There are a few posts that show how to create these lines (hyperlinks below). However, I am having trouble executing the code in QGIS.
...
2
votes
0
answers
510
views
How to properly deal with rectangles being curved on geographies?
I'm using Microsoft SQL Server to store simple data for administrative boundaries of the world (lots of polygons). I store this in a geography data type column. Afterwards I query these polygons by a ...
1
vote
0
answers
159
views
how to draw curved line in a qgsmapcanvas
i am working on a project with qt4.8.6, api c++ of qgis 2.8.2
we need to draw curved line in a vectorlayer by given 2 points and an offset by exemple
is it possible to do that with the c++ api of ...