[SAC] [Fwd: MAPSERVER-USERS Digest - 18 Feb 2008 to 19 Feb 2008 (#2008-46)]

Lorenzo Becchi lorenzo at ominiverdi.com
Wed Feb 20 05:03:24 EST 2008


Is there any way to avoid old mapserver-user list to work independently?

as it was impossible to unsubscribe to that list and people didn't get 
that serious the list change, now there are two split mapserver's lists.

am I wrong?


regards
Lorenzo

 


-------- Original Message --------
Subject: 	MAPSERVER-USERS Digest - 18 Feb 2008 to 19 Feb 2008 (#2008-46)
Date: 	Wed, 20 Feb 2008 00:00:26 -0600
From: 	MAPSERVER-USERS automatic digest system <LISTSERV at LISTS.UMN.EDU>
Reply-To: 	UMN MapServer Users List <MAPSERVER-USERS at LISTS.UMN.EDU>
To: 	MAPSERVER-USERS at LISTS.UMN.EDU



There are 9 messages totalling 1164 lines in this issue.

Topics of the day:

  1. javamapscript with JSP
  2. "TEMPLATE" directory
  3. MAPSERVER-USERS Digest - 17 Feb 2008 to 18 Feb 2008 (#2008-45)
  4. Perform spatial filter in 2 different layers (e.g. "Which cities does Road
     X cross?") (3)
  5. Help: generating "meta - symbols" dynamically (2)
  6. user wfs?

----------------------------------------------------------------------

Date:    Tue, 19 Feb 2008 09:21:25 +0200
From:    orkun <temiz at DEPREM.GOV.TR>
Subject: javamapscript with JSP

hello

I need a basic example of java-mapscript with JSP. 

I will appreciate if anyone supplies it.

regards


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------------

Date:    Tue, 19 Feb 2008 13:57:35 +0200
From:    orkun <temiz at DEPREM.GOV.TR>
Subject: "TEMPLATE" directory

hello

Is there any usual place for "TEMPLATE" directory of
javamapscript-tomcat application in Ubuntu ?


regards



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------------

Date:    Tue, 19 Feb 2008 07:33:26 -0500
From:    "Labbe, Valerie (MTO)" <Valerie.Labbe at ONTARIO.CA>
Subject: Re: MAPSERVER-USERS Digest - 17 Feb 2008 to 18 Feb 2008 (#2008-45)

------_=_NextPart_001_01C872F3.9F963879
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Please remove me from your mailing list - thank you : )

________________________________

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of MAPSERVER-USERS automatic digest system
Sent: February 19, 2008 1:03 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: MAPSERVER-USERS Digest - 17 Feb 2008 to 18 Feb 2008 (#2008-45)


LISTSERV mailing list manager <http://www.lsoft.com> 	 LISTSERV 15.0
<http://lists.umn.edu/cgi-bin/wa?LIST=3DMAPSERVER-USERS> 	  =09


MAPSERVER-USERS Digest - 17 Feb 2008 to 18 Feb 2008 (#2008-45)


Table of contents:


*	unsubscribe=20

=09
1.	unsubscribe=20

	*	unsubscribe (02/18)
		From: Kaarigar K <triplederby100-propos at YAHOO.COM>


Browse the MAPSERVER-USERS online archives.
<http://lists.umn.edu/cgi-bin/wa?LIST=3DMAPSERVER-USERS>=20

Powered by the LISTSERV Email List Manager
<http://www.lsoft.com/products/listserv-powered.asp> =20


------_=_NextPart_001_01C872F3.9F963879
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>MAPSERVER-USERS Digest - 17 Feb 2008 to 18 Feb 2008 =
(#2008-45)</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<STYLE type=3Dtext/css>BODY {
	FONT-SIZE: 13px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, =
Helvetica, sans-serif
}
TD {
	FONT-SIZE: 13px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, =
Helvetica, sans-serif
}
P {
	FONT-SIZE: 13px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, =
Helvetica, sans-serif
}
A {
	FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: #3366cc; FONT-FAMILY: =
Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
H2 {
	FONT-WEIGHT: bold; FONT-SIZE: 18px; COLOR: #cc0033; FONT-FAMILY: =
Verdana, Arial, Helvetica, sans-serif
}
H3 {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #3366cc; FONT-FAMILY: =
Verdana, Arial, Helvetica, sans-serif
}
</STYLE>

<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D213093312-19022008><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Please remove me from your mailing list - thank =
you :=20
)</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> UMN MapServer Users List=20
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] <B>On Behalf Of =
</B>MAPSERVER-USERS=20
automatic digest system<BR><B>Sent:</B> February 19, 2008 1:03 =
AM<BR><B>To:</B>=20
MAPSERVER-USERS at LISTS.UMN.EDU<BR><B>Subject:</B> MAPSERVER-USERS Digest =
- 17 Feb=20
2008 to 18 Feb 2008 (#2008-45)<BR></FONT><BR></DIV>
<DIV></DIV>
<TABLE=20
style=3D"BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; =
BORDER-LEFT: #999999 1px solid; BORDER-BOTTOM: #999999 1px solid"=20
cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
  <COLGROUP>
  <COL width=3D30>
  <COL width=3D*>
  <COL width=3D275></COLGROUP>
  <TBODY>
  <TR>
    <TD =
background=3Dhttp://LISTS.UMN.EDU/archives/images/b-middle.jpg><A=20
      href=3D"http://www.lsoft.com" target=3D_blank><IMG=20
      alt=3D"LISTSERV mailing list manager"=20
      src=3D"http://LISTS.UMN.EDU/archives/images/b-listserv.jpg" =
border=3D0=20
      NOSEND=3D"1"></A></TD>
    <TD =
background=3Dhttp://LISTS.UMN.EDU/archives/images/b-middle.jpg><A=20
      href=3D"http://lists.umn.edu/cgi-bin/wa?LIST=3DMAPSERVER-USERS"=20
      target=3D_blank><IMG alt=3D"LISTSERV 15.0"=20
      src=3D"http://LISTS.UMN.EDU/archives/images/b-version.jpg" =
border=3D0=20
      NOSEND=3D"1"></A></TD>
    <TD align=3Dright=20
    =
background=3Dhttp://LISTS.UMN.EDU/archives/images/b-right.jpg>&nbsp;</TD>=
</TR></TBODY></TABLE><BR>
<TABLE=20
style=3D"BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; =
BORDER-LEFT: #999999 1px solid; BORDER-BOTTOM: #999999 1px solid"=20
cellSpacing=3D0 cellPadding=3D0 border=3D0>
  <TBODY>
  <TR>
    <TD style=3D"BACKGROUND-COLOR: #f1f4fa">
      <TABLE cellSpacing=3D0 cellPadding=3D10 width=3D"100%" border=3D0>
        <TBODY>
        <TR>
          <TD>
            <H2>MAPSERVER-USERS Digest - 17 Feb 2008 to 18 Feb 2008=20
            (#2008-45)</H2>
            <H3>Table of contents:</H3>
            <UL>
              <LI><A href=3D"#S1">unsubscribe</A> </LI></UL>
            <OL><A name=3DS1>
              <LI>unsubscribe</A>
              <UL>
                <LI><A href=3D"cid:27541 at LISTS.UMN.EDU">unsubscribe</A>=20
                (02/18)<BR><B>From:</B> Kaarigar K=20
                =
&lt;triplederby100-propos at YAHOO.COM&gt;</LI></UL></LI></OL></TD></TR></TB=
ODY></TABLE></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft>
      <P>Browse the <A=20
      href=3D"http://lists.umn.edu/cgi-bin/wa?LIST=3DMAPSERVER-USERS"=20
      target=3D_blank>MAPSERVER-USERS online archives.</A></P></TD>
    <TD align=3Dright>
      <P><A href=3D"http://www.lsoft.com/products/listserv-powered.asp"=20
      target=3D_blank><IMG alt=3D"Powered by the LISTSERV Email List =
Manager"=20
      src=3D"http://LISTS.UMN.EDU/archives/images/b-lpowered.gif" =
border=3D0=20
      NOSEND=3D"1"></A> </P></TD></TR></TBODY></TABLE></BODY></HTML>

------_=_NextPart_001_01C872F3.9F963879--

------------------------------

Date:    Tue, 19 Feb 2008 17:43:36 +0200
From:    Simos Dimitrios <simos at GEO.AEGEAN.GR>
Subject: Perform spatial filter in 2 different layers (e.g. "Which cities does Road X cross?")

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8730E.310D230B
Content-Type: text/plain;
	charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

=20
Hello list.
I'm trying to perform somewhat more complex filters using the WFS. More =
specifically, I want
to do the following, which I found in the list:
=20
[..]
Ah, ok.  For that kind of scenario (and I want to find :"The Road with =
name X which Cities crosses ?"), you could:=20
- query a roads WFS to get geometry=20
- pass these geometries to a WFS Intersect filter to seek=20
 =20
..Tom=20
[..]
=20
Supposing I manage to get the geometries of the roads contained in a =
bounding box.
My question is: how will I pass the geometries that the first filter =
returns to an intersect filter
in the other geometry using the KVP (Keyword-Value Pair) way?
=20
Thanx a lot,
Mimis

------_=_NextPart_001_01C8730E.310D230B
Content-Type: text/html;
	charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD><TITLE>[UMN_MAPSERVER-USERS] WMS GetFeatureInfo =
parameters</TITLE>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText93744 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 =
size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Hello list.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>I'm trying to perform =
somewhat more complex filters using the WFS. More specifically, I =
want</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>to do the following, which I =
found in the list:</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><EM><FONT color=3D#000080>[..]<BR></FONT></EM><FONT =
face=3DArial size=3D2><EM><FONT color=3D#000080><FONT size=3D3><FONT =
face=3D"Times New Roman"><SPAN>Ah, ok. &nbsp;For that kind of scenario =
(and I want to find :"The Road with name X which Cities crosses ?"), you =
could: </SPAN><BR><SPAN>- query a roads <B class=3Dhighlight>WFS</B> to =
<B class=3Dhighlight>get</B> geometry </SPAN><BR><SPAN>- pass these <B =
class=3Dhighlight>geometries</B> to a <B class=3Dhighlight>WFS</B> =
Intersect filter to seek </SPAN><BR><SPAN>&nbsp; </SPAN><BR><SPAN>..Tom =
</SPAN></FONT></FONT><BR>[..]</FONT></EM></FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Supposing I manage to get the =
geometries of the roads contained in a bounding box.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>My question is: how will I =
pass the geometries that the first filter returns to an intersect =
filter</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>in the other geometry using =
the KVP (Keyword-Value Pair) way?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Thanx a lot,</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial =
size=3D2>Mimis</FONT></DIV></BODY></HTML>
------_=_NextPart_001_01C8730E.310D230B--

------------------------------

Date:    Tue, 19 Feb 2008 11:11:21 -0500
From:    "Kralidis,Tom [Burlington]" <Tom.Kralidis at EC.GC.CA>
Subject: Re: Perform spatial filter in 2 different layers (e.g. "Which cities does Road X cross?")

Dimitrios,

Check out http://mapserver.gis.umn.edu/docs/howto/filterencoding.  A WFS
Intersect filter would look like:

http://example.org/url?&version=3D1.0.0&service=3DWFS&request=3DGetFeatur=
e&typ
ename=3Dpopplace&filter=3D<Filter>
<Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerB
oundaryIs><gml:LinearRing>
<gml:coordinates>2488789,289552 2588789,289552 2588789,389552
2488789,389552 2488789,289552</gml:coordinates>
</gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filte
r>
=20
Of course, how you acquire (WFS request) and setup / pass those
geometries is up to your middleware.  I'm not exactly sure whether
MapServer's support of the Intersect filter works only with gml:Polygon,
or other types.  Assefa would know best here.

Yiasou

..Tom



________________________________

	From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Simos Dimitrios
	Sent: 19 February, 2008 10:44 AM
	To: MAPSERVER-USERS at LISTS.UMN.EDU
	Subject: [UMN_MAPSERVER-USERS] Perform spatial filter in 2
different layers (e.g. "Which cities does Road X cross?")
=09
=09
	=20
	Hello list.
	I'm trying to perform somewhat more complex filters using the
WFS. More specifically, I want
	to do the following, which I found in the list:
	=20
	[..]
	Ah, ok.  For that kind of scenario (and I want to find :"The
Road with name X which Cities crosses ?"), you could:=20
	- query a roads WFS to get geometry=20
	- pass these geometries to a WFS Intersect filter to seek=20
	 =20
	..Tom=20
	[..]
	=20
	Supposing I manage to get the geometries of the roads contained
in a bounding box.
	My question is: how will I pass the geometries that the first
filter returns to an intersect filter
	in the other geometry using the KVP (Keyword-Value Pair) way?
	=20
	Thanx a lot,
	Mimis

------------------------------

Date:    Tue, 19 Feb 2008 12:33:04 -0500
From:    "Burgholzer,Robert" <rwburgholzer at DEQ.VIRGINIA.GOV>
Subject: Help: generating "meta - symbols" dynamically

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8731D.7BB0CA62
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have a need to summarize my spatial data with what I will call a
"meta-symbol", i.e., a symbol that represents more than one data column,
with more than one state for each column.  I could create a symbol file
containing all of the combinations of such a symbol, however, this can
become a very large group of symbols in very short order.=20

=20

For example, I have a map which shows geographical regions, and I wish
to summarize the drought status of each of those entities for 4
different metric: 1) rainfall, 2) stream flow, 3) groundwater levels,
and 4) reservoir storage values.  I have 4 categories of drought
indicator: 1) no drought, 2) drought watch, 3) drought warning, and 4)
drought emergency.  I believe that this makes my number of possible
combinations, 4^4, or 256 different categories.  If I were to add a 5th
indicator, then I would end up with 5^4 possible combinations, or 625
different combinations.

=20

One possible approach that I have thought of is to create a rectangular
grid (with cells for each indicator) for each geographic area, located
at its centroid, then place a symbol in each grid cell.  This would
reduce the overhead to 4 symbols, that would then be dynamically
assigned by mapserver to the drought value.   I am concerned about
registering these properly within the cell.=20

=20

Any feedback on my proposed approach, or examples of something similar
would be appreciated,

=20

Thanks in advance,

r.b.

=20

Robert W. Burgholzer

Surface Water Modeler

Office of Water Supply and Planning

Virginia Department of Environmental Quality

rwburgholzer at deq.virginia.gov

804-698-4405

Open Source Modeling Tools:

http://sourceforge.net/projects/npsource/

=20


------_=_NextPart_001_01C8731D.7BB0CA62
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	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:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have a need to summarize my spatial data with what =
I will
call a &#8220;meta-symbol&#8221;, i.e., a symbol that represents more =
than one
data column, with more than one state for each column.&nbsp; I could =
create a
symbol file containing all of the combinations of such a symbol, =
however, this
can become a very large group of symbols in very short order. =
</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>For example, I have a map which shows geographical =
regions,
and I wish to summarize the drought status of each of those entities for =
4
different metric: 1) rainfall, 2) stream flow, 3) groundwater levels, =
and 4)
reservoir storage values.&nbsp; I have 4 categories of drought =
indicator: 1) no
drought, 2) drought watch, 3) drought warning, and 4) drought =
emergency.&nbsp; I
believe that this makes my number of possible combinations, 4^4, or 256
different categories.&nbsp; If I were to add a 5<sup>th</sup> indicator, =
then I
would end up with 5^4 possible combinations, or 625 different =
combinations.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>One possible approach that I have thought of is to =
create a rectangular
grid (with cells for each indicator) for each geographic area, located =
at its
centroid, then place a symbol in each grid cell.&nbsp; This would reduce =
the
overhead to 4 symbols, that would then be dynamically assigned by =
mapserver to
the drought value.&nbsp;&nbsp; I am concerned about registering these =
properly
within the cell. </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Any feedback on my proposed approach, or examples of
something similar would be appreciated,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks in advance,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>r.b.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Robert W. Burgholzer</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Surface Water Modeler</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Office of Water Supply and Planning</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
  font-family:Arial'>Virginia</span></font><font size=3D2 =
