[mapserver-users] One table with multiple GeometryColumns

Martin Kofahl martin.kofahl at gmail.com
Mon Jan 27 02:39:15 PST 2014


Hi Jiří,
what about variable substitution? Something like "the_geom from (select
the_geom%srs% as the_geom  from ...) as foo" may be worth a try.

Kind regards,
Martin


2014/1/27 Jiří Kadlec <jirikadlec2 at gmail.com>

> Dear mapserver forum,
>
> In my PostGIS database I have a table 'lakes' with 3 geometry columns:
> the_geom4326, the_geom3857, the_geom3067
> My goal is to make my 'lakes' layer available in the 3 different
> projections: (EPSG:4326, EPSG:3857, EPSG:3067)
>
> Is this possible in MapServer?
>
> (then only way I managed so far is to serve the table as 3 different
> layers, first layer in EPSG:4326, second layer in EPSG:3857, third layer in
> EPSG:3067)
>
>
> Thanks a lot for help,
> --
> Jiří Kadlec
> Research Assistant
> Aalto university
> Lahti, Finland
>
> _______________________________________________
> mapserver-users mailing list
> 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/20140127/f7742449/attachment.html>


More information about the mapserver-users mailing list