[OpenLayers-Users] Re: ErrorLoadingGML

GrahamWade graham.wade at coralsys.co.uk
Sun Feb 12 10:26:15 EST 2012


Sorry, I noticed that unless my post is viewed "in context" you cannot see
the code so here it is again. I posted it in "raw" as the list seems to
reformat the code so that it is unreadable. 

Please help someone.

My code is 


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<link rel="icon" href="./favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
    <title>Bristol Map</title>
    
        

    
    
</head>

<body onload="init();">
    
    <div style="width:100%; height:95%" id="map"></div>
</body>
</html>


and my grx file contains 

<?xml version='1.0' encoding='UTF-8'?> 
<gpx 
 version="1.1" 
 creator="JOSM" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns="http://www.topografix.com/GPX/1/1"
 xsi:schemaLocation="http://www.topografix.com/GPX/1/1
http://www.topografix.com/GPX/1/1/gpx.xsd">
 	<trk><name>Bristol Track</name><number>1</number><trkseg>
      <trkpt lat="51.477347"
lon="-2.586134"><time>2009-05-17T10:01:00Z</time></trkpt>
      <trkpt lat="51.477801"
lon="-2.586410"><time>2009-05-17T10:02:00Z</time></trkpt>
      <trkpt lat="51.480128"
lon="-2.581647"><time>2009-05-17T10:03:00Z</time></trkpt>
      <trkpt lat="51.478352"
lon="-2.579621"><time>2009-05-17T10:04:00Z</time></trkpt>
      <trkpt lat="51.473864"
lon="-2.581343"><time>2009-05-17T10:05:00Z</time></trkpt>
    </trkseg></trk>
</gpx>

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/ErrorLoadingGML-tp4376555p4462143.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list