[postgis-tickets] [PostGIS] #4687: Expose GEOS MaximumInscribedCircle
PostGIS
trac at osgeo.org
Fri May 8 07:07:51 PDT 2020
#4687: Expose GEOS MaximumInscribedCircle
--------------------------+---------------------------
Reporter: pramsey | Owner: pramsey
Type: enhancement | Status: assigned
Priority: high | Milestone: PostGIS 3.1.0
Component: postgis | Version: master
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by Algunenano):
Travis build broken by this changes: https://travis-
ci.org/github/postgis/postgis/jobs/684674046#L945
{{{
lwgeom_geos.c: In function 'ST_MaximumInscribedCircle':
lwgeom_geos.c:395:3: error: ISO C90 forbids mixed declarations and code
[-Werror=declaration-after-statement]
395 | double width = gbox.xmax - gbox.xmin;
| ^~~~~~
lwgeom_geos.c:404:3: error: ISO C90 forbids mixed declarations and code
[-Werror=declaration-after-statement]
404 | int gtype = gserialized_get_type(geom);
| ^~~
lwgeom_geos.c:426:3: error: ISO C90 forbids mixed declarations and code
[-Werror=declaration-after-statement]
426 | GEOSGeometry *gcenter = GEOSGeomGetStartPoint(g2);
| ^~~~~~~~~~~~
}}}
It should be available in PRs now (but it's marked as allowed to fail).
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4687#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list