[postgis-tickets] [PostGIS] #3979: [Re]introduce postgis_geos_noop() and postgis_sfcgal_noop()

PostGIS trac at osgeo.org
Fri Jan 12 00:26:17 PST 2018


#3979: [Re]introduce postgis_geos_noop() and postgis_sfcgal_noop()
-------------------------+-------------------------------------------------
  Reporter:  lucasvr     |      Owner:  pramsey
      Type:  patch       |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 2.5.0
 Component:  postgis     |    Version:  2.4.x
Resolution:              |   Keywords:  serialization deserialization
                         |  performance
-------------------------+-------------------------------------------------

Comment (by strk):

 Sounds good. Only thing is (beside a missing TAB
 on line 792 of postgis/lwgeom_sfcgal.c) is I'd
 avoid the Buffer call in the test and give the
 geos_noop test a good label like the sfcgal one.

 If you feel like doing more, ideally those noop
 tests would test not a single geometry but
 a range of geometry types and dimensions, ensuring
 for example that the SRID is retained upon round-trip
 and the Z value (GEOS does not support the M value,
 not sure about sfcgal, if it does it's worth testing
 that too) and the different types (not all types are
 supported by GEOS)

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3979#comment:5>
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