2

I'm a newbie in GIS and for a project I need to create a shapefile given some points in lat/lon. I have been following this tutorial: https://community.pyramidanalytics.com/t/q5tk8w/creating-a-shapefile-using-latitude-and-longitude-coordinates and it's OK for polygons but I need some lines to be curved.

My data is described given vertices and circles, like this: 3400N 02500W; 3000N 02000W; 3139N 01725W from this point following an arc of a circle 100 NM centred on 3304N 01621W up to 3130N 01545W... and then it continue giving the points of the vertices of the polygon.

(There are other curved parts as well, described like the above part, but I think with one example I'd be able to do the others).

How can I solve this?

1
  • shape file specification does not support /allow curved line. shapefiles of type line are always connected by straight lines
    – Kurt
    Commented Feb 7, 2019 at 19:19

2 Answers 2

2

That sounds like parcel or cadastral data. Try one of these plugins (descriptions copied directly from plugin directory):

CoGo Plugin

A plugin to capture coordinates, bearings and distances and to use these to construct and manage land parcels.

-

BoundaryDelineation (This plugin is experimental)

Supports interactive delineation of visible (cadastral) boundaries in orthoimages

The plugin is designed to support the interactive delineation of visible (cadastral) boundaries in orthoimages. This work is supported by its4land, which is part of the Horizon 2020 program of the European Union (project number 687828).

Video Tutorial: https://youtu.be/f6an86_-OaY

There are also plugins available for cadastre data for specific regions/languages, including France, Germany, Spain, Slovak and Columbia. Find them by searching for "cadast" in the plugin manager.

As Erik and Kurt pointed out, the shapefile format cannot store a curve. These plugins will help you enter the data, which will be converted to vertices connected by straight lines. If you need it to be stored as curves, look into some of the many other data formats supported by QGIS; there's probably some that can store curves.

These Wikipedia pages may also be interesting:

1

Put all points into a shapefile, either by manually entering them in QGIS, or by putting them into a csv and loading it into QGIS.

Buffer the points which are the center of any arc by the given distance (yes, you'll have to convert to km first), then manually draw the polygons using snapping by connecting the points and arcs in the correct order.

Also, note on the side: The common combination of QGIS and shapefile can't do curves. Anything which poses as a curve or circle is just enough points connected by short, straight lines so they seem to form a curve. As @ndawson pointed out, there are some file types which are able to store true curves, and you also are able to manually add curves via the shape digitzing toolbar (https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#add-circular-string).

10
  • 1
    Fyi : qgis does have full support for true curved geometries, I've removed your note from the end of the answer.
    – ndawson
    Commented Feb 7, 2019 at 21:50
  • 1
    Don't hurl fragments of information at us, please expand @ndawson. I haven't heard of it.
    – Erik
    Commented Feb 8, 2019 at 7:54
  • 1
    It's been supported since qgis 2.10 - check the changelog
    – ndawson
    Commented Feb 8, 2019 at 8:02
  • 1
    qgis.org/en/site/forusers/visualchangelog210/…
    – ndawson
    Commented Feb 8, 2019 at 8:04
  • 1
    Supported when using PostGIS - that's something different than using plain QGis.
    – Erik
    Commented Feb 8, 2019 at 8:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.