<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dirk,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I get the same problem </FONT><FONT face=Arial
size=2>enabling MapTips with postgis layers. Could you finally fix it
in a way or another?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Pierre</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV>Hello again,<BR><BR>I have done some more investigations regarding the
problem of PostGIS <BR>layers not recognized by the Maptips widget. It works
fine with shapes <BR>but not with PostGIS. Until now, I found that the
getShape
function:<BR><BR>
$oShape = $oLayer->getShape($nTile, 0 );<BR><BR>in LayerAttributes.php does
not return an object if the layer is a <BR>PostGIS layer. Therefore, the layer
does not appear in the selection dialog.<BR><BR>If I use
$oLayer->getItems() to retrieve the attributes of the layers, <BR>they at
least appear in the "Configure MapTips", but nothing happens <BR>within the
map. Might this be specific to the development version of
<BR>Mapserver/MapScript (see below for the configuration)?<BR><BR>By the way,
clicking <OK> in the "Configure MapTips" executes the <BR>currently
active navigation function, e.g. ZoomIn or ZoomOut. Is this a
<BR>misconfiguration or a bug?<BR><BR>Finally, my
configuration:<BR><BR>Windows XP Pro<BR>Postgres 8 nativ Windows<BR>PostGIS
1.0<BR>Apache 2.0.53<BR>PHP 5.0.3 (modul)<BR>Mapserver and Mapscript 4.5
(development version from MapTools.org).<BR><BR>Regards,<BR>Dirk
Jesko<BR></DIV></BLOCKQUOTE></BODY></HTML>