[Cartoweb-users] proj4 under windows problem

Gérald lemoine G-eaux g-eaux at wanadoo.fr
Thu Aug 31 12:56:07 EDT 2006


I've installed cartoweb3.2, on wamp server installation.
Every things works fine, except proj4 :

As my mapfile is IGN-LIIe, my map file begins like this :

    *PROJECTION*
     *"**init=epsg:27582"*
    *END

*launching wms data, i saw that the re-projetction was wrong :
i've checked my wms layer, but i didnt' find anything wrong :

    *LAYER*
        *STATUS* *ON*
        *NAME* *"**LANDSAT"*
        *TYPE* *RASTER*
        *CONNECTION* *"**http://wms.jpl.nasa.gov/wms.cgi?"*
        *CONNECTIONTYPE* *wms*
        *METADATA*
            *"**wms_srs"* *"**EPSG:4326"*
            *"**wms_name"* *"**global_mosaic"*
            *"**wms_server_version"* *"**1.1.1"*
            *"**wms_format"* *"**image/png"*
           *"**force_imagetype"* *"**JPG"*

        *END*
    *END*

So i tried with a local SRTM image, also in WGS84 : it doesn't work anymore.
After i tried with a WGS84 shapefile : nothing displays.

Then i've checked my proj4 installation :
its c:\wamp\proj4\bin
and c:\wamp\proj4\nad

so my path is :
PATH=c:\program 
files\imagemagick-5.5.7-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN
DOWS\System32\Wbem;C:\Program Files\Editeur;C:\Program Files\Leica 
Geosystems\Sh
ared;C:\Program Files\Fichiers communs\Autodesk 
Shared\;C:\PROGRA~1\FICHIE~1\AUT
ODE~1\GIS\IMPORT~1\1.0;C:\Program Files\Fichiers communs\Ulead 
Systems\MPEG;c:\u
tils;C:\Program Files\Fichiers communs\Repro Desk;C:\Program 
Files\Fichiers comm
uns\Adaptec 
Shared\System;;\bin;\proj\bin;\php;\tools\gdal-ogr;\tools\mapserv;\t
ools\shapelib;\tools\shp2tile;\bin;c:\wamp\proj\bin;c:\wamp\php;c:\wamp\tools\gd
al-ogr;c:\wamp\tools\mapserv;c:\wamp\tools\shapelib;c:\wamp\tools\shp2tile;C:\Pr
ogram Files\GnuWin32\bin;C:\Program Files\PostgreSQL\8.1\bin

and i've set the var :
PROJ_LIB=C:\WAMP\PROJ\NAD
but it still doesn't work
I'tried a mapfile that worked under linux installation, it doesn't work 
on windows plateform;
any idea ?
None of the cartoweb sample contains a reprojection, so i can't test 
with it.
Thanks, Gérald



-- 

http://www.g-eaux.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060831/05b0599a/attachment.html


More information about the Cartoweb-users mailing list