[mapserver-users] copyright, logos, etc
Julien Cigar
jcigar at ulb.ac.be
Wed Feb 11 08:10:49 PST 2015
On Wed, Feb 11, 2015 at 03:25:15PM +0000, Eichner, Andreas - SID wrote:
>
> >
> > It's a little ugly but it works with:
> > https://gist.github.com/silenius/f0b0fb856b82a7c70eaa
>
> Being on PostGIS I'd suggest using the native driver with something like that:
>
> CONNECTIONTYPE postgis
> DATA "geom FROM (select id, name, now() as generated_date, st_GeomFromText('POINT(-5 70)') AS geom FROM map WHERE id=%MYID%) AS tmp USING SRID=-1 USING UNIQUE id"
> CLASS
> LABEL
> TEXT "Species name: [name] (last updated: [generated_date])"
> FONT "vera"
> TYPE TRUETYPE
> SIZE 7
> BUFFER 1
> COLOR 0 0 0
> FORCE TRUE
> STYLE
> GEOMTRANSFORM 'labelpoly'
> COLOR 255 255 255
> END
> END
> END
that works even better .. thanks!
--
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150211/12dfb5ca/attachment.sig>
More information about the MapServer-users
mailing list