[postgis-users] (no subject)

David Sharp dsharp at altobridge.com
Tue Mar 16 01:30:35 PST 2004


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
> 
> 
 




More information about the postgis-users mailing list