[mapserver-users] USING UNIQUE with multiple fields
geographika
geographika at gmail.com
Tue Mar 29 13:38:30 PDT 2011
Thanks Tamas and Jukka for you replies. I'll be able to work around it
with a view as suggested.
It would be good to clarify the USING UNIQUE clause somewhere in the docs.
--
web:http://geographika.co.uk
twitter: @geographika
On 29/03/2011 12:39, Tamas Szekeres wrote:
> Hi,
>
> That is not possible, the feature ID must be an integer field with the
> current implementation.
>
> Best regards,
>
> Tamas
>
>
>
> 2011/3/29 geographika <geographika at gmail.com
> <mailto:geographika at gmail.com>>
>
> Hi
>
> I have a feature table which I'm serving out as a WFS. It has a
> two column unique index - is there support for this in a LAYER
> definition in a mapfile?
>
> E.g. DATA "GEOM from mytable USING SRID=29902 USING UNIQUE
> Field1,Field2
>
> I presume not as I've tried a few combinations with no success,
> but just wondered if this is possible. I'm using a SQL Server 2008
> connection.
> Thanks for any help,
>
> Seth
>
> --
> web:http://geographika.co.uk
> twitter: @geographika
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110329/9f1ae55e/attachment.htm>
More information about the MapServer-users
mailing list