face=3DArial><span
 style=3D'font-size:10.0pt;font-family:Arial'> </span></font><font =
size=3D2
  face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Department</span></font><fon=
t
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> of
Environmental Quality</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a =
href=3D"mailto:rwburgholzer at deq.virginia.gov">rwburgholzer at deq.virginia.g=
ov</a></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>804-698-4405</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Open Source Modeling Tools:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a =
href=3D"http://sourceforge.net/projects/npsource/">http://sourceforge.net=
/projects/npsource/</a></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C8731D.7BB0CA62--

------------------------------

Date:    Tue, 19 Feb 2008 21:17:27 +0200
From:    Simos Dimitrios <simos at GEO.AEGEAN.GR>
Subject: Re: Perform spatial filter in 2 different layers (e.g. "Which cities does Road X cross?")

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8732C.92BD64A0
Content-Type: text/plain;
	charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

Hello.
=20
Thank you very much for your help. For now, I have acquired the =
geometries
by performing another WFS request, but I'm not sure how to put them in
the <gml:coordinates> yet (any ideas are welcome). I haven't found an
example of this process either, although it must have been implemented=20
many times in the past.
=20
Dimitrios Simos

________________________________

=C1=F0=FC: Kralidis,Tom [Burlington] [mailto:Tom.Kralidis at ec.gc.ca]
=C1=F0=EF=F3=F4=EF=EB=DE: =D4=F1=E9 19/02/2008 18:11
=D0=F1=EF=F2: Simos Dimitrios; MAPSERVER-USERS at LISTS.UMN.EDU
=C8=DD=EC=E1: RE: [UMN_MAPSERVER-USERS] Perform spatial filter in 2 =
different layers (e.g. "Which cities does Road X cross?")




