[Cartoweb-users] proj4 under windows problem
Pierre GIRAUD
pierre.giraud at camptocamp.com
Fri Sep 1 03:38:48 EDT 2006
To get your landsat layer re-projected, you must set a PROJECTION object
in its definition.
Give a try with this :
*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
PROJECTION
"init=epsg:4326"
END
* *END*
Gérald lemoine G-eaux wrote:
> 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Cartoweb-users mailing list
>Cartoweb-users at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
--
_________________________________________________________
Pierre GIRAUD
Géomaticien, Analyste
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com
More information about the Cartoweb-users
mailing list