[Mapserver-users] extent of expression
Steve Lime
steve.lime@dnr.state.mn.us
Tue, 29 Apr 2003 14:39:43 -0500
You'd have to do an attribute query to get that information. I believe
each layer's
result set contains an extent variable.
Steve
>>> "Aaron D. Hunt" <hunt@zedxinc.com> 04/29/03 09:20AM >>>
I am setting a expression using mapscript
$exp = ('[STATE_FIPS]' eq '42' or '[STATE_FIPS]' eq '34') ;
$layer_states = $map->getLayerByName('STATE');
$class_state = $layer_states->getClass(0);
$class_state->setExpression($exp) ;
Is there a way to find the extent of the expression so the script can
auto zoom in the area?
Aaron D. Hunt
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users