Dimitrios,

Check out http://mapserver.gis.umn.edu/docs/howto/filterencoding.  A WFS
Intersect filter would look like:

http://example.org/url?&version=3D1.0.0&service=3DWFS&request=3DGetFeatur=
e&typ
ename=3Dpopplace&filter=3D<Filter>
<Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerB
oundaryIs><gml:LinearRing>
<gml:coordinates>2488789,289552 2588789,289552 2588789,389552
2488789,389552 2488789,289552</gml:coordinates>
</gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filte
r>

Of course, how you acquire (WFS request) and setup / pass those
geometries is up to your middleware.  I'm not exactly sure whether
MapServer's support of the Intersect filter works only with gml:Polygon,
or other types.  Assefa would know best here.

Yiasou

..Tom



________________________________

        From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Simos Dimitrios
        Sent: 19 February, 2008 10:44 AM
        To: MAPSERVER-USERS at LISTS.UMN.EDU
        Subject: [UMN_MAPSERVER-USERS] Perform spatial filter in 2
different layers (e.g. "Which cities does Road X cross?")
      =20
      =20
       =20
        Hello list.
        I'm trying to perform somewhat more complex filters using the
WFS. More specifically, I want
        to do the following, which I found in the list:
       =20
        [..]
        Ah, ok.  For that kind of scenario (and I want to find :"The
Road with name X which Cities crosses ?"), you could:
        - query a roads WFS to get geometry
        - pass these geometries to a WFS Intersect filter to seek
        =20
        ..Tom
        [..]
       =20
        Supposing I manage to get the geometries of the roads contained
in a bounding box.
        My question is: how will I pass the geometries that the first
filter returns to an intersect filter
        in the other geometry using the KVP (Keyword-Value Pair) way?
       =20
        Thanx a lot,
        Mimis




------_=_NextPart_001_01C8732C.92BD64A0
Content-Type: text/html;
	charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD><TITLE>RE: [UMN_MAPSERVER-USERS] Perform spatial =
filter in 2 different layers (e.g. "Which cities does Road X =
cross?")</TITLE>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText87765 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 =
size=3D2>Hello.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Thank you very much for your =
help. For now, I have acquired the geometries</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>by performing another WFS =
request, but I'm not sure how to put them in</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>the &lt;gml:coordinates&gt; =
yet (any ideas are welcome). I haven't found an</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>example of this process =
either, although it must have been implemented </FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>many times in the =
past.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Dimitrios =
Simos</FONT></DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>=C1=F0=FC:</B> Kralidis,Tom [Burlington] =
[mailto:Tom.Kralidis at ec.gc.ca]<BR><B>=C1=F0=EF=F3=F4=EF=EB=DE:</B> =
=D4=F1=E9 19/02/2008 18:11<BR><B>=D0=F1=EF=F2:</B> Simos Dimitrios; =
MAPSERVER-USERS at LISTS.UMN.EDU<BR><B>=C8=DD=EC=E1:</B> RE: =
[UMN_MAPSERVER-USERS] Perform spatial filter in 2 different layers (e.g. =
"Which cities does Road X cross?")<BR></FONT><BR></DIV>=0A=
<DIV><BR>=0A=
<P><FONT size=3D2>Dimitrios,<BR><BR>Check out <A =
href=3D"http://mapserver.gis.umn.edu/docs/howto/filterencoding">http://ma=
pserver.gis.umn.edu/docs/howto/filterencoding</A>.&nbsp; A =
WFS<BR>Intersect filter would look like:<BR><BR><A =
href=3D"http://example.org/url?&amp;version=3D1.0.0&amp;service=3DWFS&amp=
;request=3DGetFeature&amp;typ">http://example.org/url?&amp;version=3D1.0.=
0&amp;service=3DWFS&amp;request=3DGetFeature&amp;typ</A><BR>ename=3Dpoppl=
ace&amp;filter=3D&lt;Filter&gt;<BR>&lt;Intersect&gt;&lt;PropertyName&gt;G=
eometry&lt;/PropertyName&gt;&lt;gml:Polygon&gt;&lt;gml:outerB<BR>oundaryI=
s&gt;&lt;gml:LinearRing&gt;<BR>&lt;gml:coordinates&gt;2488789,289552 =
2588789,289552 2588789,389552<BR>2488789,389552 =
2488789,289552&lt;/gml:coordinates&gt;<BR>&lt;/gml:LinearRing&gt;&lt;/gml=
:outerBoundaryIs&gt;&lt;/gml:Polygon&gt;&lt;/Intersect&gt;&lt;/Filte<BR>r=
&gt;<BR><BR>Of course, how you acquire (WFS request) and setup / pass =
those<BR>geometries is up to your middleware.&nbsp; I'm not exactly sure =
whether<BR>MapServer's support of the Intersect filter works only with =
gml:Polygon,<BR>or other types.&nbsp; Assefa would know best =
here.<BR><BR>Yiasou<BR><BR>..Tom<BR><BR><BR><BR>_________________________=
_______<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: UMN =
MapServer Users List<BR>[<A =
href=3D"mailto:MAPSERVER-USERS at LISTS.UMN.EDU">mailto:MAPSERVER-USERS at LIST=
S.UMN.EDU</A>] On Behalf Of Simos =
Dimitrios<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: 19 =
February, 2008 10:44 AM<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
To: =
MAPSERVER-USERS at LISTS.UMN.EDU<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Subject: [UMN_MAPSERVER-USERS] Perform spatial filter in =
2<BR>different layers (e.g. "Which cities does Road X =
cross?")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hello =
list.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I'm trying to =
perform somewhat more complex filters using the<BR>WFS. More =
specifically, I want<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to do =
the following, which I found in the =
list:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
[..]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ah, ok.&nbsp; For =
that kind of scenario (and I want to find :"The<BR>Road with name X =
which Cities crosses ?"), you =
could:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - query a roads WFS =
to get geometry<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - pass =
these geometries to a WFS Intersect filter to =
seek<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
..Tom<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
[..]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supposing I manage to get the geometries =
of the roads contained<BR>in a bounding =
box.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; My question is: how =
will I pass the geometries that the first<BR>filter returns to an =
intersect filter<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in the =
other geometry using the KVP (Keyword-Value Pair) =
way?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanx a =
lot,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Mimis<BR><BR></FONT></P></DIV></BODY></HTML>
------_=_NextPart_001_01C8732C.92BD64A0--

------------------------------

Date:    Tue, 19 Feb 2008 14:54:33 -0500
From:    "Burgholzer,Robert" <rwburgholzer at DEQ.VIRGINIA.GOV>
Subject: Re: Help: generating "meta - symbols" dynamically

Thanks Bobb,
I will look into that.  After posting, I got to thinking, and I am
experimenting with using a pie chart (of fixed percentage), trying to
work out a dynamic color for the pie slice.   Your approach seems a bit
more robust to be sure, although I am not sure I totally understand how
to go about it.=20

With your approach, would this be a set of CLASS'es that turn themselves
on/off based on a condition?

FWIW it would be interesting to look at expanding the Chart type to
contain more types, that could be used to achieve this type of effect as
well.

Thanks again!
r.b.

Robert W. Burgholzer
Surface Water Modeler
Office of Water Supply and Planning
Virginia Department of Environmental Quality
rwburgholzer at deq.virginia.gov
804-698-4405
Open Source Modeling Tools:
http://sourceforge.net/projects/npsource/

-----Original Message-----
From: Bob Basques [mailto:Bob.Basques at ci.stpaul.mn.us]=20
Sent: Tuesday, February 19, 2008 2:48 PM
To: Burgholzer,Robert
Subject: Re: Help: generating "meta - symbols" dynamically

Robert,

What about using a stacked symbol type, something where you could see
any of the particular symbols, but they are all stacked on top of each
other depending upon whether they apply or not.  Then you only need a
fairly small set of pre-defined symbols, but the combinations take care
of themselves based on the symbol stack that is displayed.

bobb





Bob Basques
GIS Systems Developer
City of Saint Paul, MN

GISmo=20
Powered by
GeoMOOSE




>>> "Burgholzer,Robert" <rwburgholzer at DEQ.VIRGINIA.GOV> wrote:

This is a multi-part message in MIME format.

------_=3D_NextPart_001_01C8731D.7BB0CA62
Content-Type: text/plain;
charset=3D"us-ascii"
Content-Transfer-Encoding: quoted-printable

I have a need to summarize my spatial data with what I will call a
"meta-symbol", i.e., a symbol that represents more than one data column,
with more than one state for each column.  I could create a symbol file
containing all of the combinations of such a symbol, however, this can
become a very large group of symbols in very short order.=3D20

=3D20

For example, I have a map which shows geographical regions, and I wish
to summarize the drought status of each of those entities for 4
different metric: 1) rainfall, 2) stream flow, 3) groundwater levels,
and 4) reservoir storage values.  I have 4 categories of drought
indicator: 1) no drought, 2) drought watch, 3) drought warning, and 4)
drought emergency.  I believe that this makes my number of possible
combinations, 4^4, or 256 different categories.  If I were to add a 5th
indicator, then I would end up with 5^4 possible combinations, or 625
different combinations.

