[Mapserver-users] RE: Mapserver-users digest, Vol 1 #577 - 25 msgs

Daniel Canfield DEC at capindex.com
Wed Jul 14 09:01:06 EDT 2004


Please take me off your list - The unsubscribe does not work.
DEC at capindec.com


-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of mapserver-users-request at lists.gis.umn.edu
Sent: Friday, July 09, 2004 1:00 PM
To: mapserver-users at lists.gis.umn.edu
Subject: Mapserver-users digest, Vol 1 #577 - 25 msgs

Send Mapserver-users mailing list submissions to
	mapserver-users at lists.gis.umn.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
	mapserver-users-request at lists.gis.umn.edu

You can reach the person managing the list at
	mapserver-users-admin at lists.gis.umn.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mapserver-users digest..."


Today's Topics:

   1. Re: Building MapServer for Max OS X (10.3) (Bill Stephenson)
   2. CreateLegendIcon and FAQ suggestion (Murilo Lacerda Yoshida)
   3. PDF Output: Point data only displayed in black? (Lindsay Greffel)
   4. Help with Rosa Applet (Chris Helm)
   5. Re: IRC Channel (Tyler Mitchell)
   6. Re: Help with Rosa Applet (Yewondwossen Assefa)
   7. RE: Itemquery - zooming to features (Mike Reilly)
   8. Re: normal behaviour of line drawing? (Steve Lime)
   9. Re: WMS GetLegendGraphic and KEYIMAGE (Yewondwossen Assefa)
  10. RE: sid images (Swaminathan, Gayathri)
  11. RE: WMS GetLegendGraphic and KEYIMAGE (Kralidis,Tom [Burlington])
  12. Virtual Spatial Data woes (IMD Listuser)
  13. Re: Virtual Spatial Data woes (Tyler Mitchell)
  14. Re: queryByAttributes on TWO OR MORE fields (Armin Burger)
  15. Re: Building MapServer for Max OS X (10.3) (William K)
  16. Rosa + itemquery (Martin Tomko)
  17. Re: [Chameleon] Symbol Question (Paul Spencer)
  18. rectObj->fit() (Abram Gillespie)
  19. Re: rectObj->fit() (Steve Lime)
  20. Re: Rosa applet and Virtual machines (Valerio Noti) (Kristjan Annus)
  21. Re: queryByShape, intersects (Lowell Filak)
  22. How to add text to a legend (Attri, Abhishek)
  23. symbol question (fx gamoy)
  24. Re: queryByShape, intersects (Sylvain Beorchia)
  25. Re: Re: Rosa applet and Virtual machines (Valerio Noti) (Valerio Noti)

--__--__--

Message: 1
Cc: Ken-ichi Ueda <kueda at wso.williams.edu>
From: Bill Stephenson <bills at secureshopper.com>
Subject: Re: [Mapserver-users] Building MapServer for Max OS X (10.3)
Date: Thu, 8 Jul 2004 12:48:27 -0500
To: mapserver-users at lists.gis.umn.edu

On Jul 6, 2004, at 10:06 PM, Ken-ichi Ueda wrote:

> I got MS up and running on my PowerBook a month or two ago, mostly 
> using the directions you've found (which are great).  My only qualm is 
> that I highly advise avoiding Fink altogether.

<snip>

Hi Ken-ichi,

I really appreciate the fast reply and helpful tips.

What about this excerpt about installing postgresql from the 
instruction page:

" Note that you must first download and install 'fink' from 
sourceforge.net. The instructions at developer.apple.com (link in 
previous paragraph) show how to use fink to download something called 
'readline'. "

Is there a better way to do this, or does it not apply if your 
installing PostgreSQL-7.4.3 on OS X 10.3?

Kindest Regards,

Bill Stephenson


--__--__--

Message: 2
Reply-To: <murilo.yoshida at agx.com.br>
From: "Murilo Lacerda Yoshida" <murilo.yoshida at agx.com.br>
To: <mapserver-users at lists.gis.umn.edu>
Date: Thu, 8 Jul 2004 15:29:19 -0300
Subject: [Mapserver-users] CreateLegendIcon and FAQ suggestion

This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C46500.5E510570
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

  Hi all,
  
  I posted a message about this a few days ago, but no one answered, so
I'm posting it again.
  
  The problem is this. I used the FAQ suggestion about how to set a line
width. OK, it works fine.
  I have four layer of lines that were changed as the FAQ says.
  But now when I draw the legend for that four layers, they are all
drawn in the same color, that is the color of the first layer drawn. The
legend icon still is a line, but with more width (as
I have set in my mapfile).
  Help me, please. I don't know why this is happening. and I can't see
anything wrong in the mapfile.
 
  Thanks,
    Murilo

------=_NextPart_000_0001_01C46500.5E510570
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C46500.55C1DBF0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EstiloDeEmail17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:70.85pt 3.0cm 70.85pt 3.0cm;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Tabela normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DPT-BR link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:35.4pt'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span>Hi =
all,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span>I posted a message about this a =
few days
ago, but no one answered, so I&#8217;m posting it =
again.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span>The problem is this. I used the =
FAQ
suggestion about how to set a line width. OK, it works =
fine.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span>I have four <span =
class=3DGramE>layer</span>
of lines that were changed as the FAQ says.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span>But now when I draw the legend =
for <span
class=3DGramE>that</span> four layers, they are all drawn in the same =
color, that
is the color of the first layer drawn. The legend icon still is a line, =
but
with more width (as<br>
I have set in my <span =
class=3DSpellE>mapfile</span>).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; </span>Help me, please. I don&#8217;t =
know why
this is happening&#8230; and I can&#8217;t see anything wrong in the =
<span
class=3DSpellE>mapfile</span>&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp; =
</span>Thanks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span>Murilo<o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0001_01C46500.5E510570--



--__--__--

Message: 3
From: "Lindsay Greffel" <gl04 at jdbarnes.com>
To: <mapserver-users at lists.gis.umn.edu>
Date: Thu, 8 Jul 2004 14:42:52 -0400
Subject: [Mapserver-users] PDF Output: Point data only displayed in black?

Hello!

I'm finding that when displaying point data through PDF output that it will
only be displayed in black.  Is there a way to get around this?  Has anyone
else come across this?

Thanks in advance!

Lindsay


--__--__--

Message: 4
Date: Thu, 8 Jul 2004 11:52:13 -0700 (PDT)
From: Chris Helm <helmster_99 at yahoo.com>
To: Mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Help with Rosa Applet

Im having difficulty getting the Rosa applet to submit
my image form and register a new image.  When I draw
my zoom box on the image, the box draws but nothing
happens.  Is there a function I need to add to my
<head> tag to get this working, or are there any
hidden variables needed to run the applet?

Also does anyone know of any good documentations on
the implementation of the rosa-applet besides the list
of parameters provided? 

lots of thanks,
Chris Helm


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

--__--__--

Message: 5
To: "Jason M. Nielsen" <jnielsen at aero-graphics.com>
Cc: Huey Brantley <huey.brantley at vanderbilt.edu>,
        mapserver-users at lists.gis.umn.edu,
        mapserver-users-admin at lists.gis.umn.edu
Subject: Re: [Mapserver-users] IRC Channel
From: Tyler Mitchell <tjmitchell at riverside.bc.ca>
Date: Thu, 8 Jul 2004 12:17:21 -0700

