[ka-Map-users] "Given map extent is invalid"
Jeff McKenna
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.
jeff
Paul Spencer wrote:
> Hi,
>
> 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:
>
> <?php
> 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.
>
> Cheers
>
> Paul
>
>
--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the ka-Map-users
mailing list