<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2014/10/29 14:37, Even Rouault
wrote:<br>
</div>
<blockquote cite="mid:201410291337.52116.even.rouault@spatialys.com"
type="cite">
Perhaps the following can work too (untested) provided a 'ZANGI'
file exists in the PROJ.4 resource directory that contains the
'epsg' file, grids, and other files.
<SRS>+init=ZANGI:ZANGI:HBKNO27</srs>
</blockquote>
<br>
Hi Even,<br>
When I let gdalbuildvrt simply add its own SRS from the image files,
when I load that VRT into QGIS, it loads correctly without asking me
to specify the CRS for that layer.<br>
<br>
However<br>
<br>
When I query that layer to see its CRS, it shows me a Generated CRS,
even though the HBKNO27 is in the known list (see screenshot below).<br>
I want the user to see the named CRS and not the generated (more
confusing) CRS.<br>
<br>
The first few lines of my VRT is as follows, yet I still get the
pop-up asking me to set the CRS.<br>
(I'm still trying different permutations, but I just wanted to give
feedback)<br>
Regards,<br>
Zoltan<br>
<blockquote><tt><VRTDataset rasterXSize="24455"
rasterYSize="22659"></tt><tt><br>
</tt><tt> <SRS>+init=ZANGI:ZANGI:HBKNO27</SRS></tt><tt><br>
</tt><tt> <GeoTransform> 9.5763066019661390e+04,
5.0000000000000000e-01, 0.0000000000000000e+00,
-2.5336277500000000e+06, 0.0000000000000000e+00,
-5.0000000000000000e-01</GeoTransform></tt><tt><br>
</tt><tt> <VRTRasterBand dataType="Byte" band="1"></tt><tt><br>
</tt><tt>
<NoDataValue>0.00000000000000E+00</NoDataValue></tt><tt><br>
</tt><tt> <ColorInterp>Red</ColorInterp></tt><tt><br>
</tt><tt> <SimpleSource></tt><tt><br>
</tt><br>
</blockquote>
<br>
<img src="cid:part1.04080901.06030206@geograph.co.za" alt=""><br>
<br>
<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028
Fax: +27-86-6115323 <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
</body>
</html>