[postgis-devel] [PostGIS] #260: Geography inconsistent distance behavior from geometry can't compare different dimensonality
PostGIS
trac at osgeo.org
Wed Oct 7 07:48:24 PDT 2009
#260: Geography inconsistent distance behavior from geometry can't compare
different dimensonality
----------------------+-----------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: postgis 1.5.0
Component: postgis | Version:
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by robe):
Paul,
Sorry about that. I had mistakenly thought they were the same issue since
they were generating the same error message. The M x M case works now and
so does the POINT, POINT.
So just this first one I started with is inconsistent with geometry
ST_Distance and ST_DWithin behavior.
{{{
SELECT ST_Distance(
ST_GeographyFromText('SRID=4326;MULTIPOLYGONM(((0 0 2,10 0
1,10 10 -2,0 10 -5,0 0 -5),(5 5 6,7 5 6,7 7 6,5 7 10,5 5 -2)))'),
ST_GeomFromEWKT('SRID=4326;POLYGON((-8 50 2,52 -12 2,-10
50 2,-8 50 2))'));
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/260#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list