[mapserver-users] Re: mapserver documentation: unique gid using srid=x ?
Ivan Mincik
ivan.mincik at gista.sk
Mon Feb 8 07:30:03 PST 2010
>Hi,
>according Mapserver docs: http://mapserver.org/input/vector/postgis.html there is different syntax of using "USING
>UNIQUE gid USING SRID=x" string in DATA line in similar cases.
>In simple case example:
>DATA "the_geom from the_database USING unique gid using srid=4326"
>In case of using a SQL subquery example:
>DATA "the_geom from (select g.gid, g.the_geom, a.attr1, a.attr2 from geotable g join attrtable a on g.gid = a.aid) as
>subquery unique gid using srid=4326"
>When comparing these two examples, second example (SQL subquery example) is missing first "USING" keyword. Shouldn't be
>second example as following:
>DATA "the_geom from (select g.gid, g.the_geom, a.attr1, a.attr2 from geotable g join attrtable a on g.gid = a.aid) as
>subquery USING unique gid using srid=4326"
When testing on Mapserver 5.2.x, it seems to be typo in documentation. If I am correct, would You please fix it ?
Thanks. Ivan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100208/22553c81/attachment.sig>
More information about the MapServer-users
mailing list