[SPAM] - Re: [Mapserver-users] Retrieving shape extent -Email found in subject

Charles D. Van Dusen charlie at im-design.net
Tue Mar 16 02:40:41 PST 2004


OK now Im confused

In order to retrieve the extent of a shape by its internal index, the
mode setting in the url must be set to 'indexquery'. If desired, the
mode setting can be 'indexquerymap' and a map with the selected shape
highlighted in the default yellow will be returned.

>From what I understand in the tutorials, a mode of 'map' will stream the
image directly back to the browser while a mode of 'browse' will write
the map image to disk where it can be retrieved with the [img] tag in a
template. What I have heard in this thread is that using the
'indexquery' mode will return the extent of the shape to the [shpext]
tag in the template and will write the map image to disk and its url to
[img] in the template. When I use 'indexquery' as the mode, I do not see
any images being written to the temp directory on disk. 

It is as if there should be an 'indexquerybrowse' mode. Is there?

Confused...

Charlie



Charlie Van Dusen
charlie at im-design.net

-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Steve Lime
Sent: Monday, March 15, 2004 2:49 PM
To: Charles D. Van Dusen; mapserver-users at lists.gis.umn.edu
Subject: RE: [SPAM] - Re: [Mapserver-users] Retrieving shape extent
-Email found in subject

Assuming you're using a query map you'd just use the [img] tag to get at
the image. No extra trip necessary. You can also build images based on
query results independent of the query map.

Steve

>>> "Charles D. Van Dusen" <charlie at im-design.net> 3/15/2004 1:16:03 PM
>>>
OK (understood)

So, how do I get the map while in non-map mode? Does it require an extra
round-trip to the server or is the image created?

Im working with the 'workshop' demos (specifically the dhtml banding box
demo), which I believe has its template specified as
'itasca_adds_dhtml.html'.

TIA

Charlie 


Charlie Van Dusen
charlie at im-design.net 

-----Original Message-----
From: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
Sent: Monday, March 15, 2004 1:15 PM
To: Charles D. Van Dusen; mapserver-users at lists.gis.umn.edu
Subject: [SPAM] - Re: [Mapserver-users] Retrieving shape extent - Email
found in subject

When you're in a ...MAP mode you only get the map, that's the point.
However you can
still get a map with in a non-map mode, but you work through a template
instead. Won't that work for you?

Steve

>>> "Charles D. Van Dusen" <charlie at im-design.net> 3/13/2004 11:38:59
AM >>>
Greetings All,

Is it possible to retrieve the extent of a shape selected whil in
'indexquerymap' mode?

So far I have not been able to retrieve anything but the image of the
selected shape. I need to have the extent ([shpext]) as well, but I have
only been able to retrieve it in 'indexquery' mode.

Any ideas

Thanks


Charlie


_______________________________________________
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
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users






More information about the MapServer-users mailing list