[Mapserver-users] mapscript - queryByPoint help, simple Q
poff
poff at sixbit.org
Thu Aug 28 11:59:45 PDT 2003
Thanks very much for your post,
> $map_path = "e:\map.map";
> $gpoMap = ms_newMapObj($map_path);
>
> $oClickGeo->setXY($minx,$miny);
>
>
> // Use '@' to avoid warning if query found nothing
> <snip>
>
> @$gpoMap->queryByPoint($oClickGeo, MS_MULTIPLE, 20);
This gives me straight away the "Cannot open Shapefile (NULL) error that
Iwas getting before.
Any ideas? Maybe there was something else you did and omitted?
Thanks again
P
More information about the MapServer-users
mailing list