From: David Sharp <dsharp@altobridge.com>
Subject: [postgis-users] (no subject)
Date: 18 Mar 2004 12:06:26 +0000
Message-ID: <1079611586.32163.13.camel@davidpc> (raw)
In-Reply-To: <8F4A22E017460A458DB7BBAB65CA6AE512D199@openmanage>
References: <8F4A22E017460A458DB7BBAB65CA6AE512D199@openmanage>
Hi ,
thanks mark for the reply ,I have come across another problem though ,
I am trying to get the distance between a point and a polygon using the
spherical distance function. Using degrees as units I would like to
represent my distance in metres.
Is my query incorrect
select distance_spheroid((geometryfromtext('POINT(10.9 -62.0)',
-1)),(geometryfromtext('POLYGON((18.418 -65.772 0,17.957 -65.832
0,18.0515 -66.865 0,18.361 -66.986 0,18.418 -65.772
0))',-1)),'SPHEROID["WGS84",6378137,298.257223563]');
because I receive the error
"optimistic_overlap: second arg isnt a point "
Is the function only possible between two points ?
any feedback helpful
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgis-users@lists.osgeo.org
Cc: dsharp@altobridge.com
Subject: Re: [postgis-users] (no subject)
In-Reply-To: <1079611586.32163.13.camel@davidpc>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox