[Mapserver-users] WMS layer status always on?

Astolfo,Rebecca [Burlington] Rebecca.Astolfo at ec.gc.ca
Fri Feb 6 12:28:21 EST 2004


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3ECD6.9E0A7DB0
Content-Type: text/plain

Hello,

 

I am wondering if anyone has come across a situation where a WMS has been
successfully added to a .map file and all appears to be working well in the
mapview but the legend does not allow you to change the status that was set
in the .map file.  If you set the status to on, it can not be turned off -
if you set the status to off, it can not be turned on in the view.  Status
Default does not change things.

 

Any thoughts?

 

Thanks for your time,

Rebecca

 

Rebecca Astolfo

GIS Specialist

IT Division

Environment Canada

 

 

-----Original Message-----
From: RAJA RAMAN [mailto:kamma_raja at yahoo.com] 
Sent: February 6, 2004 11:26 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Question regarding connetion between mapserver
and Arc SDE

 

Dear all,

 

I am trying to connect the arc SDE layer to mapserver and first i would like
to know whether SDE is same as arcSDE or something else. I am trying to
connect this through the oracle database. 

 

Please find the attached  code for the arcSDE layer in the map file which I
have created. I am not able to see anything when I display this layer. any
suggestions will be appreciated.

 

System setup:

 

Windows 2000 professional

Arc SDE 8.2

Oracle 9i

Mapserver 4.0

 

Coding:

 

 

LAYER
    NAME "Bio2002"
    STATUS ON
    DATA "SDE.SDE.BIO2002_POLYGON,Shape"
    TYPE POLYGON
    CONNECTIONTYPE SDE
    CONNECTION "pc212614,esri_sde,Oracle,sde,arcims"
    CLASSITEM "ID"
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 3
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt.html"
    CLASS
      NAME "BIo2002"
      SYMBOL 0
      COLOR 254 228 141
      OUTLINECOLOR 71 63 39
      SIZE 1
      MINSIZE 1
      MAXSIZE 100
      LABEL
        TYPE TRUETYPE
        FONT "fritqat"
        SIZE 8
        MINSIZE 4
        MAXSIZE 256
        POSITION CC
        OFFSET 0 0 
        ANGLE 0.000000
        BUFFER 0
        MINDISTANCE -1
        MINFEATURESIZE -1
        COLOR 0 0 0
        ANTIALIAS TRUE
        PARTIALS TRUE
        FORCE FALSE
      END
    END
 END

I am little bit confused about the data and the connection
parameters......can anybody clearly explain how to specify the data in DATA 


Thank you in advance

rajaraman kamma

 

 

ADDRESSES 

RAJA RAMAN KAMMA 
PFAFFELWELDRING, 44D,206,70569 STUTTGART,GERMANY 
Cell numbers: Home: 0711-9984931 Mobile: 0049-1797785507 
Home Page:http://www.geocities.com/kamma_raja/ 
Photos: http://rajaraman.fotopic.net
<http://rajaraman.fotopic.net/show_collection.php?offset=1&id=94525> 

  _____  

Do you Yahoo!?
Yahoo! Finance: Get
<http://us.rd.yahoo.com/evt=22055/*http:/taxes.yahoo.com/filing.html>  your
refund fast by filing online


------_=_NextPart_001_01C3ECD6.9E0A7DB0
Content-Type: text/html

