<div class="gmail_quote">On Tue, Jul 20, 2010 at 8:06 AM, chrispg <span dir="ltr"><<a href="mailto:chrisemberson@hotmail.com">chrisemberson@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I have data in British Nat Grid that I would like to load into postgis.<br>
Normally I would use EPSG:27700 to do this no problem, but the coordinates<br>
are to decimetre precision, not metre, so 27700 is out by a factor of 10. I<br>
can edit the spatial_ref_sys.sql to generate a custom projection file, but<br>
then performing any queries on that using the PROJ4 libraries are a problem<br>
as it is not recognised. Has anybody come across this before?<br></blockquote><div><br></div><div>Maybe add your new projection to the proj4 library as well? </div><div><br></div><div>Copy the 27700 line from /usr/share/proj/epsg to /usr/share/proj/my using a new number (eg. 927700), set the same number in spatial_ref_sys, and then use +init=my:927700 with proj4, and srid=927700 in postgis...</div>
<div><br></div><div>If decimeters are regularly used in datasets, consider submitting to <a href="http://www.epsg.org/">http://www.epsg.org/</a> to get assigned an "official" number.</div><div><br></div><div>Rob :)</div>
<div><br></div></div>