<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi, I'm tring to track some gps data into a Gauss-Boaga map, but I
don't manage to put the track on the right place, how can I do?<br>
<br>
<b>This is the Track layer</b>:<br>
new OpenLayers.Layer.PointTrack("Tracks", {<br>
projection: geographic,<br>
strategies: [new OpenLayers.Strategy.Fixed()],<br>
protocol: new OpenLayers.Protocol.HTTP({<br>
url: "track.kml",<br>
format: new OpenLayers.Format.KML({<br>
extractTracks: true,<br>
extractStyles: true<br>
})<br>
}),<br>
dataFrom: OpenLayers.Layer.PointTrack.TARGET_NODE,<br>
styleFrom: OpenLayers.Layer.PointTrack.TARGET_NODE,<br>
eventListeners: {<br>
"beforefeaturesadded": function(e) {<br>
// group the tracks by fid and create one
track for<br>
// every fid<br>
var fid, points = [], feature;<br>
for (var i=0, len=e.features.length;
i<len; i++) {<br>
feature = e.features[i];<br>
if ((fid && feature.fid !== fid)
|| i === len-1) {<br>
this.addNodes(points, {silent:
true});<br>
points = [];<br>
} else {<br>
points.push(feature);<br>
}<br>
fid = feature.fid;<br>
}<br>
return false;<br>
}<br>
}<br>
})<br>
<br>
<b>And this is the Gauss-Boaga</b><b> Projection</b>:<br>
var options = {<br>
isBaseLayer: true,<br>
maxResolution: '0.84686783985005',<br>
strategies: [new OpenLayers.Strategy.Fixed()],<br>
displayInLayerSwitcher: true,<br>
size: new OpenLayers.Size(8745, 6696),<br>
numZoomLevels: 20<br>
};<br>
<br>
var gauss = new OpenLayers.Layer.Image(<br>
'Gauss-Boaga',<br>
'CTR588140.tif',<br>
new OpenLayers.Bounds(2556348.9846319141797721,
4227924.4383069388568401,
2563754.8438914027065039,4233595.0653625745326281), <?php
//left,bottom,right,top ?><br>
new OpenLayers.Size(8745, 6696),<br>
options<br>
);<br>
</body>
</html>