Re: [UMN_MAPSERVER-USERS] postgis layer: DATA "the_geom from AS foo USING UNIQUE gid"

Mon, 19 Nov 2007 07:42:26 -0800

Steven De Vriendt wrote:
When I configure my layer as DATA "the_geom from <table_name> AS foo USING
UNIQUE gid"
Mapserver returns the following error [...]

You don't need any "AS foo" in your DATA statement unless you are using a subselect instead of referencing a table directly through its tablename. Drop the "AS foo" and everything should be fine.

Best regards,
--
--------------------------------------------------------------------
Andreas Albarello
Analysis & SW Development

Territorium Online srl/GmbH
Via Buozzi/Buozzistraße 12 - I 39100 Bolzano/Bozen
email: [EMAIL PROTECTED]
web:   www.territoriumonline.com
--------------------------------------------------------------------

Reply via email to