[Qgis-developer] Example with curves for changeling

Tim Sutton tim at kartoza.com
Thu Jun 25 08:15:59 PDT 2015


Hi

Has anyone played with curves support? At the hackfest Marco showed me digitising tools but I believe these are not going to be in 2.10 right? So for the changelog we can only say that we support curved geometries? I tried this simple test:

-- Table: curves

DROP TABLE curves;

CREATE TABLE curves
(
  id bigserial NOT NULL,
  geometry geometry(CURVEPOLYGON, 4326),
  name text,
  CONSTRAINT p_key PRIMARY KEY (id)
);

insert into curves values (1, st_geomfromtext('CURVEPOLYGON(CIRCULARSTRING(1 1,1 2, 2 2, 2 1, 1 1))', 4326), 'test');


And then added curves layer QGIS successfully. It seems that the curves are still represented as segmented polygons for now using the above example. Is that the expected experience or am I doing something wrong?

Regards

Tim

—





Tim Sutton

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services

Skype: timlinux Irc: timlinux on #qgis at freenode.net
Tim is a member of the QGIS Project Steering Committee

Kartoza is a merger between Linfiniti and Afrispatial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150625/b2998b25/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaLogo160x66.png
Type: image/png
Size: 9324 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150625/b2998b25/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150625/b2998b25/attachment-0001.pgp>


More information about the Qgis-developer mailing list