[postgis-users] Buggy transform() function in 1.0RC1 ?
strk at refractions.net
strk at refractions.net
Fri Feb 18 02:02:00 PST 2005
Nicolas, I'm trying to figure out what to do with these *bogus* entries
in spatial_ref_sys.
The problem is that there are more then a single entries for Paris,
so I think all of them are bogus.
Another problem is: "would a newer PROJ4 version correclty interpret the
new paramaters?".
What PROJ4 version are you using ? Could you check if newer PROJ4 give
a different result ?
--strk;
On Wed, Feb 02, 2005 at 06:50:46PM +0100, RIBOT, Nicolas wrote:
> Transform() is not buggy.
>
> To follow my previous post, and thanks to Michael Michaud that noticed the
> differences, the spatial_ref_sys.sql provided with postgis 1.0 RC is not the
> same as the one provided with the previous Postgis versions, at least for
> french projections.
> Namely, for SRID=27582, the proj4 parameters in postgis 0.8:
>
> +proj=lcc
> +lat_1=46.8
> +lat_0=46.8
> +lon_0=2.337229166666667
> +k_0=0.99987742
> +x_0=600000
> +y_0=2200000
> +a=6378249.2
> +b=6356514.999904194
> +pm=2.337229166666667
> +units=m
>
> and in postgis 1.0RC:
>
> +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=6356515
> +towgs84=-168,-60,320,0,0,0,0
> +pm=paris
> +units=m
> +no_defs
>
> the sign of the longitude of origin is not the same, the value of the prime
> meridian is also different.
>
> Can we fear other projection systems to be inaccurate ?
> Why the values of these well-know systems have changed between versions ?
>
> Thanx
> Nicolas Ribot
> ---------------------------------------------------------
>
> CE COURRIER ELECTRONIQUE EST A USAGE STRICTEMENT INFORMATIF ET NE SAURAIT ENGAGER DE QUELQUE MANIERE QUE CE SOIT EADS ASTRIUM SAS, NI SES FILIALES.
>
> SI UNE ERREUR DE TRANSMISSION OU UNE ADRESSE ERRONEE A MAL DIRIGE CE COURRIER, MERCI D'EN INFORMER L'EXPEDITEUR EN LUI FAISANT UNE REPONSE PAR COURRIER ELECTRONIQUE DES RECEPTION. SI VOUS N'ETES PAS LE DESTINATAIRE DE CE COURRIER, VOUS NE DEVEZ PAS L'UTILISER, LE CONSERVER, EN FAIRE ETAT, LE DISTRIBUER, LE COPIER, L'IMPRIMER OU EN REVELER LE CONTENU A UNE TIERCE PARTIE.
>
>
>
> This email is for information only and will not bind EADS Astrium SAS in any contract or obligation, nor its subsidiaries.
>
> If you have received it in error, please notify the sender by return email. If you are not the addressee of this email, you must not use, keep, disseminate, copy, print or otherwise deal with it.
>
> ---------------------------------------------------------
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list