Gavin<br><br>This is good to know. If you say &quot;south-facing projections&quot;, is this large-scale data?<br>I have loads of small scale data and are yet to bump into projection problems, but I know its comming.<br><br>
<br>Thanks for the info...<br><br>Regards<br>Sarel <br><br><div class="gmail_quote">On Tue, Feb 17, 2009 at 3:14 PM, Gavin Fleming <span dir="ltr">&lt;<a href="mailto:GavinF@mintek.co.za">GavinF@mintek.co.za</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In PostGIS: SELECT * FROM spatial_ref_sys;<br>
<br>
The only problem is, for SA projections like the LOs on Hartebeesthoek<br>
datum, proj4 can&#39;t handle a south-facing projection (yet) and be aware<br>
in PostGIS that while their EPSG codes are defined properly, the<br>
matching proj4 strings are undefined (at 1.2 at any rate).<br>
<br>
I have some LO 27 data in PostGIS that QGIS and uDIG couldn&#39;t project,<br>
yet GeoServer did. For the South African EPSG LO definitions to apply<br>
though, you have to swap your x and y signs (though not the axes).<br>
<br>
A workaround in South Africa is to use normal Transverse Mercator on<br>
Hartebeesthoek and standardise the axes and signs (i.e. make them look<br>
conventional like the rest of the world) - then just define your own<br>
EPSG (and proj4) code and add a record to PostGIS.<br>
<br>
Here&#39;s an Albers one I use a lot:<br>
<br>
srid,auth_name,auth_srid,srtext,proj4text<br>
40000,EPSG,40000,PROJCS[&quot;South Africa Albers Equal Area<br>
24&quot;,GEOGCS[&quot;GCS_Hartebeesthoek_1994&quot;,DATUM[&quot;D_Hartebeesthoek_1994&quot;,SPHER<br>
OID[&quot;WGS_1984&quot;,6378137.0,298.257223563]],PRIMEM[&quot;Greenwich&quot;,0.0],UNIT[&quot;D<br>
egree&quot;,0.0174532925199433]],PROJECTION[&quot;Albers&quot;],PARAMETER[&quot;False_Eastin<br>
g&quot;,0.0],PARAMETER[&quot;False_Northing&quot;,0.0],PARAMETER[&quot;Central_Meridian&quot;,24.<br>
0],PARAMETER[&quot;Standard_Parallel_1&quot;,-18.0],PARAMETER[&quot;Standard_Parallel_2<br>
&quot;,-32.0],PARAMETER[&quot;Latitude_Of_Origin&quot;,0.0],UNIT[&quot;Meter&quot;,1.0]],+proj=ae<br>
a +lat_1=-18 +lat_2=-32 +lat_0=0 +lon_0=24 +x_0=0 +y_0=0 +ellps=WGS84<br>
+units=m +no_defs<br>
<br>
Gavin<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:africa-bounces@lists.osgeo.org">africa-bounces@lists.osgeo.org</a><br>
[mailto:<a href="mailto:africa-bounces@lists.osgeo.org">africa-bounces@lists.osgeo.org</a>] On Behalf Of Tim Sutton<br>
Sent: 17 February 2009 13:57 PM<br>
To: Africa local chapter discussions<br>
Subject: Re: [OSGeo Africa] SRID<br>
<br>
Hi<br>
<br>
<br>
On Tue, Feb 17, 2009 at 12:10 PM, &nbsp;&lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; SRID is an Oracle term so I assume you are talking about Oracle<br>
Spatial.<br>
&gt;<br>
&gt; It&#39;s in a table called CS_SRS in the MDSYS schema:<br>
&gt;<br>
&gt; select * from MDSYS.CS_SRS<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Bart<br>
&gt;<br>
&gt;&gt; Hi All,<br>
&gt;&gt;<br>
&gt;&gt; First posting!!!<br>
&gt;&gt;<br>
&gt;&gt; Where can I get a list of SRID&#39;s.<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt; Clinton Papenfus<br>
&gt;&gt; 0833767083<br>
<br>
<br>
<br>
For a user friendly list of CRS&#39;s you can also click on the icon in<br>
the bottom right corner of the QGIS window, and you will be presented<br>
with a CRS list. Click on any CRS entry to see its proj4 definition.<br>
<br>
Regards<br>
<br>
Tim<br>
<br>
--<br>
Tim Sutton - QGIS Project Steering Committee Member (Release &nbsp;Manager)<br>
==============================================<br>
Visit <a href="http://linfiniti.com" target="_blank">http://linfiniti.com</a> to find out about:<br>
&nbsp;* QGIS programming services<br>
&nbsp;* Mapserver and PostGIS based hosting plans<br>
&nbsp;* FOSS Consulting Services<br>
Skype: timlinux Irc: timlinux on #qgis at <a href="http://freenode.net" target="_blank">freenode.net</a><br>
==============================================<br>
_______________________________________________<br>
Africa mailing list<br>
<a href="mailto:Africa@lists.osgeo.org">Africa@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/africa" target="_blank">http://lists.osgeo.org/mailman/listinfo/africa</a><br>
<br>
</div></div>This message is intended for the addressee only.<br>
Information and attachments in this e-mail may contain confidential, proprietary, or legally privileged information.<br>
If you are not the intended recipient, or responsible for delivery of the message to the intended recipient,<br>
any disclosure, copying, distribution, or any action taken is prohibited and may be unlawful,<br>
and could result in a claim against you.<br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Africa mailing list<br>
<a href="mailto:Africa@lists.osgeo.org">Africa@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/africa" target="_blank">http://lists.osgeo.org/mailman/listinfo/africa</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://sarelgis.blogspot.com/">http://sarelgis.blogspot.com/</a><br><br><br>