There is one  #mapserver and it's growing in activity.  See you there!

More info. 
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapServerIrcChannel

mapserver-users-admin at lists.gis.umn.edu wrote on 07/08/2004 08:50:15 AM:

> Quoting Huey Brantley <huey.brantley at vanderbilt.edu>:
> 
> > Anyone still running IRC channel that is referenced in this thread?
> > 
> > 
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0112/msg00354.html
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > 
> 
> 
> If not perhaps one should be started on irc.freenode.net? Would seema 
fitting
> place...
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


--__--__--

Message: 6
Date: Thu, 08 Jul 2004 15:35:01 -0400
From: Yewondwossen Assefa <assefa at dmsolutions.ca>
To: Chris Helm <helmster_99 at yahoo.com>
CC: Mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Help with Rosa Applet

You could check the gmap application as an example of a php/mapscript 
app using Rosa : http://www.maptools.org/dl/gmap-ms40.zip

Chris Helm wrote:

> Im having difficulty getting the Rosa applet to submit
> my image form and register a new image.  When I draw
> my zoom box on the image, the box draws but nothing
> happens.  Is there a function I need to add to my
> <head> tag to get this working, or are there any
> hidden variables needed to run the applet?
> 
> Also does anyone know of any good documentations on
> the implementation of the rosa-applet besides the list
> of parameters provided? 
> 
> lots of thanks,
> Chris Helm
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



--__--__--

Message: 7
From: "Mike Reilly" <mikereilly_7 at hotmail.com>
To: David.Fawcett at state.mn.us, mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Itemquery - zooming to features
Date: Thu, 08 Jul 2004 12:49:12 -0700

David:

This works!

src="http://192.168.0.3/cgi-bin/mapserv.exe?map=[map]&name=[name_esc]&
mode=itemquerymap&mapext=shapes&qlayer=tuspoly&qstring=(SITEID=[SITEID])"

Thanks for all the help along the way, and may the archives turn this thread 
up for the next person needing it.  This isn't doing excactly what I need, 
but it's close enough to suffice.

I have a main map page that allows turning various layers on and off, 
zooming, etc, and I'd hoped to create a URL that would link back to that 
page and display just the one site a person was looking at, but I guess 
instead I'll make a popup link to create a couple of maps instead.

