mapserver mapscript vs mapserver cgi projection problem

Ed McNierney ed at TOPOZONE.COM
Sun Jun 18 15:59:13 EDT 2006


Brent -

Well, an error of that magnitude certainly looks like a datum problem,
particularly if your lat/lon output uses a datum different than NZGD49,
the datum used by the EPSG:27200 projection.

The first thing I would check is to make sure your Windows installation
of PROJ is set up with the required set of NADCON grid shift files.  If
the grid shift files are not present, PROJ will silently return the
un-shifted (and therefore incorrect) results.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
ed at topozone.com

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Brent Wood
Sent: Saturday, June 17, 2006 4:58 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] mapserver mapscript vs mapserver cgi
projection problem

Hi,

The earlier problem of projections not working with java mapscript was
due to the install package missing a couple of DLL's. proj4 was there,
but apparently it also needs some others.

So, hydra-like, every problem resolved generates new ones...

In this case, I'm reprojecting a tileindex layer (EPSG:27200 - NZMG)
into a lat/long map.

The Linux mapserver CGI version does this perfectly. The Windows java
mapscript implementation comes close, but has the rasters about 100m
offset.

I don't think it's a datum issue (but I could be wrong).

Does anyone have any idea what the problem could be (or even better,
what the solution is :-)?


Thanks,

  Brent Wood



More information about the mapserver-users mailing list