<!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.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=051453319-06102008><FONT face=Verdana 
color=#000080 size=2>I have it in Oracle. I will try the same 
there.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=051453319-06102008><FONT face=Verdana 
color=#000080 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=051453319-06102008><FONT face=Verdana 
color=#000080 size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=051453319-06102008><FONT face=Verdana 
color=#000080 size=2>Johan</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV class=Section1>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1.5pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 1pt; BORDER-BOTTOM: medium none; mso-element: para-border-div">
<H3 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext 1.5pt; mso-padding-alt: 1.0pt 0cm 0cm 0cm"><SPAN 
lang=SV 
style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV">Johan 
Hallgren</SPAN><SPAN lang=SV 
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV"><?xml:namespace 
prefix = o ns = "urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></SPAN></H3></DIV>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; mso-element: para-border-div; mso-border-bottom-alt: solid windowtext .5pt">
<P class=MsoNormal 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-padding-alt: 0cm 0cm 1.0pt 0cm; mso-border-bottom-alt: solid windowtext .5pt"><SPAN 
class=SpellE><B style="mso-bidi-font-weight: normal"><SPAN lang=SV 
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV">Logica</SPAN></B></SPAN><B 
style="mso-bidi-font-weight: normal"><SPAN lang=SV 
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV"><BR></SPAN></B><SPAN 
lang=SV 
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV">Pelle 
Bergs backe 3<BR>Box 1938,&nbsp;791 19 Falun<BR><SPAN 
style="mso-no-proof: yes">Tel (och mobil): 023-547&nbsp;46 (int: 
+46-2354746)<BR></SPAN><U><SPAN style="COLOR: blue"><A 
href="mailto:johan.hallgren@logica.com">johan.hallgren@logica.com</A><BR></SPAN></U><A 
title=blocked::https://webaccess.wmdata.com/exchweb/bin/redir.asp?URL=http://www.wmdata.se/ 
href="http://www.logica.se/" target=_blank>http://www.logica.se</A></SPAN><SPAN 
lang=SV 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV"><o:p></o:p></SPAN></P></DIV></DIV>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Roger André [mailto:randre@gmail.com] 
<BR><B>Sent:</B> den 6 oktober 2008 18:02<BR><B>To:</B> Hallgren, 
Johan<BR><B>Cc:</B> mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: 
[mapserver-users] Draw point on a polygonlayer<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>If it is stored in PostGIS, maybe could you create a view that is 
the centerpoints of the polys, and then create a new mapserver layer that uses 
the view as the data source?<BR>--<BR><BR>
<DIV class=gmail_quote>On Mon, Oct 6, 2008 at 5:56 AM, Hallgren, Johan <SPAN 
dir=ltr>&lt;<A 
href="mailto:johan.hallgren@logica.com">johan.hallgren@logica.com</A>&gt;</SPAN> 
wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV><SPAN><FONT face=Verdana size=2>Hello,</FONT></SPAN></DIV>
  <DIV><SPAN><FONT face=Verdana size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN><FONT face=Verdana size=2>Is there some way to define a layer so it 
  will draw a centerpoint for a polygon layer. I could use an annotaion layer 
  type, but in that case, the legend will show the label, and not the point 
  symbol. </FONT></SPAN></DIV>
  <DIV><SPAN><FONT face=Verdana size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN><FONT face=Verdana size=2>Any ideas?</FONT></SPAN></DIV>
  <DIV><SPAN><FONT face=Verdana size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN><FONT face=Verdana size=2>/Johan</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1.5pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 1pt; BORDER-BOTTOM: medium none">
  <H3 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none"><SPAN 
  lang=SV style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana">Johan 
  Hallgren</SPAN><SPAN lang=SV style="FONT-FAMILY: Verdana"></SPAN></H3></DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: 1pt solid">
  <P 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none"><SPAN><B><SPAN 
  lang=SV 
  style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">Logica</SPAN></B></SPAN><B><SPAN 
  lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana"><BR></SPAN></B><SPAN 
  lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">Pelle Bergs backe 
  3<BR>Box 1938,&nbsp;791 19 Falun<BR><SPAN>Tel (och mobil): 023-547&nbsp;46 
  (int: +46-2354746)<BR></SPAN><U><SPAN style="COLOR: blue"><A 
  href="mailto:johan.hallgren@logica.com" 
  target=_blank>johan.hallgren@logica.com</A><BR></SPAN></U><A 
  title=blocked::https://webaccess.wmdata.com/exchweb/bin/redir.asp?URL=http://www.wmdata.se/ 
  href="http://www.logica.se/" 
  target=_blank>http://www.logica.se</A></SPAN><SPAN lang=SV 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"></SPAN></P></DIV></DIV>
  <DIV>&nbsp;</DIV></DIV><BR>_______________________________________________<BR>mapserver-users 
  mailing list<BR><A 
  href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><A 
  href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" 
  target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>