hi list,<br>i am new in open layer .so my concern is to find feature in open layer when we click the zoom then it will zoom on the map.any one know about that please help me.you assist will be highly appreciated<br>thanx<br>
<br><div class="gmail_quote">On Wed, Nov 17, 2010 at 9:27 PM,  <span dir="ltr">&lt;<a href="mailto:openlayers-dev-request@lists.osgeo.org">openlayers-dev-request@lists.osgeo.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Send Dev mailing list submissions to<br>
        <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:openlayers-dev-request@lists.osgeo.org">openlayers-dev-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:openlayers-dev-owner@lists.osgeo.org">openlayers-dev-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers<br>
      (<a href="mailto:maw269@gmail.com">maw269@gmail.com</a>)<br>
   2. Layers overlapping (Denis Rykov)<br>
   3. Re: Layers overlapping (Andreas Hocevar)<br>
   4. Re: Layers overlapping (dr)<br>
   5. Re: Re: Layers overlapping (Andreas Hocevar)<br>
   6. Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers<br>
      (Nathan Gerber)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 16 Nov 2010 23:32:19 +0000<br>
From: <a href="mailto:maw269@gmail.com">maw269@gmail.com</a><br>
Subject: Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers<br>
To: Nathan Gerber &lt;<a href="mailto:ngerber999@gmail.com">ngerber999@gmail.com</a>&gt;, <a href="mailto:maw269@gmail.com">maw269@gmail.com</a><br>
Cc: <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Message-ID: &lt;<a href="mailto:90e6ba53a810be08d8049533f7fe@google.com">90e6ba53a810be08d8049533f7fe@google.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Thank You Nathan...I now have access the the NASA WMS in openlayers!<br>
<br>
Any idea on how I would use the downloaded data pack in openlayers? Is that<br>
possible?<br>
<br>
<br>
<br>
On Nov 15, 2010 7:48pm, Nathan Gerber &lt;<a href="mailto:ngerber999@gmail.com">ngerber999@gmail.com</a>&gt; wrote:<br>
&gt; Matt,<br>
&gt; &gt;<br>
&gt; For using the World Wind WMS layers you referenced this is what you would<br>
&gt; add to your map assuming that you are using the default projection for<br>
&gt; OpenLayers (EPSG:4326)<br>
&gt; &gt;<br>
<br>
&gt; var nasa = new OpenLayers.Layer.WMS(&quot;NASA WMS Service&quot;,<br>
&gt; &quot;<a href="http://onearth.jpl.nasa.gov/wms.cgi" target="_blank">http://onearth.jpl.nasa.gov/wms.cgi</a>?&quot;,<br>
<br>
<br>
&gt; {<br>
&gt; layers: &#39;global_mosaic&#39;<br>
&gt; , styles: &#39;visual&#39;<br>
<br>
<br>
&gt; },<br>
&gt; {<br>
&gt; tileSize: new OpenLayers.Size(512,512)<br>
<br>
<br>
&gt; }<br>
&gt; );<br>
&gt; map.addLayer(nasa);<br>
<br>
<br>
<br>
&gt; In the link you posted go to the &quot;GetTileService&quot; When you view the XML<br>
&gt; take note of the comments in the TilePattern tags. For example:<br>
<br>
<br>
<br>
&gt; request=GetMap&amp;layers=daily_afternoon&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90<br>
<br>
<br>
<br>
&gt; In the above example you would take layers=daily_afternoon and use the<br>
&gt; daily_afternoon as your layers in the OpenLayers definition. Styles is<br>
&gt; not necessary unless you are looking for a specific theme. If so look in<br>
&gt; the above example string again and you will see styles=visual, visual is<br>
&gt; what you would specify in the styles definition for OpenLayers. Be sure<br>
&gt; you use the tileSize definition that matches the width and height from<br>
&gt; the TilePattern string.<br>
<br>
<br>
&gt; The WorldWind example you reference is accessing the remote WorldWind<br>
&gt; server for the tiles. It is not intended for accessing a copy of the data<br>
&gt; that you downloaded.<br>
<br>
<br>
&gt; --<br>
&gt; Nathan Gerber<br>
<br>
&gt; &gt;<br>
&gt; On Mon, Nov 15, 2010 at 4:33 PM, <a href="mailto:maw269@gmail.com">maw269@gmail.com</a>&gt; wrote:<br>
<br>
<br>
&gt; I have 2 questions:<br>
<br>
<br>
&gt; 1. Is it possible to show World Wind WMS Layers from OpenLayers as in<br>
&gt; <a href="http://onearth.jpl.nasa.gov/tiled.html" target="_blank">http://onearth.jpl.nasa.gov/tiled.html</a>?<br>
<br>
<br>
&gt; I can hit their wms from my browser:<br>
<br>
<br>
&gt; <a href="http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&amp;layers=global_mosaic&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90" target="_blank">http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&amp;layers=global_mosaic&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90</a><br>