Regards
Mike
>From: "David Fawcett" <David.Fawcett at state.mn.us>
>To: <mikereilly_7 at hotmail.com>
>Subject: RE: [Mapserver-users] Itemquery - zooming to features
>Date: Thu, 08 Jul 2004 09:12:02 -0500
>
>Mike,
>
>What happens if you try:
>
><td><img border="2"
>src="[mapserv]?map=[map]&name=[name_esc]&mode=itemquerymap&mapext=shapes&qlayer=tuspoly&qstring=('[SITEID]'=1003)"
>height="300" width="300">
>
>OR
>
><td><img border="2"
>src="[mapserv]?map=[map]&name=[name_esc]&mode=itemquerymap&mapext=shapes&qlayer=tuspoly&qstring=('[SITEID]'='1003')"
>height="300" width="300">
>
>My guess is that the reason that you didn't get an error, but you also
>didn't return any records is that your qstring syntax isn't quite right.
>
>
>David.
>
>
>
>David J. Fawcett
>MN Office of Environmental Assistance
>
> >>> "Mike Reilly" <mikereilly_7 at hotmail.com> 7/8/2004 3:03:06 AM >>>
>Thanks Javier and Adam - you both got me past that error - and on to
>the
>next one:
>
>msQueryByAttributes(): Search returned no results. No matching
>record(s)
>found.
>
>And after re-reading Javier's response to me, I found that using the
>following did the trick:
>
>qstring=([SITEID]=1003)
>
>At first I tried qstring=([SITEID]="1003") but got a lot of parse fails
>
>along with the error message.  It now looks like I'm getting the
>results I
>need, although I'm not getting the maps drawn yet.   No images created
>in
>the /tmp/ directory.
>
>I'm including a copy of the template file in case I've made an error in
>it.
>
> >From: Javier Castillejo Montes <jcastil1 at tragsa.es>
> >To: Mike Reilly <mikereilly_7 at hotmail.com>
> >CC: mapserver-users at lists.gis.umn.edu
> >Subject: RE: [Mapserver-users] Itemquery - zooming to features
> >Date: Thu, 8 Jul 2004 09:11:19 +0200
> >
> >Hi Mike
> >I had the same problem and "David Fawcett" told me the solution...
>here it
> >is
> >
> > >>>>The syntax for itemqueries changed after version 3.5 or so.
> >
> > >>>>Queries no longer use a filter in the Map file.  Instead, you
>need to
> > >>>>pass the variables 'qlayer', 'qitem', and 'qstring' in the URL.
>They
> > >>>>are documented here:
> > >>>>http://mapserver.gis.umn.edu/doc42/cgi-reference.html#qitem
> >
> > >>>>It should look something like:
> >
> > >>>>...&qlayer=layer1&qitem=FIELD2&qstring=('[FIELD2]'='10')
> >
> > >>>>&qlayer=provin&qitem=NOMBRE&qstring='Juarez'
> >
> > >>>>(This assumes that there is a 'provin' with the name 'Juarez'.
>If you
> > >>>>build this URL string dynamically in the form at the bottom of
>this
> > >>>>message, it should look something like this:
> >
> > >>>><td><img border="2"
> > >>>>src="[mapserv]?map=[map]
> >
> >>>>&name=&mode=itemquerymap&mapext=shapes&qlayer=provin&qitem=NOMBRE&qstrin
> >g='[name_esc]'
> > >>>>" height="300" width="300"></td>
> >
> >
> >my "end" map file!!
> >
> >   LAYER
> >     NAME provin
> >     DATA provin
> >     STATUS DEFAULT
> >     TYPE POLYGON
> >     FILTERITEM nombre
> >     CLASS
> >       COLOR 212 212 212
> >       OUTLINECOLOR 0 0 0
> >       TEMPLATE "../html/case1_template.html"
> >     END
> >   END
> >
> >my html snip
> >...
> ><input type="hidden" name="mode" value="itemquery">
> ><input type="hidden" name="qlayer" value="provin">
> >
> ><input type="hidden" name="qitem" value="Prov">
> ><input type="hidden" name="qstring" value="[name_esc]">
> >...
> >
> >
> >Hope It will help you, for me it works...
> >
> >
> >Javier C.
> >
> >
> >-----Mensaje original-----
> >De: Mike Reilly [mailto:mikereilly_7 at hotmail.com]
> >Enviado el: jueves, 08 de julio de 2004 0:38
> >Para: mapserver-users at lists.gis.umn.edu
> >Asunto: [Mapserver-users] Itemquery - zooming to features
> >
> >
> >I have a mapserver application running quite nicely and now want to
>add the
> >ability to create a link that brings up a map zoomed in to a feature
>based
> >on that features SITEID field in a dbf file.  This feature is similar
>to
> >that shown at this tutorial in case 1:
> >http://maps.dnr.state.mn.us/mapserver_demos/tests40/itemquery/test.html
>
> >
> >To that effect, I've basically copied the tutorial and placed in my
>own
> >customisations to make it work with my data.  So far I've not been
>terribly
> >succesful and get the following error:
> >
> >msQueryByAttributes(): Query error. No query expression defined.
> >
> >There is most definitely a field called SITEID in the dbf file for
>the
> >mergeplys layer.  There is also a record with a SITEID of 1003.
> >
> >I am using mapserver 4.0 windows binary distribution.
> >
> >The URL that gets generated looks like this:
> >
> >http://192.168.0.3/cgi-bin/mapserv.exe?mapserv=f%3A%2Fprogram+files%2Fapache
>
> >+group%2Fapache2%2Fcgi-bin%2Fmapserv.exe&map=f%3A%2Fprogram+files%2Fapache+g
> >roup%2Fapache2%2Fhtdocs%2FKitasoo%2Fquerytest.map&map_web_imagepath=f%3A%2Fp
> >rogram+files%2Fapache+group%2Fapache2%2Ftmp&map_web_imageurl=%2Ftmp%2F&mode=
> >itemquery&qlayer=tuspoly&site_id=1003
> >
> >I'm pretty sure I'm missing something basic somewhere.  One issue (I
>don't
> >think this is what is causing the error message) is found in the
>template
> >file.  I'm not quite sure what to do with some of the variables in
>this
> >spot:
> >
> >src="[mapserv]?map=[map]&name=[name_esc]&mode=itemquerymap&mapext=shapes&qla
> >yer=[qlayer]"
> >- I assume I need to change some of the values here.   Any advice or
> >pointers to documentation greatly appreciated.
> >
> >The mapfile I created looks like this:
> >
> >MAP
> >   NAME case1
> >   SHAPEPATH tus
> >   SIZE 300 300
> >   EXTENT 768897.25886 810841.50306 876598.91242 913853.62854
> >
> >   WEB
> >     IMAGEPATH 'f:/program files/apache group/apache2/htdocs/tmp/'
> >     IMAGEURL 'http://192.168.0.3/tmp/'
> >   END
> >
> >   QUERYMAP
> >     STATUS ON
> >     STYLE HILITE
> >     COLOR 255 255 0
> >   END
> >
> >   LAYER
> >
> >     NAME "landpl"
> >     DATA "landpl"
> >     STATUS DEFAULT
> >     TYPE POLYGON
> >     CLASS
> >       COLOR 212 212 212
> >       OUTLINECOLOR 0 0 0
> >     END
> >   END
> >
> >   LAYER
> >     NAME tuspoly
> >     DATA "mergeplys"
> >     STATUS ON
> >     TYPE POLYGON
> >     FILTERITEM SITEID
> >     FILTER "%site_id%"
> >     CLASS
> >	COLOR 160 160 255
> >     	OUTLINECOLOR 0 200 0
> >	TEMPLATE case1_template.html
> >     END
> >   END
> >END
> >
> >My HTML file used to generate the URL should be attached (I hope!).
> >
> >_________________________________________________________________
> >Add photos to your e-mail with MSN Premium. Get 2 months FREE*
> >http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
>
> >p://hotmail.com/enca&HL=Market_MSNIS_Taglines
>
>_________________________________________________________________
>MSN Premium includes powerful parental controls and get 2 months FREE*
>
>http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines

_________________________________________________________________
Add photos to your e-mail with MSN Premium. Get 2 months FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines


--__--__--

Message: 8
Date: Thu, 08 Jul 2004 14:59:38 -0500
From: "Steve Lime" <steve.lime at dnr.state.mn.us>
To: <mapserver-users at lists.gis.umn.edu>, <mschulz at webgis.de>
Subject: Re: [Mapserver-users] normal behaviour of line drawing?

Drawing is done in the order the features are fed to MapServer. Class only affects how they look. Class order does affect the order in which expressions are evaluated (first match is used) so you can exploit that fact. The real issue is sorting of features so you can control the order. MapServer does not allow you to sort shapefiles at runtime (you could file a feature request for this if you like). This is mainly for performance reasons. There is a sortshp utility packaged with MapServer that allows you to re-order a shapefile. You might sort on road type so streets show up beneath ramps and ramps below highways. This also helps set label priority too...

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Michael Schulz <mschulz at webgis.de> 7/8/2004 10:24:26 AM >>>
Hi,

i have attached an image which shows some line crossings drawn with mapserver-4.2beta (i know it's a 
bit old ...). But i found this problems with other (only older) versions too.

The layer with the 3 classes (Autobahn, Bundesstrasse, Landstrasse) has overlapping lines. But as 
you can see in the picture not one class gets drawn over the other, but line symbols are sometimes 
over, sometimes under another class. I thought the order of the classes in a layer effects also the 
drawing, but i might be mistaken.

Has the line drawing been updated in the latest versions? If so, i will try it with a newer version. 
Or should i file a bug?

Cheers, Michael


-- 
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                 Informationstechnologie mbH
                                      In den Weihermatten 66
		                             79108 Freiburg
                                      0761 55695-95 (Fax 96)
mschulz at webgis.de              www.webgis.de/www.zopecms.de



--__--__--

Message: 9
Date: Thu, 08 Jul 2004 16:00:04 -0400
From: Yewondwossen Assefa <assefa at dmsolutions.ca>
To: "Kralidis,Tom [Burlington]" <Tom.Kralidis at ec.gc.ca>
CC: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE

Tom,

  I understand what you suggest but at the same time, the keyimage is 
just an additional way to generate icons beside the defaut way of 
generating them (using classes defined on the layer). Thus the use of 
the legend's  keysizex and keysizey is the one that make more sense. If 
we add a specific size parameters for layers using a keyimage, we need 
to do the same for other types of layers so we can generate icons of 
diffrent siezes. What I propose as a compromise is to maybe use a 
metadata at the layer level that would be used by the LegendURL to fetch 
the width and height for that specific layer. By default the LegendURL 
would use the legend's keysizex/keysizey.  Is this acceptable ?

Later,

Kralidis,Tom [Burlington] wrote:

> 
>>-----Original Message-----
>>From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca] 
>>Sent: Wednesday, July 07, 2004 2:14 PM
>>To: Kralidis,Tom [Burlington]
>>Cc: mapserver-users at lists.gis.umn.edu
>>Subject: Re: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
>>
>>
>>If it is for a specific layer, why not use the width and height 
>>parameters in the request ? Do you have other suggestions ?
>>
> 
> 
> I could explicitly, however if I'm a WMS client, my first inclination is
> to do a GetCapabilities, and go from there.  This is where LegendURL
> would be useful.
> 
> I suggest a KEYIMAGESIZE be added so that when LegendURL does get added
> to WMS GetCapabilities, that the width and height attributes are taken
> from KEYIMAGESIZE (or, even better, if MapServer can figure out the
> KEYIMAGE value extents :))
> 
> What do you think?
> 
> ..Tom
> 
> 
> 
>>Kralidis,Tom [Burlington] wrote:
>>
>>
>>>Right, but doesn't the legend object define a legend for 
>>
>>the *entire* 
>>
>>>WMS?  This is a specific layer level legend KEYIMAGE -- 
>>
>>i.e. I don't 
>>
>>>want all my legend image dimensions to be the size of the 
>>
>>KEYIMAGE in 
>>
>>>the one layer.
>>>
>>>..Tom
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
>>>>Sent: Wednesday, July 07, 2004 10:21 AM
>>>>To: Kralidis,Tom [Burlington]
>>>>Cc: mapserver-users at lists.gis.umn.edu
>>>>Subject: Re: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
>>>>
>>>>
>>>>Tom,
>>>>
>>>>  Here is how the size is determined :
>>>>    -  If Width and Height parameter are passed in the
>>>>GetLegendGraphic 
>>>>request , they will be used.
>>>>    - If not, it will use the size oparameters in the legend object
>>>>    - if none of the above is valid, the defaut size will be 20/20.
>>>>
>>>>Later,
>>>>
>>>>Kralidis,Tom [Burlington] wrote:
>>>>
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>I've created a WMS, which has a layer, which defines
>>>>
>>>>KEYIMAGE in the
>>>>
>>>>
>>>>>CLASS object.
>>>>>
>>>>>>From what I understand, KEYIMAGE points to a static image file, so
>>>>>
>>>>>
>>>>>>when
>>>>>
>>>>>requesting a legend (either through OGC:WMS or classic mapserv
>>>>>mode=legend), the static image is fed back.
>>>>>
>>>>>When I request GetLegendGraphic from my WMS layer with
>>>>
>>>>KEYIMAGE, the
>>>>
>>>>
>>>>>image comes back really small (i.e. 20 x 10).  My legend
>>>>
>>>>image is like
>>>>
>>>>
>>>>>300 x 50 -- the output image looks like it scrunched into 20 x 10.
>>>>>
>>>>>Suggestions?
>>>>>
>>>>>Thanks
>>>>>
>>>>>..Tom
>>>>>
>>>>>_______________________________________________
>>>>>Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu 
>>>>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>>>>
>>>>
>>>>
>>>>--
>>>>----------------------------------------------------------------
>>>>Assefa Yewondwossen
>>>>Software Analyst
>>>>
>>>>Email: assefa at dmsolutions.ca
>>>>http://www.dmsolutions.ca/
>>>>
>>>>Phone: (613) 565-5056 (ext 14)
>>>>Fax:   (613) 565-0925
>>>>----------------------------------------------------------------
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>-- 
>>----------------------------------------------------------------
>>Assefa Yewondwossen
>>Software Analyst
>>
>>Email: assefa at dmsolutions.ca
>>http://www.dmsolutions.ca/
>>
>>Phone: (613) 565-5056 (ext 14)
>>Fax:   (613) 565-0925
>>----------------------------------------------------------------
>>
>>
>>
> 
> 
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



