<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-2022-jp http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>Hi </FONT></DIV>
<DIV><FONT face=Calibri>I just create simple map using an image from WMS and
</FONT></DIV>
<DIV><FONT face=Calibri>Vectors from OSM file link.</FONT></DIV>
<DIV><FONT face=Calibri><A
title="http://xhema.flossk.org:5000/osmdetail.html C$B#t#r#l(B $B%-!<$r2!$7$J$,$i%/%j%C%/$9$k$H!"%j%s%/@h$K%"%/%;%9$G$-$^$9!#(B"
href="http://xhema.flossk.org:5000/osmdetail.html">http://xhema.flossk.org:5000/osmdetail.html</A></FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>By IE 8, I can see that line features created by
</FONT></DIV>
<DIV><FONT face=Calibri>OpenLayers.Layer.Vector.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>However, by Firefox,</FONT></DIV>
<DIV><FONT face=Calibri>I cannot see. </FONT></DIV>
<DIV><FONT face=Calibri>And looks like it requests the file without
extension</FONT></DIV>
<DIV><FONT face=Calibri><A
title="http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000 C$B#t#r#l(B $B%-!<$r2!$7$J$,$i%/%j%C%/$9$k$H!"%j%s%/@h$K%"%/%;%9$G$-$^$9!#(B"
href="http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000">http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000</A></FONT></DIV>
<DIV><FONT face=Calibri>instead of</FONT></DIV>
<DIV><A
title="http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000.osm C$B#t#r#l(B $B%-!<$r2!$7$J$,$i%/%j%C%/$9$k$H!"%j%s%/@h$K%"%/%;%9$G$-$^$9!#(B"
href="http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000.osm"><FONT
face=Calibri>http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000.osm</FONT></A></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I am not sure why, is this bug, is there any
workaround?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Thank you!</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Takeo Shibata</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>===OpenLayers Code==== </FONT></DIV>
<DIV><FONT face=Calibri>function createWMSImageLayer(map)
{<BR> var wms
= new
OpenLayers.Layer.WMS(<BR>
"Albania-Flood
Overview",<BR>
"<A
title="http://xhema.flossk.org:8080/cgi-bin/mapserv?map=/var/www/mapserver/alllayers.map C$B#t#r#l(B $B%-!<$r2!$7$J$,$i%/%j%C%/$9$k$H!"%j%s%/@h$K%"%/%;%9$G$-$^$9!#(B"
href="http://xhema.flossk.org:8080/cgi-bin/mapserv?map=/var/www/mapserver/alllayers.map">http://xhema.flossk.org:8080/cgi-bin/mapserv?map=/var/www/mapserver/alllayers.map</A>",<BR>
{layers:
"DLR_20100108_Albania_floods_overview_high",<BR>
format:
'image/jpeg'<BR>
},<BR>
{isBaseLayer:
true}<BR>
);<BR>
map.addLayer(wms);<BR> }</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri> function
createOSMVectorLayers(map)
{<BR> var
ways_02000 = new
OpenLayers.Layer.Vector("ways_02000",{<BR>
strategies: [new
OpenLayers.Strategy.Fixed()],<BR>
protocol: new
OpenLayers.Protocol.HTTP({<BR>
url: "<A
title="http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000.osm C$B#t#r#l(B $B%-!<$r2!$7$J$,$i%/%j%C%/$9$k$H!"%j%s%/@h$K%"%/%;%9$G$-$^$9!#(B"
href="http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000.osm">http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000.osm</A>",<BR>
format: new
OpenLayers.Format.OSM({<BR>
extractStyles:
true,<BR>
extractAttributes:
true<BR>
})<BR>
})<BR>
},
{<BR>
singleTile:
true<BR>
});<BR> var
ways_02100 = new
OpenLayers.Layer.Vector("ways_02100",{<BR>
strategies: [new
OpenLayers.Strategy.Fixed()],<BR>
protocol: new
OpenLayers.Protocol.HTTP({<BR>
url: "<A
href="http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02100.osm">http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02100.osm</A>",<BR>
format: new
OpenLayers.Format.OSM({<BR>
extractStyles:
true,<BR>
extractAttributes:
true<BR>
})<BR>
})<BR>
},
{<BR>
singleTile:
true<BR>
});<BR></FONT> </DIV></BODY></HTML>