From: David Sharp <dsharp@altobridge.com>
Subject: [postgis-users] (no subject)
Date: 16 Mar 2004 09:30:35 +0000
Message-ID: <1079429435.13578.2.camel@davidpc> (raw)
Hi ,
I just have a quick question , I am developing a gps/gis application at
the moment and I am using postgresql as my database with postgis as a
spatial extension.
I was wondering is it possible to calculate the distance between an
external point and a polygon . I am using lat/lon as units . The error I
am receiving is
>
> when I enter
>
> SELECT ('(10.9,-62.)'::point <@> '((18.418 -65.772,17.957
> -65.832,18.0515 -66.865,18.361 -66.986,18.418
> -65.772))'::polygon)::numeric(20,5);
>
>
> ERROR: Bad polygon external representation '((18.418 -65.772,17.957
> -65.832,18.0515 -66.865,18.361 -66.986,18.418 -65.772))'
>
> Any help much appreciated
>
> David Sharp
>
>
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: <1079429435.13578.2.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