--__--__--

Message: 10
Date: Thu, 8 Jul 2004 15:08:19 -0500
From: "Swaminathan, Gayathri" <gayathri at ou.edu>
To: "Alexandre Marino" <marino at cria.org.br>
Cc: <mapserver-users at lists.gis.umn.edu>
Subject: [Mapserver-users] RE: sid images

Hi Alexandre:

Yup. Mapserver can be used with Mr.SID files., but you need to purchase the Mr.SID DSDK from Lizard Tech.

Here is how to do it..(http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0402/msg00699.html)

Contents of the above link:

1)Here is a link to GDAL building instructions..."Under External
Libaries"

	http://www.remotesensing.org/gdal/gdal_building.html

You need the decoder SDK from Lizardtech

2) Attached is the contact of the person to obtain this DSDK from for
Midwest, but if you contacted Lizardtech they can give a local contact.

3) Cost of DSDK is $500

4) One problem I ran into when using this option. Use the cvs-daily.


Let me know if you run into any other issues..and need help.

Thanks,
Gayathri
PS: There are some archives in mapserver list on the build-errors and shortcoming in
mapserver-user list archive...for your reference

> -----Original Message-----
> From: Alexandre Marino [mailto:marino at cria.org.br] 
> Sent: Thursday, July 08, 2004 2:17 PM
> To: Swaminathan, Gayathri
> Subject: sid images
> 
> 
> 
> Hello Gayathri, I saw a message from you in the mapserver 
> list trying to 
> use Mr.Sid images.
> 
> I have some SID's images downloaded from NASA site and I'd 
> like to use 
> in MapServer.
> Did you find anything about it ?
> My GDAL don't support SID, what I need to use this kind of 
> file ? Do you know if I can convert SID in TIFF using a free 
> software ? Here we 
> have only arcMap and I don't know if it can.
> 
> Any ideas on this? Please! 
> 
> -- 
> Alexandre Marino - Analista de Sistemas
> CRIA - Centro de Referência em Informação Ambiental 
http://www.cria.org.br




--__--__--

Message: 11
Subject: RE: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
Date: Thu, 8 Jul 2004 16:09:47 -0400
From: "Kralidis,Tom [Burlington]" <Tom.Kralidis at ec.gc.ca>
To: "Yewondwossen Assefa" <assefa at dmsolutions.ca>
Cc: <mapserver-users at lists.gis.umn.edu>



> -----Original Message-----
> From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca] 
> Sent: Thursday, July 08, 2004 4:00 PM
> To: Kralidis,Tom [Burlington]
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
> 
> 
> Tom,
> 
>   I understand what you suggest but at the same time, the keyimage is 
> just an additional way to generate icons beside the defaut way of 
> generating them (using classes defined on the layer). Thus the use of 
> the legend's  keysizex and keysizey is the one that make more 
> sense. If 
> we add a specific size parameters for layers using a 
> keyimage, we need 
> to do the same for other types of layers so we can generate icons of 
> diffrent siezes. What I propose as a compromise is to maybe use a 
> metadata at the layer level that would be used by the 
> LegendURL to fetch 
> the width and height for that specific layer. By default the 
> LegendURL 
> would use the legend's keysizex/keysizey.  Is this acceptable ?
> 

Yes.  Bottom line is, from an OGC client point of view, is that
Capabilities should provide me with everything I need to know about a
service without apriori knowledge (also hence the need for WMS
Capabilities to expose LegendURL, MetadataURL, and DataURL).

Cheers

..Tom

