<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT face=Arial 
color=#0000ff size=2>Hi Marco,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT face=Arial 
color=#0000ff size=2>Thanks for you aswer.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT face=Arial 
color=#0000ff size=2>About the symbol issue. . i think at the moment there is no 
way to fix this problem.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT face=Arial 
color=#0000ff size=2>About the bbox issue:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=875255215-09012007><FONT size=2>
<P></FONT><A 
href="http://cvs.gis.umn.edu/cgi-bin/viewcvs/mapserver/mappostgis.c?rev=1.74&content-type=text/vnd.viewcvs-markup"><U><FONT 
color=#0000ff size=2><A 
href="http://cvs.gis.umn.edu/cgi-bin/viewcvs/mapserver/mappostgis.c?rev=1.74&content-type=text/vnd.viewcvs-markup/">http://cvs.gis.umn.edu/cgi-bin/viewcvs/mapserver/mappostgis.c?rev=1.74&content-type=text/vnd.viewcvs-markup</U></FONT></A><FONT 
size=2><BR>/</A>* we return an infinite extent */<BR>/* we could call the SQL 
AGGREGATE extent(GEOMETRY), but that would take FOREVER */<BR>/* to return (it 
has to read the entire table). */<BR>/* So, we just tell it that we're 
everywhere and lets the spatial indexing figure things out for us */<BR>/* 
*/<BR>/* Never seen this function actually called */ int 
msPOSTGISLayerGetExtent(layerObj *layer, rectObj 
*extent)</P></FONT></SPAN></DIV>
<DIV><SPAN class=875255215-09012007><FONT face=Arial color=#0000ff 
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=875255215-09012007><FONT face=Arial color=#0000ff 
size=2>Gerard</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT><BR> </DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
postgis-users-bounces@postgis.refractions.net 
[mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of </B>marco 
vieira<BR><B>Sent:</B> dinsdag 9 januari 2007 13:00<BR><B>To:</B> PostGIS Users 
Discussion<BR><B>Subject:</B> Re: [postgis-users] Mapserver WMS and Google 
Maps<BR></FONT><BR></DIV>
<DIV></DIV>Gerard<BR>  Postgis calculate the extents for each mapserver 
requisition (for each tile) and mapserver draws it with your symbolization. In 
this case the extents of a particular tile do not involve the point with you 
want to draw but the contiguous tile involve. The problem is that the symbol 
size you are drawing to a particular tile (one requisition) is big than virtual 
invade the area os another tile (another requisition) but this last requisiton 
not contains this point (and didn't draw it). <BR>  I think that there is 
no way to eliminate this problem for all cases because of tiling method of 
google maps but you may ask for mapserver-users list about simbolization 
issues.<BR>Regards,<BR><BR>-- <BR>Marco Vieira <BR>+55 21 9499-6800<BR>e-mail: 
<A href="mailto:maovieira@gmail.com">maovieira@gmail.com</A> <BR><BR>
<DIV><SPAN class=gmail_quote>2007/1/8, Gerard Troost <<A 
href="mailto:Gerard.Troost@sovon.nl">Gerard.Troost@sovon.nl</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV><FONT face=Arial size=2><SPAN>Hi all,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN>Last week i used some time to configure our 
  mapserver as wms-server and after that adding an wms-layers to Google 
  Maps. In basic this has not to be very difficult but,  some strange 
  things took lots of time. Last weekend i've get everything working an i must 
  say, is works good.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN>But </SPAN></FONT><FONT face=Arial 
  size=2><SPAN>now i have everything working i have 2 questions 
  left.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN>A. The attached picture is a (part of) an 
  WMS layer projected on Google Maps. Everything looks fine but if you take a 
  closer look you can see that the points 7 and the lower right point not drawn 
  correctly because they are plotted near an imageborder (Google Maps downloads 
  each layer in tiles.). </SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN>How can i solve this 
  problem?</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial size=2><SPAN>B. I find out that the WMS extent for 
  postgis layers is not calculated automaticly. If i add an layer based on a 
  shape file it calculated wms extent automaticly. 
</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><SPAN><FONT face=Arial size=2>Thanks for you answers or 
  suggestions,</FONT></SPAN></DIV>
  <DIV><FONT size=2><EM><BR>Gerard Troost<BR></EM></FONT><FONT size=2><EM>SOVON 
  Dutch Centre for Field 
  Ornithology<BR></EM></FONT></DIV></DIV><BR>_______________________________________________<BR>postgis-users 
  mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net 
  </A><BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
  href="http://postgis.refractions.net/mailman/listinfo/postgis-users" 
  target=_blank>http://postgis.refractions.net/mailman/listinfo/postgis-users</A><BR><BR><BR><BR 
  clear=all></BLOCKQUOTE></DIV><BR><BR clear=all><BR></BODY></HTML>