<br>
<br>
&gt; but can&#39;t seem to connect to it using any of the openlayers.layer.classes.<br>
<br>
<br>
<br>
<br>
<br>
&gt; 2. I also downloaded the NLT Landsat 7 Visible Color-Level 0 cache pack<br>
&gt; from <a href="http://www.worldwinddata.com/" target="_blank">http://www.worldwinddata.com/</a><br>
<br>
<br>
&gt; How do I use OpenLayers.Layer.WorldWind to show that layer? I looked at<br>
&gt; <a href="http://openlayers.org/dev/examples/worldwind.html" target="_blank">http://openlayers.org/dev/examples/worldwind.html</a> but was even more<br>
&gt; confused after looking at that page&#39;s source.<br>
<br>
<br>
&gt; The cache pack uzipped to my harddrive as a folder entitled &#39;0&#39;;<br>
&gt; subfolders entitled &#39;0015&#39; through &#39;0075&#39;; and then images such<br>
&gt; as &#39;0015_0046.jpg&#39;<br>
<br>
<br>
&gt; Thanks,<br>
<br>
<br>
&gt; Matt<br>
&gt; _______________________________________________<br>
<br>
<br>
&gt; Dev mailing list<br>
<br>
<br>
&gt; <a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<br>
<br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101116/1c92f31c/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101116/1c92f31c/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 17 Nov 2010 15:32:07 +0600<br>
From: Denis Rykov &lt;<a href="mailto:rykovd@gmail.com">rykovd@gmail.com</a>&gt;<br>
Subject: [OpenLayers-Dev] Layers overlapping<br>
To: <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTimCz8CqSe9ti-Q_BtGuSJvXLep9psm4d7R0QPT8@mail.gmail.com">AANLkTimCz8CqSe9ti-Q_BtGuSJvXLep9psm4d7R0QPT8@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
I try to add on my map two vector layers from GeoJSON files. One of the<br>
layers - polygonal, another - points. But point layer is always overlapped<br>
by polygonal layer. I use different combinations of addLayer method, try to<br>
change z-indexes of layers, use raiseLayer method - no results.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101117/b66a8f25/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101117/b66a8f25/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 17 Nov 2010 10:51:15 +0100<br>
From: Andreas Hocevar &lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;<br>
Subject: Re: [OpenLayers-Dev] Layers overlapping<br>
To: Denis Rykov &lt;<a href="mailto:rykovd@gmail.com">rykovd@gmail.com</a>&gt;<br>
Cc: <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Message-ID: &lt;<a href="mailto:8E3A2D4D-6D33-455B-A086-42033DC3434A@opengeo.org">8E3A2D4D-6D33-455B-A086-42033DC3434A@opengeo.org</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi,<br>
<br>
are you using a SelectFeature control on the polygon layer? Or are you parsing the GeoJSON manually instead of using OpenLayers.Layer.GeoJSON or OpenLayers.Layer.Vector with a WFS or HTTP protocol?<br>
<br>
Regards,<br>
Andreas.<br>
<br>
On Nov 17, 2010, at 10:32 , Denis Rykov wrote:<br>
<br>
&gt; I try to add on my map two vector layers from GeoJSON files. One of the layers - polygonal, another - points. But point layer is always overlapped by polygonal layer. I use different combinations of addLayer method, try to change z-indexes of layers, use raiseLayer method - no results.<br>

&gt; _______________________________________________<br>
&gt; Dev mailing list<br>
&gt; <a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 17 Nov 2010 05:45:29 -0800 (PST)<br>
From: dr &lt;<a href="mailto:rykovd@gmail.com">rykovd@gmail.com</a>&gt;<br>
Subject: [OpenLayers-Dev] Re: Layers overlapping<br>
To: <a href="mailto:dev@openlayers.org">dev@openlayers.org</a><br>
Message-ID: &lt;<a href="mailto:1290001529584-5747740.post@n2.nabble.com">1290001529584-5747740.post@n2.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
You are right! I use SelectFeature control only for polygonal layer, not for<br>
point. I try to add point layer to SelectFeature layers array and it works<br>
flawlessly now. Why this happens?<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Layers-overlapping-tp5746964p5747740.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Layers-overlapping-tp5746964p5747740.html</a><br>

Sent from the OpenLayers Dev mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 17 Nov 2010 15:15:06 +0100<br>
From: Andreas Hocevar &lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;<br>
Subject: Re: [OpenLayers-Dev] Re: Layers overlapping<br>
To: dr &lt;<a href="mailto:rykovd@gmail.com">rykovd@gmail.com</a>&gt;<br>
Cc: <a href="mailto:dev@openlayers.org">dev@openlayers.org</a><br>
Message-ID: &lt;<a href="mailto:249BC7B7-AEE2-4B95-8717-9E13D9D1C20D@opengeo.org">249BC7B7-AEE2-4B95-8717-9E13D9D1C20D@opengeo.org</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Nov 17, 2010, at 14:45 , dr wrote:<br>
<br>
&gt; You are right! I use SelectFeature control only for polygonal layer, not for<br>
&gt; point. I try to add point layer to SelectFeature layers array and it works<br>
&gt; flawlessly now. Why this happens?<br>
<br>
Because for the SelectFeature control to work, the svg/vml container needs to be on top of the layer stack. If you configure it with multiple layers, it will create its own container on top of all other layers. If you configure it with a single layer, it will move this layer to the top of the layer stack.<br>