> Later,
> 
> Kralidis,Tom [Burlington] wrote:
> 
> > 
> >>-----Original Message-----
> >>From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
> >>Sent: Wednesday, July 07, 2004 2:14 PM
> >>To: Kralidis,Tom [Burlington]
> >>Cc: mapserver-users at lists.gis.umn.edu
> >>Subject: Re: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
> >>
> >>
> >>If it is for a specific layer, why not use the width and height
> >>parameters in the request ? Do you have other suggestions ?
> >>
> > 
> > 
> > I could explicitly, however if I'm a WMS client, my first 
> inclination 
> > is to do a GetCapabilities, and go from there.  This is where 
> > LegendURL would be useful.
> > 
> > I suggest a KEYIMAGESIZE be added so that when LegendURL does get 
> > added to WMS GetCapabilities, that the width and height 
> attributes are 
> > taken from KEYIMAGESIZE (or, even better, if MapServer can 
> figure out 
> > the KEYIMAGE value extents :))
> > 
> > What do you think?
> > 
> > ..Tom
> > 
> > 
> > 
> >>Kralidis,Tom [Burlington] wrote:
> >>
> >>
> >>>Right, but doesn't the legend object define a legend for
> >>
> >>the *entire*
> >>
> >>>WMS?  This is a specific layer level legend KEYIMAGE --
> >>
> >>i.e. I don't
> >>
> >>>want all my legend image dimensions to be the size of the
> >>
> >>KEYIMAGE in
> >>
> >>>the one layer.
> >>>
> >>>..Tom
> >>>
> >>>
> >>>
> >>>
> >>>>-----Original Message-----
> >>>>From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
> >>>>Sent: Wednesday, July 07, 2004 10:21 AM
> >>>>To: Kralidis,Tom [Burlington]
> >>>>Cc: mapserver-users at lists.gis.umn.edu
> >>>>Subject: Re: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
> >>>>
> >>>>
> >>>>Tom,
> >>>>
> >>>>  Here is how the size is determined :
> >>>>    -  If Width and Height parameter are passed in the 
> >>>>GetLegendGraphic request , they will be used.
> >>>>    - If not, it will use the size oparameters in the 
> legend object
> >>>>    - if none of the above is valid, the defaut size will 
> be 20/20.
> >>>>
> >>>>Later,
> >>>>
> >>>>Kralidis,Tom [Burlington] wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Hi,
> >>>>>
> >>>>>I've created a WMS, which has a layer, which defines
> >>>>
> >>>>KEYIMAGE in the
> >>>>
> >>>>
> >>>>>CLASS object.
> >>>>>
> >>>>>>From what I understand, KEYIMAGE points to a static 
> image file, so
> >>>>>
> >>>>>
> >>>>>>when
> >>>>>
> >>>>>requesting a legend (either through OGC:WMS or classic mapserv 
> >>>>>mode=legend), the static image is fed back.
> >>>>>
> >>>>>When I request GetLegendGraphic from my WMS layer with
> >>>>
> >>>>KEYIMAGE, the
> >>>>
> >>>>
> >>>>>image comes back really small (i.e. 20 x 10).  My legend
> >>>>
> >>>>image is like
> >>>>
> >>>>
> >>>>>300 x 50 -- the output image looks like it scrunched 
> into 20 x 10.
> >>>>>
> >>>>>Suggestions?
> >>>>>
> >>>>>Thanks
> >>>>>
> >>>>>..Tom
> >>>>>
> >>>>>_______________________________________________
> >>>>>Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu
> >>>>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >>>>>
> >>>>
> >>>>
> >>>>--
> >>>>----------------------------------------------------------------
> >>>>Assefa Yewondwossen
> >>>>Software Analyst
> >>>>
> >>>>Email: assefa at dmsolutions.ca
> >>>>http://www.dmsolutions.ca/
> >>>>
> >>>>Phone: (613) 565-5056 (ext 14)
> >>>>Fax:   (613) 565-0925
> >>>>----------------------------------------------------------------
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>
> >>--
> >>----------------------------------------------------------------
> >>Assefa Yewondwossen
> >>Software Analyst
> >>
> >>Email: assefa at dmsolutions.ca
> >>http://www.dmsolutions.ca/
> >>
> >>Phone: (613) 565-5056 (ext 14)
> >>Fax:   (613) 565-0925
> >>----------------------------------------------------------------
> >>
> >>
> >>
> > 
> > 
> > 
> 
> 
> -- 
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
> 
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
> 
> Phone: (613) 565-5056 (ext 14)
> Fax:   (613) 565-0925
> ----------------------------------------------------------------
> 
> 
> 


--__--__--

Message: 12
Date: Thu, 8 Jul 2004 16:42:39 -0400
From: "IMD Listuser" <imd_listuser at comcast.net>
To: <mapserver-users at lists.gis.umn.edu>
Subject: [Mapserver-users] Virtual Spatial Data woes

Greetings Mapserver users,

Im having trouble getting Virtual Spatial Data to work in my
environment:

Windows Server 2003
SQL Server 2000 sp3
MapServer 4.2

The problem is that I can get data out of the data base while using
ogrinfo, but not from mapserver. 

Here is the output from a command line use of ogrinfo.

C:\Inetpub\wwwroot\VESSEL~1>ogrinfo VesselServer.ovf position
ERROR 4: Update access not supported for VRT datasources.
ODBC: EstablishSession(Vessels,user,password)
OGR: OGROpen(ODBC:user/password at Vessels) succeeded (00CF3BF8).
OGR: OGROpen(VesselServer.ovf) succeeded (00D00B88).
Had to open data source read-only.
INFO: Open of `VesselServer.ovf'
using driver `VRT' successful.

Layer name: Position
Geometry: Point
Feature Count: 1
ERROR 1: SetAttributeFilter() not supported on ExecuteSQL() results.
ODBC: Recreating statement.
Extent: (11.222492, 54.580212) - (11.222492, 54.580212)
Layer SRS WKT:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],
    AUTHORITY["EPSG","4326"]]
id: Integer (10.0)
longitude_dd: Real (0.0)
latitude_dd: Real (0.0)
ERROR 1: SetAttributeFilter() not supported on ExecuteSQL() results.
ODBC: Recreating statement.
OGRFeature(Position):0
  id (Integer) = 10
  longitude_dd (Real) = 11.22249187974292
  latitude_dd (Real) = 54.58021225220185
  POINT (11.22249188 54.58021225 0.000)

OGR: ReleaseDataSource(ODBC:user/password at Vessels/00CF3BF8) dereferenced
and now destroying.

Here is the VesselServer.ovf file:

<OGRVRTDataSource>
    <OGRVRTLayer name="Position">
        <SrcDataSource>ODBC:user/password at Vessels</SrcDataSource> 
	<SrcSQL>select * from position where id = 10</SrcSQL>
	<GeometryType>wkbPoint</GeometryType> 
        <LayerSRS>WGS84</LayerSRS>
	<GeometryField encoding="PointFromColumns" x="longitude_dd"
y="latitude_dd"/> 
    </OGRVRTLayer>
</OGRVRTDataSource>

Im encouraged to see that others have also had this problem. See:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?OgrinfoError1

Ive also tried to re-create the database and the table (as suggested by
some), but I still have no joy.

Can anyone offer any guidance/help. Im willing to do what I can to get
this to go.

Thanks

Charlie Van Dusen
IM Design



--__--__--

Message: 13
To: "IMD Listuser" <imd_listuser at comcast.net>
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Virtual Spatial Data woes
From: Tyler Mitchell <tjmitchell at riverside.bc.ca>
Date: Thu, 8 Jul 2004 14:00:11 -0700

Haven't use it myself, but a couple things that I heard/read about might 
be issues.
-Is Mapserver using the same ogr version you are using ogrinfo from?
-Is it set as a SYSTEM (not user) data source in ODBC?
-Jeff's page on virtual spatial data in this reference manual might help 
you:
http://omsug.ca/dl/osgis2004/MsTutorialGuide.doc

Hope that helps.

Tyler

mapserver-users-admin at lists.gis.umn.edu wrote on 07/08/2004 01:42:39 PM:

