<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Didn't I hear this advice before on this list :-)<br>
<br>
Jan<br>
<br>
On 7-4-2011 21:49, Lime, Steve D (DNR) wrote:
<blockquote
cite="mid:A7F7B3043D3BF0438F1206BAA3C9933C083151534E@MNMAIL05.ead.state.mn.us"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<title>RE: making POINT with SQL </title>
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Make sure you’re actually turning the layer on.
Status ON always makes me wonder. Try setting STATUS to
DEFAULT and comment out the maxscale line and see what
happens. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</a>] <b>On
Behalf Of </b>Juan Carlos Monestel<br>
<b>Sent:</b> Thursday, April 07, 2011 1:21 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-users] RE: making POINT with
SQL <o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin-bottom: 12pt;"><span style="font-size: 10pt;">Hi<br>
it is not drawing and no error occurs<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Lime, Steve D (DNR) [<a moz-do-not-send="true"
href="mailto:steve.lime@state.mn.us">mailto:steve.lime@state.mn.us</a>]<br>
Sent: Thu 4/7/2011 2:43 PM<br>
To: Juan Carlos Monestel; <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: RE: making POINT with SQL<br>
<br>
What does "not working" mean? Steve<br>
<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [<a
moz-do-not-send="true"
href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</a>]
On Behalf Of Juan Carlos Monestel<br>
Sent: Thursday, April 07, 2011 12:04 PM<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: [mapserver-users] making POINT with SQL<br>
<br>
<br>
Hello<br>
I'm trying to make an POINT in the map but it's not working<br>
<br>
this is my Layer<br>
layer<br>
name "ponto"<br>
connectiontype POSTGIS<br>
connection "dbname=xxxx user=xxxxx host=xxxxx
port=xxxxx"<br>
data "geo_info from table"<br>
type point<br>
status on<br>
metadata<br>
tile_source "nocache"<br>
end<br>
maxscale 3000001<br>
class<br>
style<br>
size 4<br>
symbol "circulo"<br>
color 0 0 0<br>
end<br>
style<br>
size 1<br>
symbol "circulo"<br>
color 255 255 255<br>
end<br>
end<br>
end<br>
<br>
<br>
The SQL brings me an geo info
("0101000020E610000079E9263108DC42C08716D9CEF75338C0") that
in text is = "POINT(-37.719 -24.328)"<br>
<br>
<br>
Any Ideas ?<br>
<br>
</span><o:p></o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>