[Mapserver-users] Query problem (MapScript Java Interface)

José María Michia jmmichia at ciudad.com.ar
Fri Dec 20 14:40:38 EST 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0030_01C2A846.870B0A60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all!

I'm working with MapScript Java Interface. I need make query's in a user =
selected layer. So, when the user select a layer, I call =
layer.setTemplate("any.html"). When the user select another layer, I =
call layer.setTemplate("") in the previously selected layer. This don`t =
work, and mapObj.drawQuery() method hilite elements in the two layers =
(the first selected and the second). I need hilite only the second layer =
in the last case.
I try this: layer.setTemplate(null): produce a segmentation fault =
outside de Java Virtual Machine.

Thanks in advance, and sorry my english.

Jos=E9 Mar=EDa Michia
Desarrollador SIG
Municipalidad de la Ciudad de Rosario, Argentina

------=_NextPart_000_0030_01C2A846.870B0A60
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 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm working with MapScript Java =
Interface. I need=20
make query's in a user selected layer. So, when the user select a layer, =
I call=20
layer.setTemplate("any.html"). When the user select another layer, I =
call=20
layer.setTemplate("") in the previously selected layer. This don`t work, =
and=20
mapObj.drawQuery() method hilite elements in the two layers (the first =
selected=20
and the second). I need hilite only the second layer in the last=20
case.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I try this: layer.setTemplate(null): =
produce a=20
segmentation fault outside de Java Virtual Machine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance, and sorry my=20
english.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jos=E9 Mar=EDa Michia</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Desarrollador SIG</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Municipalidad de la Ciudad de Rosario,=20
Argentina</FONT></DIV></BODY></HTML>

------=_NextPart_000_0030_01C2A846.870B0A60--




More information about the mapserver-users mailing list