The input is very much appreciated,<div>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&nbsp;images&nbsp;pre render?</div><div><br></div><div>Many thanks,</div><div><br></div><div>Ash</div><div><br></div><div><div><div>On 20 Jun 2011, at 11:10, Peter Körner [via OSGeo.org] wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

        Am 18.06.2011 11:09, schrieb Fixdit:
<br>&gt; Hello,
<br>&gt; I'm in need of help finding/building a day and night layer overlaid on top
<br>&gt; of an Openlayers world map. Much like this Google Map example:
<br>&gt; <a href="http://www.daylightmap.com/index.php" target="_top" rel="nofollow" link="external">http://www.daylightmap.com/index.php</a><br>&gt;
<br>&gt; How would this be achieved using Openlayers?
<br><br>I don't think it's a question of openlayers but one of your tile source.
<br>You would need a Tile-Renderer or maybe WMS that renders you such images:
<br><a href="http://www.daylightmap.com/tiles/cache/tile_n_3_0_2_1308564480.png" target="_top" rel="nofollow" link="external">http://www.daylightmap.com/tiles/cache/tile_n_3_0_2_1308564480.png</a><br><br>You can then add them as Tile-Layer with opacity: 0.8
<br><br>&gt; I have some algorithm examples that could kick start things if there is
<br>&gt; nothing already out there, but unsure of where to start implementing
<br>&gt; something like this with Openlayers:
<br>&gt; <a href="http://www.astro.uu.nl/~strous/AA/en/antwoorden/zonpositie.html#v526" target="_top" rel="nofollow" link="external">http://www.astro.uu.nl/~strous/AA/en/antwoorden/zonpositie.html#v526</a><br><br>It may be possible to add this as vector layer, but you won't get these 
<br>lights on cities then.
<br><br>Peter
<br>_______________________________________________
<br>Dev mailing list
<br>&lt;a href=&quot;x-msg://9/user/SendEmail.jtp?type=node&amp;amp;node=6495236&amp;amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot; link=&quot;external&quot;&gt;[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1803224.n2.nabble.com/Day-and-night-shadow-map-tp6490301p6495236.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Day-and-night-shadow-map-tp6490301p6495236.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from Day and night shadow map, <a href="" target="_top" rel="nofollow" link="external">click here</a>.
        </div></blockquote></div><br></div>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Day-and-night-shadow-map-tp6490301p6495302.html">Re: Day and night shadow map</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Dev-f1832264.html">OpenLayers Dev mailing list archive</a> at Nabble.com.<br/>