[Chameleon] Problème projection

Jeff McKenna jmckenna at dmsolutions.ca
Mon Mar 20 16:53:24 EST 2006


If you are using MS4W, it is already configured to use the PROJ library 
(/ms4w/proj/nad/), so you don't need to set this location in your mapfile.

I see in one of your previous sample mapfiles that you set it in the 
mapfile too:

    CONFIG "PROJ_LIB" "C:/ms4w/proj/"

Try removing that entire line (Apache already sets the proper location 
to PROJ_LIB).  Or you can try:

    CONFIG "PROJ_LIB" "C:/ms4w/proj/nad/"

(make sure it is the exact path to your epsg file)

bonne chance!

jeff




Hugo Girard wrote:
> Good moi aussi je suis francais, mon anglais est plus ou moins bon dsl. 
> Je crois que mon problème vient de mapserver. À chaque fois que je 
> défini un espg code (ex. init="espg:32187") il me marque  msDrawMap(): 
> Image handling error. Failed to draw layer named 'Hydro_poly'. Quand je 
> défini la projection au complet (ex. PROJECTION     
>     "proj=tmerc"
>     "lat_0=0"
>     "lon_0=-70.5"
>     "k=0.999900"
>     "x_0=304800"
>     "y_0=0"
>     "ellps=GRS80"
>     "datum=NAD83"
>     "units=m"
>     "no_defs"   
>    END
> ) il n'y a plus de problème. Je crois que map server ne reconnais plus 
> mes espg code. Pourtant il les reconnaissait avant. Stp aide moi lol.
> 



-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca


More information about the Chameleon mailing list