[OpenLayers-Dev] Re: Day and night shadow map
Fixdit
hello at fixdit.com
Mon Jun 20 06:40:50 EDT 2011
The input is very much appreciated,
I'm kind of new to Open Layers and feeling my way around. How would I generate the curve? Via a mask or a would this be incorporated into the images pre render?
Many thanks,
Ash
On 20 Jun 2011, at 11:10, Peter Körner [via OSGeo.org] wrote:
> Am 18.06.2011 11:09, schrieb Fixdit:
> > Hello,
> > I'm in need of help finding/building a day and night layer overlaid on top
> > of an Openlayers world map. Much like this Google Map example:
> > http://www.daylightmap.com/index.php
> >
> > How would this be achieved using Openlayers?
>
> I don't think it's a question of openlayers but one of your tile source.
> You would need a Tile-Renderer or maybe WMS that renders you such images:
> http://www.daylightmap.com/tiles/cache/tile_n_3_0_2_1308564480.png
>
> You can then add them as Tile-Layer with opacity: 0.8
>
> > I have some algorithm examples that could kick start things if there is
> > nothing already out there, but unsure of where to start implementing
> > something like this with Openlayers:
> > http://www.astro.uu.nl/~strous/AA/en/antwoorden/zonpositie.html#v526
>
> It may be possible to add this as vector layer, but you won't get these
> lights on cities then.
>
> Peter
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://osgeo-org.1803224.n2.nabble.com/Day-and-night-shadow-map-tp6490301p6495236.html
> To unsubscribe from Day and night shadow map, click here.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Day-and-night-shadow-map-tp6490301p6495302.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20110620/f5fdf826/attachment.html
More information about the Dev
mailing list