<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bidimailui-detected-decoding-type="latin-charset" text="#000000"
bgcolor="#ffffff">
<p style="margin-bottom: 0cm; margin-top: 0pt;">On 04/01/2011 15:43,
Sam Vekemans wrote:<br>
</p>
<blockquote
cite="mid:AANLkTimv=Spr7Mzf+ZMv7wHfQES4dvtJBScHBzOb755R@mail.gmail.com"
type="cite">P.S.
<div>I just uploaded that raw .shp files that was converted for me
to <a moz-do-not-send="true" href="http://koordinates.com">koordinates.com</a>
and it still showed the wrong projection . :(</div>
<div><a moz-do-not-send="true"
href="http://koordinates.com/layer/2036-en-1120009-1/#@z=4&c=-58.49101%2C50.75684&e=&l=2036&mt=PHYSICAL">http://koordinates.com/layer/2036-en-1120009-1/#@z=4&c=-58.49101%2C50.75684&e=&l=2036&mt=PHYSICAL</a></div>
<div><br>
</div>
<br>
</blockquote>
I see where the problem is now, but I don't know how to overcome it.
You've hit the notorious "coordinate ordering" squabble. <br>
The gml standard chose some time ago (and in opposition to most
other GIS formats AFAIK) to put coordinates with latitude first, and
longitude second. If I scan thru one of the gml files I see lines
like:<br>
<gml:lowerCorner>46.6480459
-67.4074834</gml:lowerCorner><br>
<gml:upperCorner>54.9088778
-52.6644791</gml:upperCorner><br>
Obviously the 46 is latitude north, and the -67 is longitude west.<br>
<br>
But ogr takes the coords as longitude/latitude (i.e. X then Y) So
when i just naively open the gml file in QGIS I get the positions
switched. It's reading 46 degrees longitude and -67 deg latitude.
That's why we're seeing the Newfoundland features somewhere near
Antarctica... <br>
<br>
It seems that a newer version of GDAL (1.8) will have improvements
to its gml support to allow coordinate reversal. Maybe someone on
the list knows of a better work around?<br>
<br>
-- <br>
Micha<br>
<br>
<br>
<pre class="moz-signature" cols="62">--
Micha Silver
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il/">http://www.surfaces.co.il/</a>
Arava Development Co. +972-52-3665918
</pre>
</body>
</html>