[mapserver-users] PHP and SCALE *CORRECTION*

Stefano Bonnin shpr at libero.it
Thu Apr 18 03:55:59 EDT 2002


CORRECTION:

Hi,
one question: why, after the assignment $scale = -1 ?
I'd like to use $scale in order to display a map only for a particular scale
range but its value is always -1.


$gpoMap = ms_newMapObj("mymapfile.map");
:
:
:
$poLayer = $gpoMap->getlayer(1);

$gpoMap->preparequery();  // in the previuos e-mail I missed this line

$scale = $gpoMap->scale;


Thanks.

Stefano B.



---
Outgoing mail is certified Virus Free. (FLASHH!)
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02




More information about the mapserver-users mailing list