Some javascript/style in this post has been disabled (
why?)
Hello Jean-Claude,
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.
I have added the new projection code to the epsg file, but it still
doesn't work. It gives the same error.
I would like an example of command line syntax for running proj -
because I suspect it doesn't read the correct epsg file.
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...
[root@terra map]# ls -l /usr/share/proj/epsg
lrwxrwxrwx 1 root root 24 Oct 13 16:01 /usr/share/proj/epsg ->
/usr/share/proj/nad/epsg
UPDATE:
Woohoo - I've changed the symlink to a hard link and now it works!
So, it seems there were some issues with apache, not being able to read
through symlinks (maybe because it is disabled by default?)!
The moral of the story? Make sure /usr/share/proj/epsg is not a symlink!
Jean-Claude REPETTO wrote:
Hello,
Adrian Popa wrote :
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
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
[hidden email]
http://lists.maptools.org/mailman/listinfo/proj
--
---
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
_______________________________________________
Proj mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/proj