[postgis-tickets] [PostGIS] #3253: ST_3DMaxDistance curved geometries mixed dimension yields DIST_MAX mode not supported

PostGIS trac at osgeo.org
Fri Aug 21 00:34:26 PDT 2015


#3253: ST_3DMaxDistance curved geometries mixed dimension yields DIST_MAX mode not
supported
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  low      |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 nicklas,

 I was testing with:


 {{{
 POSTGIS="2.2.0dev r13966" GEOS="3.5.0-CAPI-1.9.0 r4088" PROJ="Rel. 4.9.1,
 04 March 2015" GDAL="GDAL 2.0.0, released 2015/06/14" LIBXML="2.7.8"
 LIBJSON="0.12" RASTER
 }}}


 When I run with ST_MaxDistance, it appears to be supported (whether it
 gives right answer is another question)


 {{{
 SELECT ST_MaxDistance('GEOMETRYCOLLECTION Z (MULTIPOLYGON Z (((-71.0821
 42.3036 2,-71.0822 42.3036 2,-71.082 42.3038 2,-71.0819 42.3037 2,-71.0821
 42.3036 2))),POLYGON Z ((-71.1261 42.2703 1,-71.1257 42.2703 1,-71.1257
 42.2701 1,-71.126 42.2701 1,-71.1261 42.2702 1,-71.1261 42.2703
 1)))'::geometry, 'MULTISURFACE(CURVEPOLYGON(CIRCULARSTRING(-71.0821
 42.3036,-71.4821 42.3036,-71.7821 42.7036,-71.0821 42.7036,-71.0821
 42.3036),(-71.1821 42.4036,-71.3821 42.6036,-71.3821 42.4036,-71.1821
 42.4036)))'::geometry);

 --outputs
 0.806349831028689
 }}}

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