coordinate conversion problem

Stéphane RIFF stephane.riff at CERENE.FR
Mon Apr 11 02:52:08 EDT 2005


I had the same problem. here is what i did :

1. I edit /usr/local/share/proj/esri file and remove the +pm=paris
2. Edit the srid=27582 record in spatial_ref_sys table and replace the
projText with
the definition in /usr/local/share/proj/esri file
The projection definition :
   +proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=2.33722917 +k_0=0.99987742
+x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356514.999904194
+towgs84=-168,-60,320,0,0,0,0 +units=m +no_defs

Set this proj def in both postgis and proj.4 and it should works
Hope this helps

Didrik Pinte wrote:

>Le samedi 09 avril 2005 à 11:09 -0400, Frank Warmerdam a écrit :
>
>
>>Didrik,
>>
>>There are problems with the translations in PROJ.4 for coordinate systems
>>with alternate prime meridians, and coordinate systems based on gradians.
>>One related bug is:
>>
>> http://bugzilla.remotesensing.org/show_bug.cgi?id=811
>>
>>I think there are others in the PROJ.4 bugzilla more specific to your problem.
>>The gist of it is, you will need to correct the definition manually in your
>>PROJ.4 "epsg" file.  This is in /usr/local/share/proj/epsg on unix/linux.
>>
>>Best regards,
>>
>>
>
>Thank you very much for the information. That is very annoying ... I
>need to make that work for monday. Some stress for the week-end.
>
>Is there a good way of doing this by hand ? Just by "try and error"
>overlaying the two layers ?
>
>Didrik
>
>



More information about the mapserver-users mailing list