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

poff poff@sixbit.org
Thu, 28 Aug 2003 20:59:45 +0200


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

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users