<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Jean-Claude,<br>
<br>
Unfortunately I can't upgrade my proj version because it's running on a
kind of "legacy" server and changing it would break other things.<br>
I have added the new projection code to the epsg file, but it still
doesn't work. It gives the same error.<br>
<br>
I would like an example of command line syntax for running proj -
because I suspect it doesn't read the correct epsg file. <br>
<br>
I don't know if it's important but my epsg file is a symlink to the
real file. It may be an issue if the mapserver process running as
apache can't read through symlinks...<br>
<br>
[root@terra map]# ls -l /usr/share/proj/epsg <br>
lrwxrwxrwx 1 root root 24 Oct 13 16:01 /usr/share/proj/epsg ->
/usr/share/proj/nad/epsg<br>
<br>
UPDATE:<br>
<br>
Woohoo - I've changed the symlink to a hard link and now it works!<br>
So, it seems there were some issues with apache, not being able to read
through symlinks (maybe because it is disabled by default?)!<br>
The moral of the story? Make sure /usr/share/proj/epsg is not a symlink!<br>
<br>
<br>
Jean-Claude REPETTO wrote:
<blockquote cite="mid:4AD46749.2020501@free.fr" type="cite">
<pre wrap="">Hello,
Adrian Popa wrote :
</pre>
<blockquote type="cite">
<pre wrap="">I'd like to mention that I have added <900913> +proj=merc +a=6378137
+b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m
+nadgrids=@null +no_defs
</pre>
</blockquote>
<pre wrap=""><!---->
The correct EPSG number for this projection is 3857 (900913 is obsolete).
Recent version of PROJ.4 contain this definition in the epsg file :
<3857> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0
+y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <>
Regards,
Jean-Claude
_______________________________________________
Proj mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/proj">http://lists.maptools.org/mailman/listinfo/proj</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
---
Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core & Backbone
Phone: +40 21 400 3099
</pre>
</body>
</html>