[ka-Map-users] "Given map extent is invalid"
jmckenna at dmsolutions.ca
Wed Jan 11 11:53:48 EST 2006
If u want to do a shp2img-like test with phpmapscript, ms4w comes with a
small test script called quickmap.php in /apache/htdocs..change path on
line16 and then browse to 127.0.0.1/quickmap.php.
Paul Spencer wrote:
> it seems odd that you have units DD and are not using degrees for your
> extents. Try loading the map file with this php script:
> dl('php_mapscript.dll'); //adjust to the appropriate version
> $oMap = ms_newMapObj('c:/ms4w/apps/kamap-0.1.1/htdocs/global.map');
> $oImg = $oMap->draw();
> $szURL = $oImg->saveWebImage();
> echo "<img src=$szURL>";
> If that works then there is a bug in ka-Map.
DM Solutions Group Inc.
More information about the ka-Map-users