[OpenLayers-Users] problem with gml file in chrome and IE

adimopoulos dimoaris at gmail.com
Fri Feb 18 09:56:20 EST 2011


Hi 

Relatively new to openlayers. I'm trying to add two gml layers (point and
polygon) with projection wgs84 on google base-map. All seem to work fine in
Firefox but i don't see any of the gml layers in chrome or IE. I don't think
the problem is related with projections. I've produced the gml from shp
using qgis. Any ideas.... 

thanks 
Aris

my gml file looks like this

<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://ogr.maptools.org/ MASTS.xsd"
     xmlns:ogr="http://ogr.maptools.org/"
     xmlns:gml="http://www.opengis.net/gml">
  <gml:boundedBy>
    <gml:Box>
     
<gml:coord><gml:X>19.59184692492714</gml:X><gml:Y>35.15769907877395</gml:Y></gml:coord>
     
<gml:coord><gml:X>26.18897416182883</gml:X><gml:Y>41.24559152602419</gml:Y></gml:coord>
    </gml:Box>
  </gml:boundedBy>                      
  <gml:featureMember>
    <ogr:MASTS fid="F0">
     
<ogr:geometryProperty><gml:Point><gml:coordinates>20.528984396608422,38.234968082081544</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:Mast_name>Eumorfia_2EN61</ogr:Mast_name>
      <ogr:a_a>1</ogr:a_a>
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/problem-with-gml-file-in-chrome-and-IE-tp6040200p6040200.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list