=3D20

One possible approach that I have thought of is to create a rectangular
grid (with cells for each indicator) for each geographic area, located
at its centroid, then place a symbol in each grid cell.  This would
reduce the overhead to 4 symbols, that would then be dynamically
assigned by mapserver to the drought value.   I am concerned about
registering these properly within the cell.=3D20

=3D20

Any feedback on my proposed approach, or examples of something similar
would be appreciated,

=3D20

Thanks in advance,

r.b.

=3D20

Robert W. Burgholzer

Surface Water Modeler

Office of Water Supply and Planning

Virginia Department of Environmental Quality

rwburgholzer at deq.virginia.gov

804-698-4405

Open Source Modeling Tools:

http://sourceforge.net/projects/npsource/

=3D20


------_=3D_NextPart_001_01C8731D.7BB0CA62
Content-Type: text/html;
charset=3D"us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3D3DContent-Type content=3D3D"text/html; =3D
charset=3D3Dus-ascii">
<meta name=3D3DGenerator content=3D3D"Microsoft Word 10 (filtered)">

<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3D3DEN-US link=3D3Dblue vlink=3D3Dpurple>

<div class=3D3DSection1>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>I have a need to summarize my spatial data with what
=3D
I will
call a &#8220;meta-symbol&#8221;, i.e., a symbol that represents more =
=3D
than one
data column, with more than one state for each column.&nbsp; I could =3D
create a
symbol file containing all of the combinations of such a symbol, =3D
however, this
can become a very large group of symbols in very short order. =3D
</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>For example, I have a map which shows geographical =
=3D
regions,
and I wish to summarize the drought status of each of those entities for
=3D
4
different metric: 1) rainfall, 2) stream flow, 3) groundwater levels, =
=3D
and 4)
reservoir storage values.&nbsp; I have 4 categories of drought =3D
indicator: 1) no
drought, 2) drought watch, 3) drought warning, and 4) drought =3D
emergency.&nbsp; I
believe that this makes my number of possible combinations, 4^4, or 256
different categories.&nbsp; If I were to add a 5<sup>th</sup> indicator,
=3D
then I
would end up with 5^4 possible combinations, or 625 different =3D
combinations.</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>One possible approach that I have thought of is to =
=3D
create a rectangular
grid (with cells for each indicator) for each geographic area, located =
=3D
at its
centroid, then place a symbol in each grid cell.&nbsp; This would reduce
=3D
the
overhead to 4 symbols, that would then be dynamically assigned by =3D
mapserver to
the drought value.&nbsp;&nbsp; I am concerned about registering these =
=3D
properly
within the cell. </span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>Any feedback on my proposed approach, or examples of
something similar would be appreciated,</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>Thanks in advance,</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>r.b.</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>Robert W. Burgholzer</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>Surface Water Modeler</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>Office of Water Supply and Planning</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
  font-family:Arial'>Virginia</span></font><font size=3D3D2 =3D