<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @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:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:Arial;}
p
	{margin-right:0cm;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle19
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hello,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I am wondering if anyone has come across a
situation where a WMS has been successfully added to a .map file and all appears
to be working well in the mapview but the legend does not allow you to change the
status that was set in the .map file.&nbsp; If you set the status to on, it can
not be turned off - if you set the status to off, it can not be turned on
in the view.&nbsp; Status Default does not change things.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Any thoughts?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your time,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Rebecca</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoAutoSig><b><font size=1 face=Arial><span lang=EN-CA
style='font-size:8.0pt;font-weight:bold'>Rebecca Astolfo</span></font></b></p>

<p class=MsoAutoSig><font size=1 face=Arial><span lang=EN-CA style='font-size:
8.0pt'>GIS Specialist</span></font></p>

<p class=MsoAutoSig><font size=1 face=Arial><span lang=EN-CA style='font-size:
8.0pt'>IT Division</span></font></p>

<p class=MsoAutoSig><font size=1 face=Arial><span lang=EN-CA style='font-size:
8.0pt'>Environment </span></font><font size=1><span lang=EN-CA
  style='font-size:8.0pt'>Canada</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> RAJA RAMAN
[mailto:kamma_raja at yahoo.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>February 6,
 2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span
 style='font-size:10.0pt;font-family:Tahoma'>11:26 AM</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b>
mapserver-users at lists.gis.umn.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Mapserver-users]
Question regarding connetion between mapserver and Arc SDE</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Dear all,</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>I am trying to connect
the arc SDE layer to mapserver and first i would like to know whether SDE is
same as arcSDE or something else. I am trying to connect this through the
oracle database. </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Please find the
attached&nbsp; code for the arcSDE layer in the map file which I have created.
I am not able to see anything when I display this layer. any suggestions will
be appreciated.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><strong><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>System setup:</span></font></b></strong></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Windows 2000 professional</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Arc SDE 8.2</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Oracle 9i</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Mapserver 4.0</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><strong><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Coding:</span></font></b></strong></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>LAYER<br>
&nbsp;&nbsp;&nbsp; NAME &quot;Bio2002&quot;<br>
&nbsp;&nbsp;&nbsp; STATUS ON<br>
&nbsp;&nbsp;&nbsp; DATA &quot;SDE.SDE.BIO2002_POLYGON,Shape&quot;<br>
&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>
&nbsp;&nbsp;&nbsp; CONNECTIONTYPE SDE<br>
&nbsp;&nbsp;&nbsp; CONNECTION &quot;pc212614,esri_sde,Oracle,sde,arcims&quot;<br>
&nbsp;&nbsp;&nbsp; CLASSITEM &quot;ID&quot;<br>
&nbsp;&nbsp;&nbsp; UNITS METERS<br>
&nbsp;&nbsp;&nbsp; SIZEUNITS PIXELS<br>
&nbsp;&nbsp;&nbsp; TOLERANCE 3<br>
&nbsp;&nbsp;&nbsp; TOLERANCEUNITS PIXELS<br>
&nbsp;&nbsp;&nbsp; TEMPLATE &quot;ttt.html&quot;<br>
&nbsp;&nbsp;&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;BIo2002&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 254 228 141<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 71 63 39<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINSIZE 1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXSIZE 100<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT &quot;fritqat&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 8<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINSIZE 4<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXSIZE 256<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OFFSET 0 0 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLE 0.000000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE -1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE -1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANTIALIAS TRUE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PARTIALS TRUE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FORCE FALSE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;END</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>I am little bit confused
about the data and the connection parameters......can anybody clearly explain
how to specify the data in DATA </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
Thank you in advance</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>rajaraman kamma</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

</div>

<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<div>

<div>

<div>

<p style='margin-left:36.0pt'><strong><b><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>ADDRESSES </span></font></b></strong></p>

<p style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>RAJA RAMAN KAMMA <br>
PFAFFELWELDRING, 44D,206,70569 </span></font>STUTTGART,GERMANY <br>
Cell numbers: Home: 0711-9984931 Mobile: 0049-1797785507 <br>
Home Page:<u>http://www.geocities.com/kamma_raja/</u> <br>
Photos: <a
href="http://rajaraman.fotopic.net/show_collection.php?offset=1&amp;id=94525">http://rajaraman.fotopic.net</a></p>

</div>

</div>

</div>

</div>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Do you Yahoo!?<br>
Yahoo! Finance: <a
href="http://us.rd.yahoo.com/evt=22055/*http:/taxes.yahoo.com/filing.html">Get
your refund fast by filing online</a></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C3ECD6.9E0A7DB0--



More information about the mapserver-users mailing list