[Mapserver-users] mapscript - queryByPoint help, simple Q

poff poff at sixbit.org
Thu Aug 28 14:59:45 EDT 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