[OpenLayers-Dev] Re: Dev Digest, Vol 50, Issue 16
hariom singh
hariom.cs1 at gmail.com
Thu Nov 18 03:36:52 EST 2010
hi list,
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
thanx
On Wed, Nov 17, 2010 at 9:27 PM, <openlayers-dev-request at lists.osgeo.org>wrote:
> Send Dev mailing list submissions to
> openlayers-dev at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> or, via email, send a message with subject or body 'help' to
> openlayers-dev-request at lists.osgeo.org
>
> You can reach the person managing the list at
> openlayers-dev-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Dev digest..."
>
>
> Today's Topics:
>
> 1. Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers
> (maw269 at gmail.com)
> 2. Layers overlapping (Denis Rykov)
> 3. Re: Layers overlapping (Andreas Hocevar)
> 4. Re: Layers overlapping (dr)
> 5. Re: Re: Layers overlapping (Andreas Hocevar)
> 6. Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers
> (Nathan Gerber)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Nov 2010 23:32:19 +0000
> From: maw269 at gmail.com
> Subject: Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers
> To: Nathan Gerber <ngerber999 at gmail.com>, maw269 at gmail.com
> Cc: openlayers-dev at lists.osgeo.org
> Message-ID: <90e6ba53a810be08d8049533f7fe at google.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thank You Nathan...I now have access the the NASA WMS in openlayers!
>
> Any idea on how I would use the downloaded data pack in openlayers? Is that
> possible?
>
>
>
> On Nov 15, 2010 7:48pm, Nathan Gerber <ngerber999 at gmail.com> wrote:
> > Matt,
> > >
> > For using the World Wind WMS layers you referenced this is what you would
> > add to your map assuming that you are using the default projection for
> > OpenLayers (EPSG:4326)
> > >
>
> > var nasa = new OpenLayers.Layer.WMS("NASA WMS Service",
> > "http://onearth.jpl.nasa.gov/wms.cgi?",
>
>
> > {
> > layers: 'global_mosaic'
> > , styles: 'visual'
>
>
> > },
> > {
> > tileSize: new OpenLayers.Size(512,512)
>
>
> > }
> > );
> > map.addLayer(nasa);
>
>
>
> > In the link you posted go to the "GetTileService" When you view the XML
> > take note of the comments in the TilePattern tags. For example:
>
>
>
> >
> request=GetMap&layers=daily_afternoon&srs=EPSG:4326&format=image/jpeg&styles=visual&width=512&height=512&bbox=-180,-166,76,90
>
>
>
> > In the above example you would take layers=daily_afternoon and use the
> > daily_afternoon as your layers in the OpenLayers definition. Styles is
> > not necessary unless you are looking for a specific theme. If so look in
> > the above example string again and you will see styles=visual, visual is
> > what you would specify in the styles definition for OpenLayers. Be sure
> > you use the tileSize definition that matches the width and height from
> > the TilePattern string.
>
>
> > The WorldWind example you reference is accessing the remote WorldWind
> > server for the tiles. It is not intended for accessing a copy of the data
> > that you downloaded.
>
>
> > --
> > Nathan Gerber
>
> > >
> > On Mon, Nov 15, 2010 at 4:33 PM, maw269 at gmail.com> wrote:
>
>
> > I have 2 questions:
>
>
> > 1. Is it possible to show World Wind WMS Layers from OpenLayers as in
> > http://onearth.jpl.nasa.gov/tiled.html?
>
>
> > I can hit their wms from my browser:
>
>
> >
> http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&srs=EPSG:4326&format=image/jpeg&styles=visual&width=512&height=512&bbox=-180,-166,76,90
>
>
> > but can't seem to connect to it using any of the
> openlayers.layer.classes.
>
>
>
>
>
> > 2. I also downloaded the NLT Landsat 7 Visible Color-Level 0 cache pack
> > from http://www.worldwinddata.com/
>
>
> > How do I use OpenLayers.Layer.WorldWind to show that layer? I looked at
> > http://openlayers.org/dev/examples/worldwind.html but was even more
> > confused after looking at that page's source.
>
>
> > The cache pack uzipped to my harddrive as a folder entitled '0';
> > subfolders entitled '0015' through '0075'; and then images such
> > as '0015_0046.jpg'
>
>
> > Thanks,
>
>
> > Matt
> > _______________________________________________
>
>
> > Dev mailing list
>
>
> > Dev at lists.osgeo.org
>
>
> > http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
>
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101116/1c92f31c/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 17 Nov 2010 15:32:07 +0600
> From: Denis Rykov <rykovd at gmail.com>
> Subject: [OpenLayers-Dev] Layers overlapping
> To: openlayers-dev at lists.osgeo.org
> Message-ID:
> <AANLkTimCz8CqSe9ti-Q_BtGuSJvXLep9psm4d7R0QPT8 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101117/b66a8f25/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 17 Nov 2010 10:51:15 +0100
> From: Andreas Hocevar <ahocevar at opengeo.org>
> Subject: Re: [OpenLayers-Dev] Layers overlapping
> To: Denis Rykov <rykovd at gmail.com>
> Cc: openlayers-dev at lists.osgeo.org
> Message-ID: <8E3A2D4D-6D33-455B-A086-42033DC3434A at opengeo.org>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> 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?
>
> Regards,
> Andreas.
>
> On Nov 17, 2010, at 10:32 , Denis Rykov wrote:
>
> > 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.
> > _______________________________________________
> > Dev mailing list
> > Dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 17 Nov 2010 05:45:29 -0800 (PST)
> From: dr <rykovd at gmail.com>
> Subject: [OpenLayers-Dev] Re: Layers overlapping
> To: dev at openlayers.org
> Message-ID: <1290001529584-5747740.post at n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> You are right! I use SelectFeature control only for polygonal layer, not
> for
> point. I try to add point layer to SelectFeature layers array and it works
> flawlessly now. Why this happens?
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Layers-overlapping-tp5746964p5747740.html
> Sent from the OpenLayers Dev mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 17 Nov 2010 15:15:06 +0100
> From: Andreas Hocevar <ahocevar at opengeo.org>
> Subject: Re: [OpenLayers-Dev] Re: Layers overlapping
> To: dr <rykovd at gmail.com>
> Cc: dev at openlayers.org
> Message-ID: <249BC7B7-AEE2-4B95-8717-9E13D9D1C20D at opengeo.org>
> Content-Type: text/plain; charset=us-ascii
>
> On Nov 17, 2010, at 14:45 , dr wrote:
>
> > You are right! I use SelectFeature control only for polygonal layer, not
> for
> > point. I try to add point layer to SelectFeature layers array and it
> works
> > flawlessly now. Why this happens?
>
> 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.
>
> Regards,
> Andreas.
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 17 Nov 2010 10:57:04 -0500
> From: Nathan Gerber <ngerber999 at gmail.com>
> Subject: Re: Re: [OpenLayers-Dev] NASA World Wind in Openlayers
> To: maw269 at gmail.com
> Cc: openlayers-dev at lists.osgeo.org
> Message-ID:
> <AANLkTi=F-AH2bArb7zioyMfdV1m_c+_8OJt89B4nL7ag at mail.gmail.com<F-AH2bArb7zioyMfdV1m_c%2B_8OJt89B4nL7ag at mail.gmail.com>
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> The layers are likely in the zoomify format so you may want to research how
> to use zoomify layers in OpenLayers.
> --
> Nathan Gerber
>
>
> On Tue, Nov 16, 2010 at 6:32 PM, <maw269 at gmail.com> wrote:
>
> > Thank You Nathan...I now have access the the NASA WMS in openlayers!
> >
> > Any idea on how I would use the downloaded data pack in openlayers? Is
> that
> > possible?
> >
> >
> >
> > On Nov 15, 2010 7:48pm, Nathan Gerber <ngerber999 at gmail.com> wrote:
> > > Matt,
> > > >
> > > For using the World Wind WMS layers you referenced this is what you
> would
> > add to your map assuming that you are using the default projection for
> > OpenLayers (EPSG:4326)
> > > >
> > >
> > > var nasa = new OpenLayers.Layer.WMS("NASA WMS Service",
> > > "http://onearth.jpl.nasa.gov/wms.cgi?",
> > >
> > >
> > > {
> > > layers: 'global_mosaic'
> > > , styles: 'visual'
> > >
> > >
> > > },
> > > {
> > > tileSize: new OpenLayers.Size(512,512)
> > >
> > >
> > > }
> > > );
> > > map.addLayer(nasa);
> > >
> > >
> > >
> > > In the link you posted go to the "GetTileService" When you view the XML
> > take note of the comments in the TilePattern tags. For example:
> > >
> > >
> > >
> > >
> >
> request=GetMap&layers=daily_afternoon&srs=EPSG:4326&format=image/jpeg&styles=visual&width=512&height=512&bbox=-180,-166,76,90
> >
> > >
> > >
> > >
> > > In the above example you would take layers=daily_afternoon and use the
> > daily_afternoon as your layers in the OpenLayers definition. Styles is
> not
> > necessary unless you are looking for a specific theme. If so look in the
> > above example string again and you will see styles=visual, visual is what
> > you would specify in the styles definition for OpenLayers. Be sure you
> use
> > the tileSize definition that matches the width and height from the
> > TilePattern string.
> > >
> > >
> > > The WorldWind example you reference is accessing the remote WorldWind
> > server for the tiles. It is not intended for accessing a copy of the data
> > that you downloaded.
> > >
> > >
> > > --
> > > Nathan Gerber
> > >
> > > >
> > > On Mon, Nov 15, 2010 at 4:33 PM, maw269 at gmail.com> wrote:
> > >
> > >
> > > I have 2 questions:
> > >
> > >
> > > 1. Is it possible to show World Wind WMS Layers from OpenLayers as in
> > http://onearth.jpl.nasa.gov/tiled.html?
> > >
> > >
> > > I can hit their wms from my browser:
> > >
> > >
> > >
> >
> http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&srs=EPSG:4326&format=image/jpeg&styles=visual&width=512&height=512&bbox=-180,-166,76,90
> > >
> > >
> > > but can't seem to connect to it using any of the
> > openlayers.layer.classes.
> > >
> > >
> > >
> > >
> > >
> > > 2. I also downloaded the NLT Landsat 7 Visible Color-Level 0 cache pack
> > from http://www.worldwinddata.com/
> > >
> > >
> > > How do I use OpenLayers.Layer.WorldWind to show that layer? I looked at
> > http://openlayers.org/dev/examples/worldwind.html but was even more
> > confused after looking at that page's source.
> > >
> > >
> > > The cache pack uzipped to my harddrive as a folder entitled '0';
> > subfolders entitled '0015' through '0075'; and then images such as
> > '0015_0046.jpg'
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Matt
> > > _______________________________________________
> > >
> > >
> > > Dev mailing list
> > >
> > >
> > > Dev at lists.osgeo.org
> > >
> > >
> > > http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101117/bb5a9bab/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
>
> End of Dev Digest, Vol 50, Issue 16
> ***********************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101118/4eeb301a/attachment-0001.html
More information about the Dev
mailing list