<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Micha,<br>
I've attached csv data for importing and all shape files exported.
I've added comments into your prior email also.<br>
<br>
Brett <br>
<br>
On 16/09/2010 9:29 PM, Micha Silver wrote:
<blockquote cite="mid:4C921BC6.60205@arava.co.il" type="cite">Hi
Brett:
<br>
(cc-ing the list also)
<br>
<br>
So if I understand correctly:
<br>
1- You have coordinate locations in an ascii file which are
already in AGD84 zone 51 CRS
: <i><font color="#3333ff">Yes</font></i><br>
2- You have imported the locations into QGIS using the Delimited
Text plugin
:<i><font color="#3333ff">Yes</font></i><br>
3- You then export to a shapefile. In the export dialog you select
EPSG: 20351 for the CRS, but the resulting shapefile has NO
projection information.(i.e. no *.prj is created?) <font
color="#3333ff"><i>No.</i></font></blockquote>
<font color="#3333ff"><i>In the export dialogue I choose UTM - AGD84
/ AMG zone 51(Don't know EPSG:20351 )</i></font><br>
<br>
<br>
<blockquote cite="mid:4C921BC6.60205@arava.co.il" type="cite">4- You
tried to set projection info with the "Vector->Data Management
Tools->Define Current Projection"
<font color="#3333ff"><i>Yes, this will run or say "Identical
outout spatial reference system chosen"<br>
</i></font> </blockquote>
<br>
<blockquote cite="mid:4C921BC6.60205@arava.co.il" type="cite">5- Now
the new shapefile still does not have CRS ? (i.e. QGIS asks what
CRS when you load the shapefile)
: <i><font color="#3333ff">Not quite. Both prj and qpj files are
created but the DATUM is always "D_unknown" which defaults to
WGS84 when imported into QGIS / Mapinfo. </font></i><br>
<br>
If I've got the picture right, can you check that NO *.prj or
*.qpj is created on the disk with the other elements of the
shapefile? Would you mind sending me a bit of the ascii file with
coord locations so I can retry? If this persists, I suggest to
report to Carson Farmer, creator of the fTools plugin. There was a
problem in the past with creating a *.prj file, and I believe it
has already been fixed. If not, he needs to know.<i><font
color="#3333ff">
I think this problem is different.<br>
</font></i>
<br>
Regards,
<br>
Micha
<br>
<br>
On 16/09/2010 14:47, Brett Adams wrote:
<br>
<blockquote type="cite"> Micha,
<br>
Updated to 1.5 and have tried defining the current projection as
suggested but my exports never carry the correct projection.
Everything goes in as AGD84/zone51 and comes out projection free
which is then defaults to WGS84. Even tried loading files with
the AGD84 projection from MAPINFO then exporting, and again they
export without projection and default to WGS84.
<br>
<br>
I'm obviously missing a fairly major step, but is it really that
hard?
<br>
<br>
<br>
<br>
<br>
<br>
On 16/09/2010 3:09 PM, Micha Silver wrote:
<br>
<blockquote type="cite">On 16/09/2010 09:01, Brett Adams wrote:
<br>
<blockquote type="cite">The original file is one created by me
via import of delimted text so
<br>
I'm certain of the projection.
<br>
</blockquote>
Question is does QGIS know the projection. If there is no
*.prj attached to the shapefile, try to add projection info
with the Vector->Data Management->Define Currnet
Projection. Then do your export.
<br>
<br>
<blockquote type="cite">I'll try upgrading to 1.5. See if it
makes any difference.
<br>
<br>
<br>
2010/9/16 Micha Silver<a class="moz-txt-link-rfc2396E" href="mailto:micha@arava.co.il"><micha@arava.co.il></a>:
<br>
<blockquote type="cite">On 16/09/2010 03:19, Brett Adams
wrote:
<br>
<blockquote type="cite">Hi folks,
<br>
When I export a layer as a shapfile the projection is
always WGS84,
<br>
even though I specify AGD84 on export.
<br>
<br>
Am I doing something wrong or is this a bug?
<br>
<br>
<br>
</blockquote>
Are you sure the original shapefile has correct CRS data?
That is, does it
<br>
have a *.prj ?
<br>
Also, I'm not 100% sure that exporting to a new CRS was
available in 1.4.
<br>
You might go ahead and upgrade to 1.5 where the feature
does work.
<br>
<blockquote type="cite">Running Version 1.4.0
<br>
<br>
Thanks
<br>
<br>
<br>
</blockquote>
<br>
-- <br>
Micha Silver
<br>
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il/">http://www.surfaces.co.il/</a>
<br>
Arava Development Co. +972-52-3665918
<br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Brett Adams
Spinifex Geophysics
0438 861 974
<a class="moz-txt-link-freetext" href="SKYPE:brettadams_spinifex">SKYPE:brettadams_spinifex</a></pre>
</body>
</html>