face=3D3DArial><span
style=3D3D'font-size:10.0pt;font-family:Arial'> </span></font><font =3D
size=3D3D2
  face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;font-family:Arial'>Department</span></font><f=
o
n=3D
t
size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;font-family:Arial'> of
Environmental Quality</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'><a =3D
href=3D3D"mailto:rwburgholzer at deq.virginia.gov">rwburgholzer at deq.virginia=
.
g=3D
ov</a></span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>804-698-4405</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'>Open Source Modeling Tools:</span></font></p>

<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DArial><span =3D
style=3D3D'font-size:10.0pt;
font-family:Arial'><a =3D
href=3D3D"http://sourceforge.net/projects/npsource/">http://sourceforge.n=
e
t=3D
/projects/npsource/</a></span></font></p>

<p class=3D3DMsoNormal><font size=3D3D3 face=3D3D"Times New Roman"><span =
=3D
style=3D3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>

------_=3D_NextPart_001_01C8731D.7BB0CA62--

------------------------------

Date:    Tue, 19 Feb 2008 22:00:22 +0100
From:    Paolo Cavallini <cavallini at FAUNALIA.IT>
Subject: user wfs?

Hi all.
We are compiling a map of Italian GFOSS users and realizations:
http://www.gfoss.it/drupal/cat_wg
and we would like to add UMN Mapserver users: is a WFS service available
somewhere?
If not, wouldn't it be a good case for OSGeo stepping in?
All the best.
pc
-- 
Paolo Cavallini, see: http://www.faunalia.it/pc

------------------------------

End of MAPSERVER-USERS Digest - 18 Feb 2008 to 19 Feb 2008 (#2008-46)
*********************************************************************



More information about the Sac mailing list