<br>
Regards,<br>
Andreas.<br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 17 Nov 2010 10:57:04 -0500<br>
From: Nathan Gerber &lt;<a href="mailto:ngerber999@gmail.com">ngerber999@gmail.com</a>&gt;<br>
Subject: Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers<br>
To: <a href="mailto:maw269@gmail.com">maw269@gmail.com</a><br>
Cc: <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Message-ID:<br>
        &lt;AANLkTi=<a href="mailto:F-AH2bArb7zioyMfdV1m_c%2B_8OJt89B4nL7ag@mail.gmail.com">F-AH2bArb7zioyMfdV1m_c+_8OJt89B4nL7ag@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
The layers are likely in the zoomify format so you may want to research how<br>
to use zoomify layers in OpenLayers.<br>
--<br>
Nathan Gerber<br>
<br>
<br>
On Tue, Nov 16, 2010 at 6:32 PM, &lt;<a href="mailto:maw269@gmail.com">maw269@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Thank You Nathan...I now have access the the NASA WMS in openlayers!<br>
&gt;<br>
&gt; Any idea on how I would use the downloaded data pack in openlayers? Is that<br>
&gt; possible?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Nov 15, 2010 7:48pm, Nathan Gerber &lt;<a href="mailto:ngerber999@gmail.com">ngerber999@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Matt,<br>
&gt; &gt; &gt;<br>
&gt; &gt; For using the World Wind WMS layers you referenced this is what you would<br>
&gt; add to your map assuming that you are using the default projection for<br>
&gt; OpenLayers (EPSG:4326)<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; var nasa = new OpenLayers.Layer.WMS(&quot;NASA WMS Service&quot;,<br>
&gt; &gt; &quot;<a href="http://onearth.jpl.nasa.gov/wms.cgi" target="_blank">http://onearth.jpl.nasa.gov/wms.cgi</a>?&quot;,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; {<br>
&gt; &gt; layers: &#39;global_mosaic&#39;<br>
&gt; &gt; , styles: &#39;visual&#39;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; },<br>
&gt; &gt; {<br>
&gt; &gt; tileSize: new OpenLayers.Size(512,512)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; }<br>
&gt; &gt; );<br>
&gt; &gt; map.addLayer(nasa);<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; In the link you posted go to the &quot;GetTileService&quot; When you view the XML<br>
&gt; take note of the comments in the TilePattern tags. For example:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; request=GetMap&amp;layers=daily_afternoon&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; In the above example you would take layers=daily_afternoon and use the<br>
&gt; daily_afternoon as your layers in the OpenLayers definition. Styles is not<br>
&gt; necessary unless you are looking for a specific theme. If so look in the<br>
&gt; above example string again and you will see styles=visual, visual is what<br>
&gt; you would specify in the styles definition for OpenLayers. Be sure you use<br>
&gt; the tileSize definition that matches the width and height from the<br>
&gt; TilePattern string.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; The WorldWind example you reference is accessing the remote WorldWind<br>
&gt; server for the tiles. It is not intended for accessing a copy of the data<br>
&gt; that you downloaded.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Nathan Gerber<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; On Mon, Nov 15, 2010 at 4:33 PM, <a href="mailto:maw269@gmail.com">maw269@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I have 2 questions:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; 1. Is it possible to show World Wind WMS Layers from OpenLayers as in<br>
&gt; <a href="http://onearth.jpl.nasa.gov/tiled.html" target="_blank">http://onearth.jpl.nasa.gov/tiled.html</a>?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I can hit their wms from my browser:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; <a href="http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&amp;layers=global_mosaic&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90" target="_blank">http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&amp;layers=global_mosaic&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90</a><br>

&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; but can&#39;t seem to connect to it using any of the<br>
&gt; openlayers.layer.classes.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; 2. I also downloaded the NLT Landsat 7 Visible Color-Level 0 cache pack<br>
&gt; from <a href="http://www.worldwinddata.com/" target="_blank">http://www.worldwinddata.com/</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; How do I use OpenLayers.Layer.WorldWind to show that layer? I looked at<br>
&gt; <a href="http://openlayers.org/dev/examples/worldwind.html" target="_blank">http://openlayers.org/dev/examples/worldwind.html</a> but was even more<br>
&gt; confused after looking at that page&#39;s source.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; The cache pack uzipped to my harddrive as a folder entitled &#39;0&#39;;<br>
&gt; subfolders entitled &#39;0015&#39; through &#39;0075&#39;; and then images such as<br>
&gt; &#39;0015_0046.jpg&#39;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Matt<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Dev mailing list<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; <a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101117/bb5a9bab/attachment.html" target="_blank">http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101117/bb5a9bab/attachment.html</a><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br>
<br>
End of Dev Digest, Vol 50, Issue 16<br>
***********************************<br>
</blockquote></div><br>