<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=utf-8>
<META content="MSHTML 6.00.6002.18167" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Arial size=2>Use an OpenLayers.Control.SelectFeature control
with a box handler. Set multiple=true and listen to the featuresselected
event.</FONT></DIV>
<DIV><FONT face=Arial size=2>Then just do whatever you want to the features that
are passed to the event handler.</FONT></DIV>
<DIV><FONT face=Arial size=2>By the way the trunk version of OL has the
feautresselected (multiple features passed to the handler in an
array) event whereas OL 2.8 only includes the featureselected (single
feature passed to the handler) which will fire once for each feature
selected.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Matt Priour</FONT></DIV>
<DIV><FONT face=Arial size=2>Kestrel Computer</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><FONT face=Arial></FONT><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=ozgzan@gmail.com
href="mailto:ozgzan@gmail.com">Ozgur Zan</A> </DIV>
<DIV><B>Sent:</B> Friday, February 19, 2010 1:56 AM</DIV>
<DIV><B>To:</B> <A title=users@geoext.org
href="mailto:users@geoext.org">users@geoext.org</A> </DIV>
<DIV><B>Subject:</B> [Users] How to save features of a selected region into an
externalfile?</DIV></DIV></DIV>
<DIV><BR></DIV>Dear List members,<BR><BR>I want to re-program OpenLayers Select
Feature so that when I select a region by drawing a box,<BR>the features in the
selected region are saved into a a document (of XML, TXT or any other)
rather<BR>than a pop-up or zoom in features. Is there anyone who can guide
me?<BR><BR>Best Regards,<BR>Dr. Ozgur ZAN<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Users mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></BODY></HTML>