> Greetings Mapserver users,
> 
> Im having trouble getting Virtual Spatial Data to work in my
> environment:
> 
> Windows Server 2003
> SQL Server 2000 sp3
> MapServer 4.2
> 
> The problem is that I can get data out of the data base while using
> ogrinfo, but not from mapserver. 
> 
> Here is the output from a command line use of ogrinfo.
> 
> C:\Inetpub\wwwroot\VESSEL~1>ogrinfo VesselServer.ovf position
> ERROR 4: Update access not supported for VRT datasources.
> ODBC: EstablishSession(Vessels,user,password)
> OGR: OGROpen(ODBC:user/password at Vessels) succeeded (00CF3BF8).
> OGR: OGROpen(VesselServer.ovf) succeeded (00D00B88).
> Had to open data source read-only.
> INFO: Open of `VesselServer.ovf'
> using driver `VRT' successful.
> 
> Layer name: Position
> Geometry: Point
> Feature Count: 1
> ERROR 1: SetAttributeFilter() not supported on ExecuteSQL() results.
> ODBC: Recreating statement.
> Extent: (11.222492, 54.580212) - (11.222492, 54.580212)
> Layer SRS WKT:
> GEOGCS["WGS 84",
>     DATUM["WGS_1984",
>         SPHEROID["WGS 84",6378137,298.257223563,
>             AUTHORITY["EPSG","7030"]],
>         TOWGS84[0,0,0,0,0,0,0],
>         AUTHORITY["EPSG","6326"]],
>     PRIMEM["Greenwich",0,
>         AUTHORITY["EPSG","8901"]],
>     UNIT["degree",0.0174532925199433,
>         AUTHORITY["EPSG","9108"]],
>     AXIS["Lat",NORTH],
>     AXIS["Long",EAST],
>     AUTHORITY["EPSG","4326"]]
> id: Integer (10.0)
> longitude_dd: Real (0.0)
> latitude_dd: Real (0.0)
> ERROR 1: SetAttributeFilter() not supported on ExecuteSQL() results.
> ODBC: Recreating statement.
> OGRFeature(Position):0
>   id (Integer) = 10
>   longitude_dd (Real) = 11.22249187974292
>   latitude_dd (Real) = 54.58021225220185
>   POINT (11.22249188 54.58021225 0.000)
> 
> OGR: ReleaseDataSource(ODBC:user/password at Vessels/00CF3BF8) dereferenced
> and now destroying.
> 
> Here is the VesselServer.ovf file:
> 
> <OGRVRTDataSource>
>     <OGRVRTLayer name="Position">
>         <SrcDataSource>ODBC:user/password at Vessels</SrcDataSource> 
>    <SrcSQL>select * from position where id = 10</SrcSQL>
>    <GeometryType>wkbPoint</GeometryType> 
>         <LayerSRS>WGS84</LayerSRS>
>    <GeometryField encoding="PointFromColumns" x="longitude_dd"
> y="latitude_dd"/> 
>     </OGRVRTLayer>
> </OGRVRTDataSource>
> 
> Im encouraged to see that others have also had this problem. See:
> http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?OgrinfoError1
> 
> Ive also tried to re-create the database and the table (as suggested by
> some), but I still have no joy.
> 
> Can anyone offer any guidance/help. Im willing to do what I can to get
> this to go.
> 
> Thanks
> 
> Charlie Van Dusen
> IM Design
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


--__--__--

Message: 14
Date: Fri, 9 Jul 2004 00:04:28 +0200
From: Armin Burger <armin.burger at gmx.net>
Reply-To: Armin Burger <armin.burger at gmx.net>
To: margottid at comune.lugo.ra.it, mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] queryByAttributes on TWO OR MORE fields

Daniele,

you could achieve this via

  $queryString = "('[street]' = 'Main Street' AND [civic] = 15)";
  $fldName = "street";
  @$Layer->queryByAttributes($fldName, $queryString, MS_SINGLE);

