Any changes in map file from version 3.5 to version 4.8
Daniel Morissette
dmorissette at MAPGEARS.COM
Mon Oct 30 13:35:55 PST 2006
Several changes happened at version 4.0 and are documented in the
3.6->4.0 migration guide at:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MigrationGuide
There may have been a couple of other minor mapfile changes done between
4.0 and 4.8 that are not documented there or in any other migration
guide, but I think you'll find most of the info that you need in this
document.
BTW, while working on this, enable error reporting and/or watch your PHP
error logfile. The ms_newMapObj() error messages are your friends and
will tell you on or around which line to look for problems in the
mapfile or symbolset.
Daniel
Jeremy Jin wrote:
> Hello All,
>
> Thanks for help from the list especially from Rafael Szajbel. I finally
> get my php_mapscript_48 work on Win Server 2003/IIS. But it cannot
> create a map object based on a map file. This script is developed by
> other company and I am not familiar with mapscript at all. All php
> scripts and map files are copied from my old server (win2k, iis, php4,
> mapscript 35) to this new server(win2k3, iis, php5, mapscript48).
>
> When this following line is called,
>
> $map = ms_newMapObj("myproject.map");
>
> The returned value $map is null. I am able to run the above statement
> with the examples.map provided in the mapscript source code.
> I am wondering if the map/symbol files should be changed since the
> php_mapscript version is newer now.
>
> Thanks for any advice.
>
> Jin
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list