[Cartoweb-users] Tooltips behaviour (2nd)
Oliver Christen
oliver.christen at camptocamp.com
Mon Sep 15 05:11:38 EDT 2008
Hi
simply specify
tooltips.yourlayerid.srid = 27573
in tooltips.ini
regards
Oliver
----- Original Message -----
From: Claire Chastagnol
To: Oliver Christen ; Νίκος Παπαδάκης ; cartoweb
Sent: Monday, September 15, 2008 11:04 AM
Subject: Re: [Cartoweb-users] Tooltips behaviour (2nd)
Hi everybody!!
Since we are in the tooltips problems, the ones I put in my project don't work.
My debbugger says:
AjaxPlugins.ToolTips: sending request for coords 671744.1666666666, 96594.18276492762...
Request sent with url :./crise_routes.php?toolTips=1&geoX=671744.1666666666&geoY=96594.18276492762&charSet=utf-8〈=
Error: Error: [object XMLHttpRequest]
AjaxPlugins.ToolTips: AJAX request aborted!
and firebug:
Message: DB Error: unknown errorUserinfo: SELECT type_ev, observations FROM evenements WHERE the_geom && setSRID('BOX3D(670573.333333 95424.1871373, 672915 97764.1783926)'::box3d, -1) AND Distance(the_geom, GeometryFromText( 'POINT(671744.1666666666 96594.18276492762)', -1 ) ) < 2341.66666667 [nativecode=ERREUR: Operation on two geometries with different SRIDs]
The layer I want to get tooltips on has a projection type epsg : 27573.
I read somewhere that tooltips worked only with srids = -1.
Is that true? How can I solve the problem in this case?
Thanks.
Claire
> Message du 15/09/08 09:33
> De : "Oliver Christen"
> A : "Νίκος Παπαδάκης" , "cartoweb"
> Copie à :
> Objet : Re: [Cartoweb-users] Tooltips behaviour (2nd)
>
>
> see my other message about your first question.
>
> about encoding, be sure your greek text are encoded in utf8 and, if your
> EncoderClass.config is NOT EncoderUTF, you need to set EncoderClass.data =
> EncoderUTF in your client.ini
>
> regards
> Oliver
>
> > Sorry but i rushed to press "send".
> >
> > Also is there a way to show the information of a point
> > AFTER a mouse click and NOT when the mouse is left over the point?
> >
> > FInally,i want to ask something about the encoding of the data.
> > My data have a 'label' column where information for the points are steord.
> > But they are written in greek so when tooltips plugin reads them
> > incomprehensible characters are shown.
> > What can i do?
> >
> >
> > Thank you again!
> > Nikos Papadakis.
> > _______________________________________________
> > Cartoweb-users mailing list
> > Cartoweb-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080915/cc3c24e4/attachment.html
More information about the Cartoweb-users
mailing list