note:
- $fldName can be any valid field name in the shapefile,
  (even if it's not used in the query),
  but I get the impression that this is not always the case,
  so you better use one of the search fields anyway
- field names in the search string must be in brackets []
- the whole query expression should be put in parentheses ()
- I think that once the field names had to be in uppercase for
  shapefiles, but this doesn't seem to be necessary any more
- for fields of type character, the field name should be put
  in single quotes


If you have free entering of search values you might want to search the shapefile case in-sensitive. You could do that that via regular expressions, like

  $queryString = "('[street]' =~ /(M|m)(A|a)(I|i)(N|n) (S|s)(T|t)(R|r)(E|e)(E|e)(T|t)/  AND [civic] = 15 )";

or just

  $queryString = "('[street]' =~ /(M|m)(A|a)(I|i)(N|n) (S|s)(T|t)/  AND [civic] = 15 )";

which would match 'Main Street' if the user entered e.g. the string 'main str' or 'Main street' or 'MAIN ST'

you can convert the entered value to the necessary regular expression e.g. like

  $search_expr = "main str";
  $search_expr_caseinsensitive = preg_replace ("/[a-z]/ie", "'('. strtoupper($0) . '|' . strtolower($0) .')'", $search_expr);

which produces:  (M|m)(A|a)(I|i)(N|n) (S|s)(T|t)(R|r)


Using regex you have also the advantage to decide if you want to search for a full expression or just part of it. So using the above regex solution the search of a user for a street entering 'garib' would find 'v. G. Garibaldi', 'Piazza Garibaldi' and 'Viale Garibaldi' and make search more flexible for the user.

I hope this helps and is not too confusing

Armin



> I have a shapefile and I want to query two fields:
>  - 'street'  (the name of the street)
>  - 'civic' (the civic number of the address)

> For example, in SQL I'd have: SELECT * FROM table WHERE street='Main
> Street' AND civic=15;

> How can I do it with PHP/MapScript?

> I tried:
>     ...
>     $StreetName = 'Main Street';
>     $CivicNumber = 15;
>     if
> ((@$Layer->queryByAttributes('street'&'civic',$StreetName.$CivicNumber,M
> S_SINGLE) {
>     ...
> but this obviously returns an error.

> Can you help me?

> Thank you,
>     Daniele







--__--__--

Message: 15
Cc: Bill Stephenson <bills at secureshopper.com>
From: William K <woklist at charter.net>
Subject: Re: [Mapserver-users] Building MapServer for Max OS X (10.3)
Date: Thu, 8 Jul 2004 18:57:01 -0500
To: mapserver-users at lists.gis.umn.edu

Bill,

Woohoo!  I was a bit under the weather today, enough to stay home, not 
enough that I couldn't add a MapServer build page to my site.  Also 
reorganized the general info a bit.

<http://webpages.charter.net/kyngchaos/macosx/index.html>

About PostGreSQL + PostGIS - yeah, there were some issues back then, 
but even as far back as 7.3.3 I got it working with a simple configure, 
make, install.  The key was to NOT use a -O3 optimizing CFLAG (that was 
an old habit of mine).  You shouldn't have to use Fink.  I haven't 
tried PostGre recently (7.4.x + 0.8.x), but it should be easy, no-fuss. 
  (PostGIS is not a big priority for me, but I could check it out if you 
have problems.)


Take a look, let me know if you have any questions, enjoy.


On Jul 8, 2004, at 12:48 PM, Bill Stephenson wrote:

> On Jul 6, 2004, at 10:06 PM, Ken-ichi Ueda wrote:
>
>> I got MS up and running on my PowerBook a month or two ago, mostly 
>> using the directions you've found (which are great).  My only qualm 
>> is that I highly advise avoiding Fink altogether.
>
> <snip>
>
> Hi Ken-ichi,
>
> I really appreciate the fast reply and helpful tips.
>
> What about this excerpt about installing postgresql from the 
> instruction page:
>
> " Note that you must first download and install 'fink' from 
> sourceforge.net. The instructions at developer.apple.com (link in 
> previous paragraph) show how to use fink to download something called 
> 'readline'. "
>
> Is there a better way to do this, or does it not apply if your 
> installing PostgreSQL-7.4.3 on OS X 10.3?
>
> Kindest Regards,
>
> Bill Stephenson
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
-----
William Kyngesburye <kyngchaos at charter.net>
http://webpages.charter.net/kyngchaos/

All generalizations are dangerous, even this one.


--__--__--

Message: 16
Date: Fri, 09 Jul 2004 11:17:23 +1000
To: mapserver-users at lists.gis.umn.edu
From: Martin Tomko <mtomko at sunrise.sli.unimelb.edu.au>
Subject: [Mapserver-users] Rosa + itemquery

Hi folks,
did anybody of you succeed to implement/modify Rosa in order to support 
also Itemquery mode?? I would like to do it somehow, and having a separate 
form in the surrounding HTML is not nice at all. Any hints??

Martin


--__--__--

Message: 17
Date: Thu, 08 Jul 2004 22:56:37 -0400
From: Paul Spencer <pagameba at magma.ca>
Reply-To: pspencer at dmsolutions.ca
Organization: DM Solutions Group Inc
To: David Bradshaw <dbradshaw at olver.com>,
        "mapserver-users at lists.gis.umn.edu" <mapserver-users at lists.gis.umn.edu>
Subject: [Mapserver-users] Re: [Chameleon] Symbol Question

David, this is much more appropriate on the mapserver-users list.

Cheers,

Paul

David Bradshaw wrote:

> To all:
> 
> I am wondering about all the different symbols for MapServer.  Is there
> a library of all the different symbols.  For example water wells (dry,
> abandoned, etc) or gas well (producing, plugged, abandoned, etc)
> symbols? I am new, I hope this is not too simple of a question.
> 
> Thanks,
> 
> David L. Bradshaw 
> 
> 
> This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you.
> 
> 
> 
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           pspencer at dmsolutions.ca   |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------


--__--__--

Message: 18
Date: Fri, 09 Jul 2004 00:51:58 -0400
From: Abram Gillespie <agillesp at vt.edu>
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] rectObj->fit()

I'm having trouble understanding rectObj->fit().  What are units are 
the input arguments?  I figured they'd be in the units of the map.  For 
instance, I'd like to grow a given rectangle by 1000'  So I'd think I'd 
do something like:

$x = $rect->fit(1000, 1000);

What is the double that's returned?  I thought that might be the factor 
I would grow or shrink the original rectangle.  Would someone help 
please ... maybe post some example code?

Thanks.
-Abe


--__--__--

Message: 19
Date: Fri, 09 Jul 2004 00:12:00 -0500
From: "Steve Lime" <steve.lime at dnr.state.mn.us>
To: <mapserver-users at lists.gis.umn.edu>, <agillesp at vt.edu>
Subject: Re: [Mapserver-users] rectObj->fit()

That method takes an extent and 'fits' it to a particular image size.
The input parameters are the hight and width of an image. What's
returned is the cellsize (in map units) of the resulting extent and
image.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> Abram Gillespie <agillesp at vt.edu> 07/08/04 11:51 PM >>>
I'm having trouble understanding rectObj->fit().  What are units are 
the input arguments?  I figured they'd be in the units of the map.  For 
instance, I'd like to grow a given rectangle by 1000'  So I'd think I'd 
do something like:

$x = $rect->fit(1000, 1000);

What is the double that's returned?  I thought that might be the factor 
I would grow or shrink the original rectangle.  Would someone help 
please ... maybe post some example code?

Thanks.
-Abe

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


--__--__--

Message: 20
Date: Fri, 09 Jul 2004 10:17:17 +0300
From: Kristjan Annus <kristjan at tarkvarastuudio.ee>
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Re: Rosa applet and Virtual machines (Valerio Noti)

Hi Valerio

I have tested both VM-s and have made the same conclusions, that Sun VM 
is slow and unstable
with Rosa applet. In fact in older versions on Sun VM the setimage 
method of the applet does not
work  at all. I have encountered the same problems with Mapplet and Jbox 
applet's allso. So that
I think the problem is rather in Sun VM than in applet's itself.

Kristjan


--__--__--

Message: 21
To: Sylvain Beorchia <sbeorchia at gi-lemans.fr>,
        mapserver-users at lists.gis.umn.edu
From: "Lowell Filak" <lfilak at medinaco.org>
Subject: Re: [Mapserver-users] queryByShape, intersects
Date: Fri, 09 Jul 2004 08:49:53 -0400

The following message was sent by Sylvain Beorchia
<sbeorchia at gi-lemans.fr> on Thu, 08 Jul 2004 18:31:06 +0200.

> Hi list,
> 
> 
> Here is my problem:
> I want to query a map using object ids + a shape drawn on the
map..ie...i've
> got a list of shape returned from an sql query, adn then, i want to
know if
> those objects are contained in a specific zone of the map, represented
by a
> shape.
> I tried queryByShape to retreive the objects from the shape.. but it
doesn't
> work...look at the way i use to create the shape :
> 
>    $coord = $HTTP_FORM_VARS["FENCE_COORD"];
>    $shapeFence=ms_newShapeObj(MS_SHAPE_POLYGON);
>    $line=ms_newlineObj();
>    $point=ms_newPointObj();
>    $setXY = strtok($coord, ";");
>    $first = 1;
>    $firstPoint = ms_newPointObj();
>    while ($setXY)
>    {
>     $coordArray = explode("," , $setXY);
>           $x = GMapPix2Geo($coordArray[0], 0,$dfWidthPix, $dfMinX,
$dfMaxX,
> 0);
>     $y = GMapPix2Geo($coordArray[1], 0,$dfHeightPix, $dfMinY, $dfMaxY, 1);
>     $point->setXY($x,$y);
>     $line->add($point);
>     $setXY = strtok(";");
>     if($first == 1)
>     {
>      $first = 0;
>      $firstPoint->setXY($x,$y);
>     }
>    }
>    $line->add($firstPoint);
>    $shapeFence->add($line);
> 
>    @$gpoMap->queryByShape($shapeFence);
> 
> Moreover, when i check the bounds of my new created shape, xmin =-1,
> ymin=-1...
> How is it possible regarding of my code ?
> 
> 
> And then, is it possible to use the funtion Intersect with 2 shapes from
> differents layers, and one got by the getShape function, and the other
> created dynamically.
> 
> Thanks for any help.
> 
> Sylvain.
> 

Sylvain

Just as a starting point:
1) In SWIGMapScript there is a $shapeobj->setBounds that needs called to
set the bounds of a new shape (does anyone know if that is also true for
PHPMapScript?).
2) Is there a template set on the layer you are querying?
3) With newer versions of MapServer there is also a requirement that the
class for the layer containing the dynamic shape contain a style - at
least for drawing.

HTH

Lowell

--__--__--

Message: 22
Date: Fri, 9 Jul 2004 11:02:25 -0500
From: "Attri, Abhishek" <aattri at cba.ua.edu>
To: <mapserver-users at lists.gis.umn.edu>
Subject: [Mapserver-users] How to add text to a legend

This is a multi-part message in MIME format.

------_=_NextPart_001_01C465CE.20438078
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All,

=20

