question on query
Manfred Meier
m.meier at SPIEKERMANN.DE
Wed Aug 9 23:52:05 PDT 2006
Hi Albert,
- I mentioned javascript (not java) because sometimes you need it to
make a web based gui more comfortable. For a first try it is not necessary.
- Thanks for the explantions of TWP and so on and for the example url.
- Lawrence did give you a good example.
- Perhaps to make it more clear, how to put an url together here two
examples:
1) Try
http://www.elbe-link.de/cgi-bin/map_test1/mapserv?map=test1.map&mode=map&mapext=2545900+5673000+2547600+5674400
you should get an image with some polygons (parcels) and their id numbers.
2) Try
http://www.elbe-link.de/cgi-bin/map_test1/mapserv?map=test1.map&mode=itemquery&mapext=2545900+5673000+2547600+5674400&qlayer=zel1&qitem=ZELNR&qstring="1405"
we did a query for the polygon with the number 1405 in the data field
"ZELNR". You should get an image with a highlighted polygon.
You see the differences in mode, qlayer, qitem and qstring.
At the moment I'm trying to put a qstring in the form "[ZELNR]=1405"
together but it does not work. Sorry I have never worked with mode =
itemquery and so on.
Manfred
Albert Anderson schrieb:
> Hi Manfred,
>
> This search is a parcel search.
>
> Albert
>
> Albert Anderson <bart_doggers at YAHOO.COM> wrote:
>
> Hi Manfred,
>
> Okay. I want to able to serach by TWP(township), RNG(range), and
> SCT(sections).
>
> Why do you need to put java extensions on the end of them? I dont
> know how to do that. The contents comes from the parcels shp file
> which TWP, RNG, and SCT are the field names in the file.
>
> I want the result in a highlighted element in the image map. That
> would be ideal. If not I can get a table working that would be okay
> too.
>
> I am using html code in dreamweaver. No perl or php used.
>
> Here is a site that I am going by kinda
> http://www.houstonengineeringinc.com/mapmorph_demo/mapserv.html
>
> thanks,
> Albert
>
>
> Manfred Meier <m.meier at spiekermann.de> wrote:
>
> Hi Albert,
>
> I can try to help, but I have no idea, what you are trying to do.
>
> - What is TWP, RNG and so on?
>
> - You write, you want to have drop down and text boxes. In my
> opinion
> you have to code these elements in HTML perhaps with javascript
> extensions. Do you know how to do that? Where does the contents
> of the
> drop downs come from?
>
> - What result do you want to have after submit? A highlighted
> element in
> the image and/or a table with detail data of the selected element?
>
> - I'm sure there are sites which do likely functions. Did you
> look at
> some example sites?
>
> - Do you use some scripting language like perl or php to
> dynamically
> create the html pages or are they static?
>
>
>
> Manfred
>
>
> Albert Anderson schrieb:
> > Hi,
> >
> > I would like some help with building this query. I want drop
> down bar
> > menu with TWP, RNG, RNG & SCT, TWP & RNG, and TWP & RNG &
> SCT. Then
> > three text boxes so you can put in the numbers. Have a submit
> button for
> > the results. Is there a way I can this do this with mapserver
> 4? How
> > would I get started with this? Could someone email me back.
> >
> > Thanks,
> > Albert
> >
> >
> ------------------------------------------------------------------------
> > Stay in the know. Pulse on the new Yahoo.com. Check it out.
> >
>
>
> ------------------------------------------------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
> rates starting at 1¢/min.
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
>
>
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Get on board. You're invited
> <http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers>
> to try the new Yahoo! Mail Beta.
More information about the MapServer-users
mailing list