Rif: Re: point data searching
aborruso at spaziogis.it
aborruso at spaziogis.it
Wed Nov 8 01:56:54 PST 2000
Dear all,
where [shpmidx] [shpmidy] functions is documented in mapserver site? Which
are their functions?
Thank you,
Andrea
"Stephen Lime"
<steve.lime at dnr.state.mn.us> Per: <mapserver-users at lists.gis.umn.edu>,
Inviato da: <nwerneck at yahoo.com.br>
owner-mapserver-users at lists.g Cc:
is.umn.edu Oggetto: Re: point data searching
07/11/2000 20.15
Just centering is easy. In you're query template you might have something
like:
<!-- the image -->
<img src="/cgi-bin/mapserv?map=[map]&mapxy=[shpmidx]+[shpmidy]
&scale=250000[get_layers]&mode=map">
or
<img src="/cgi-bin/mapserv?map=[map]&mapxy=[shpmidx]+[shpmidy]
&buffer=5000[get_layers]&mode=map">
The values for buffer and scale could easily be passed in from the same
form the user picked
the city. Just use the pass through feature of templates. I do this all the
time. BTW [get_layers]
just adds currently selected layers (i.e. &layer=layer1&layer=layer2) to
the end. You may or may not
need it.
Steve
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> <nwerneck at yahoo.com.br> 11/07/00 01:52AM >>>
> Do you really need to draw the city some special way or do you just need
> it centered on the city with everything drawn as normal?
Just center the city in the map... Is it possible? Can I specify
the scale of the new map?
It would be nice to tell, for example: "Show me the Myztplikz
city, at THAT
scale" or "... and everything at THAT distance from it"
It looks like this already exists for mapxy queries...
Can I specify some coordinated pair (outside any shapefile), and
tell
mapserv to show me the map centered at that point? Or must I
calculate the mapext?
???
-- Nicolau
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the MapServer-users
mailing list