Skip to main content

Questions tagged [curved]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
103 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 = ...
UngerFGIS1985's user avatar
2 votes
0 answers
157 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 ...
bugmenot123's user avatar
  • 10.9k
1 vote
0 answers
108 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 ...
Rii Pii's user avatar
  • 464
4 votes
3 answers
395 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: ...
Iven Pepa's user avatar
  • 341
2 votes
0 answers
145 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 ...
Rob Wilhelm's user avatar
4 votes
1 answer
254 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 ...
MrXsquared's user avatar
  • 34.5k
1 vote
1 answer
193 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 ...
vigna purohit's user avatar
2 votes
1 answer
156 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 ...
Will Hipson's user avatar
0 votes
0 answers
70 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 ...
Steve Bennett's user avatar
2 votes
3 answers
316 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" (...
PollyGone's user avatar
  • 111
4 votes
1 answer
1k 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 ...
Sarah Hagg's user avatar
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 ...
BR75's user avatar
  • 447
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 ...
high_point's user avatar
1 vote
0 answers
99 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 ...
DakarX's user avatar
  • 49
4 votes
1 answer
139 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 ...
user94812's user avatar
  • 497
1 vote
0 answers
287 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 ...
Maks  Sloboda's user avatar
2 votes
1 answer
131 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 ...
Zhang.lz's user avatar
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 ...
Ikar Pohorský's user avatar
1 vote
1 answer
436 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 ...
Adrian Breda's user avatar
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 ...
4xle's user avatar
  • 123
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 (...
SeraZee's user avatar
  • 11
1 vote
0 answers
123 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 (...
Ilias Machairas's user avatar
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. ...
Danny's user avatar
  • 325
2 votes
0 answers
496 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 ...
Vilx-'s user avatar
  • 194
1 vote
0 answers
156 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 ...
ainardi's user avatar
  • 843