I want to add name or text in front of my legend image. For example, if
a layer has two classes which are highlighted according to a particular
criterion, then I would like to show the legend for each class, and the
criterion (text) along with it.

=20

It should look like: - Legend image1 text 1(or label)

                             Legend image2 text2

=20

I tried giving different names to classes, but that didn't help. I guess
it has something to do with symbols. I am using PHP Map script, but any
sort of explanation would be helpful.

=20

With thanks,

=20

Abhishek

=20

=20

=20

=20

=20


------_=_NextPart_001_01C465CE.20438078
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<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
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@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'>Hi All,<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I want to add name or text in front of my legend =
image. For
example, if a layer has two classes which are highlighted according to a
particular criterion, then I would like to show the legend for each =
class, and
the criterion (text) along with it.<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>It should look like: - Legend image1 text 1(or =
label)<o:p></o:p></span></font></p>

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

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I tried giving different names to classes, but that =
didn&#8217;t
help. I guess it has something to do with symbols. I am using PHP Map =
script, but
any sort of explanation would be helpful.<o:p></o:p></span></font></p>

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

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

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

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

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

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

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

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

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

</div>

</body>

</html>

------_=_NextPart_001_01C465CE.20438078--

--__--__--

Message: 23
From: "fx gamoy" <fx.gamoy at mapxplore.com>
To: <mapserver-users at lists.gis.umn.edu>
Date: Fri, 9 Jul 2004 18:11:08 +0200
Subject: [Mapserver-users] symbol question

This is a multi-part message in MIME format.

------=_NextPart_000_0173_01C465E0.1BCA9F00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello world,
i'd like to obtain lines with oriented triangle in order to show the =
direction of a track.
I have made several test but nothing very interesting..
thanks in advance..
fx

------=_NextPart_000_0173_01C465E0.1BCA9F00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello world,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i'd like to obtain lines with oriented =
triangle in=20
order to show the direction of a track.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have made several test but nothing =
very=20
interesting..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thanks in advance..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>fx</FONT></DIV></BODY></HTML>

------=_NextPart_000_0173_01C465E0.1BCA9F00--


--__--__--

Message: 24
Date: Fri, 09 Jul 2004 15:41:11 +0200
From: Sylvain Beorchia <sbeorchia at gi-lemans.fr>
Subject: Re: [Mapserver-users] queryByShape, intersects
To: Lowell Filak <lfilak at medinaco.org>, mapserver-users at lists.gis.umn.edu

Hi Lowell,

I didn't know that we should use   $shapeobj->setBounds  when creating a new
shape...that's very strange. If so, that may be sometimes not so easy to set
the bounds of a shape which is composed from lot of lines....it's not
difficult, but it's not nice.
Yes there is a template on the layers i query. But not on the layer which
contains the shape (dynamic one).
And my dynamic layer contains a style. I use some Javascript to draw the
shape dynamically, and then i write it in the dynamic layer...and i can see
it very well.
I'm gonna try the setBounds, if there is one, but...

Thanks.

Sylvain


----- Original Message ----- 
From: "Lowell Filak" <lfilak at medinaco.org>
To: "Sylvain Beorchia" <sbeorchia at gi-lemans.fr>;
<mapserver-users at lists.gis.umn.edu>
Sent: Friday, July 09, 2004 2:49 PM
Subject: Re: [Mapserver-users] queryByShape, intersects


> The following message was sent by Sylvain Beorchia
> <sbeorchia at gi-lemans.fr> on Thu, 08 Jul 2004 18:31:06 +0200.
>
> > Hi list,
> >
> >
> > Here is my problem:
> > I want to query a map using object ids + a shape drawn on the
> map..ie...i've
> > got a list of shape returned from an sql query, adn then, i want to
> know if
> > those objects are contained in a specific zone of the map, represented
> by a
> > shape.
> > I tried queryByShape to retreive the objects from the shape.. but it
> doesn't
> > work...look at the way i use to create the shape :
> >
> >    $coord = $HTTP_FORM_VARS["FENCE_COORD"];
> >    $shapeFence=ms_newShapeObj(MS_SHAPE_POLYGON);
> >    $line=ms_newlineObj();
> >    $point=ms_newPointObj();
> >    $setXY = strtok($coord, ";");
> >    $first = 1;
> >    $firstPoint = ms_newPointObj();
> >    while ($setXY)
> >    {
> >     $coordArray = explode("," , $setXY);
> >           $x = GMapPix2Geo($coordArray[0], 0,$dfWidthPix, $dfMinX,
> $dfMaxX,
> > 0);
> >     $y = GMapPix2Geo($coordArray[1], 0,$dfHeightPix, $dfMinY, $dfMaxY,
1);
> >     $point->setXY($x,$y);
> >     $line->add($point);
> >     $setXY = strtok(";");
> >     if($first == 1)
> >     {
> >      $first = 0;
> >      $firstPoint->setXY($x,$y);
> >     }
> >    }
> >    $line->add($firstPoint);
> >    $shapeFence->add($line);
> >
> >    @$gpoMap->queryByShape($shapeFence);
> >
> > Moreover, when i check the bounds of my new created shape, xmin =-1,
> > ymin=-1...
> > How is it possible regarding of my code ?
> >
> >
> > And then, is it possible to use the funtion Intersect with 2 shapes from
> > differents layers, and one got by the getShape function, and the other
> > created dynamically.
> >
> > Thanks for any help.
> >
> > Sylvain.
> >
>
> Sylvain
>
> Just as a starting point:
> 1) In SWIGMapScript there is a $shapeobj->setBounds that needs called to
> set the bounds of a new shape (does anyone know if that is also true for
> PHPMapScript?).
> 2) Is there a template set on the layer you are querying?
> 3) With newer versions of MapServer there is also a requirement that the
> class for the layer containing the dynamic shape contain a style - at
> least for drawing.
>
> HTH
>
> Lowell


--__--__--

Message: 25
From: "Valerio Noti" <noti at ciaoweb.it>
To: "Kristjan Annus" <kristjan at tarkvarastuudio.ee>,
        <mapserver-users at lists.gis.umn.edu>
Subject: Re: [Mapserver-users] Re: Rosa applet and Virtual machines (Valerio Noti)
Date: Fri, 9 Jul 2004 18:48:50 +0200

Thank you for your response Kristjan,
since Microsoft cannot distribute his JVM for legal problems, I'm very
confused about the use of Java.
If Sun JVM is unstable and slow with map applets, do you think I have to
abandon definitively Java or
are there any solutions to this problem? is it possible (and legal) to
install the old Microsoft JVM where it is not installed?

Thanks again.

Valerio


----- Original Message ----- 
From: "Kristjan Annus" <kristjan at tarkvarastuudio.ee>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Friday, July 09, 2004 9:17 AM
Subject: [Mapserver-users] Re: Rosa applet and Virtual machines (Valerio
Noti)


> Hi Valerio
>
> I have tested both VM-s and have made the same conclusions, that Sun VM
> is slow and unstable
> with Rosa applet. In fact in older versions on Sun VM the setimage
> method of the applet does not
> work  at all. I have encountered the same problems with Mapplet and Jbox
> applet's allso. So that
> I think the problem is rather in Sun VM than in applet's itself.
>
> Kristjan
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>



--__--__--

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


End of Mapserver-users Digest




More information about the mapserver-users mailing list