[postgis-users] PostGis 8.1 - error with "using unique"

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Thu Dec 1 07:31:38 PST 2005


> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of jerome
> Sent: 01 December 2005 15:09
> To: PostGIS Users Discussion
> Subject: [postgis-users] PostGis 8.1 - error with "using unique"

(cut)

> $layer->set("data",$colonne_geometrique." from ".$table_choisie." as
> foo");


Hi Jerome,

Please see this post here:
http://postgis.refractions.net/pipermail/postgis-users/2005-November/010087.
html. Also I don't see any "using unique" clause in your data statement. It
should read something like:

$layer->set("data", $colonne_geometrique." from ".$table_choisie." using
unique <id>");

... where <id> is the name of your primary key. Since this is an issue with
the Mapserver/PostGIS connector, you may get better assistance on the
mapserver-users mailing list.


Kind regards,

Mark.

------------------------
WebBased Ltd
17 Research Way
Plymouth
PL6 8BT

T: +44 (0)1752 797131
F: +44 (0)1752 791023

http://www.webbased.co.uk   
http://www.infomapper.com
http://www.swtc.co.uk  

This email and any attachments are confidential to the intended recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify the sender. You should not copy it or
use it for any purpose nor disclose or distribute its contents to any other
person.






More information about the postgis-users mailing list