Hi everyone,

I am looking into building a mapping application for the New Zealand and
Chatham Island region. Unfortunately, this area covers the date-line which
causes a number of issues right now.

(1) I use wrap-datetime for WMS layers to be able to render tiles of the
'other side' of the date-line. This works fine. When I pan the map around
the dateline area, it refreshes the entire map and loads the times again. 

Question: what is the best way to avoid this refresh?

(2) When I use a WFS layer on-top of the WMS layer, I get a weird behaviour.
It has been mentioned a few times already, i.e. when I pan the map from the
west to the easy and pass the date-line, the WFS layer 'disappears'. After
trying a number of configuration settings (i.e. maxExtent and
restrictedExtent) I get the opposite behaviour. It appears when I am in the
-180 area, but disappears when I pan to the easy and cross the dateline.

I could create a behaviour which works fine with a few limitations to the
map, but the info-bubble doesn't work any more because the WFS layer seems
to be out of the restrictedExtent of the map and the coordinates are set to
-180, which positions the popup far too the left.

Anyway, is there a recipe how to deal with the dateline in general when
using WFS and WMS layers? What coordinates should I use for restricted
extent or map extent? 

Can I 'first' open layers to offset the dateline, i.e. rotate the dateline
by 90 degrees to ensure that this particular area in New Zealand is not
effected by the +180/-180 issue and use coordinates beyond +180? I know that
PostGIS offers this functionality and mapserver is able to deal with
coordinates beyond 180 degrees.

I am really hitting a wall here and looking forward for any help.
Thanks,
Rainer
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Datetime-for-WMS-and-WFS-layers-confusion-tp5508398p5508398.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to