Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3117 closed enhancement (fixed)

Add support for SFCGAL 1.1

Reported by: vmo Owned by: colivier
Priority: high Milestone: PostGIS 2.2.0
Component: sfcgal Version: 2.1.x
Keywords: Cc:

Description


Attachments (1)

issue_3117.patch (19.2 KB ) - added by vmo 9 years ago.

Download all attachments as: .zip

Change History (6)

by vmo, 9 years ago

Attachment: issue_3117.patch added

comment:1 by vmo, 9 years ago

Here is a summary of the attached patch.

In doc/reference_sfcgal.xml

  • added doc for ST_3DDifference, ST_3DUnion, ST_Volume
  • added doc for ST_MakeSolid and ST_IsSolid that are pure postgis functions to set/get the solid flag

In postgis/lwgeom_backend_api.c

  • added backend switch for difference and union

In postgis/lwgeom_geos.h and postgis/lwgeom_geos.c

  • changed the name of difference and union
  • exposed those renamed functions

In postgis/lwgeom_sfcgal.c

  • added difference, union, volume
  • added makesolid and issolid

In postgis/sfcgal.sql.in

  • added ST_3DDifference, ST_3DUnion and ST_Volume
  • added ST_MakeSolid and ST_IsSolid

In regress/sfcgal/concave_hull.sql

  • fixed test failure caused by insufficient tolerance

In regress/sfcgal/empty.sql, regress/sfcgal/empty_expected, regress/sfcgal/regress_ogc.sql and regress/sfcgal/regress_ogc_expected

  • fixed test to avoid failure on equivalent representation of a polygon (different starting point for a ring)

comment:2 by strk, 9 years ago

Priority: mediumhigh

Would be nice to get this in PostGIS-2.2. Even better if we're ready for SFCGAL-1.2.0 (yet to be released)

comment:3 by colivier, 9 years ago

Commited in trunk as r13709.

comment:4 by colivier, 9 years ago

Resolution: fixed
Status: newclosed

comment:5 by robe, 9 years ago

Please see #3182

Note: See TracTickets for help on using tickets.