[mapserver-users] Another question
Morin, Annie
amorin at NRCan.gc.ca
Tue Jan 29 11:39:29 PST 2002
Hi,
here is an example on how I do it. give me news if it worked.
Annie Morin
LAYER
NAME "14"
TYPE Point
STATUS ON
DATA phot250
QUERY
TEMPLATE "d:\www\moosemon\module_map\out.html"
END # QUERY
CLASS
symbol ellipse1
size 6
Name 'Photo_250mm'
COLOR 255 0 0
OUTLINECOLOR 0 0 0
END # CLASS
END # LAYER
we do a query by calling a template file (out.html)
which contains
document.location =
"/geoide/Module_map/Component_info/info_frames.cfm?LayerName=[DATASET_ID]&Ke
yString=[SP_OBJ_ID]&source_id=[SOURCE_ID]&data=[MSLINK_ODB]&X=[X]&Y=[Y]";
[DATASET_ID], [SP_OBJ_ID],[SOURCE_ID] and [MS_LINK_ODB] are columns in our
dbf of the shapefile.
Annie Morin
> ----------
> De : Nacho Benito[SMTP:nachobenito75 at hotmail.com]
> Date : 29 janvier, 2002 14:14
> A : mapserver-users at lists.gis.umn.edu
> Objet : [mapserver-users] Another question
>
> hello,
> I'm sorry to ask again now I would like to know how can I define a query
> layer (I want to do an itemquery). I suposse I'm not doing it well because
>
> when I try to execute the code mapserv answer:
> No query layer defined
> Could anyone help me?
> Thank you
> Nacho
>
> _________________________________________________________________
> Descargue GRATUITAMENTE MSN Explorer en
> http://explorer.yupimsn.com/intl.asp
>
More information about the MapServer-users
mailing list