[mapserver-users] QueryUsingPoint

Manuel Marichal Pérez marichalperez at yahoo.es
Mon Jun 3 04:20:51 EDT 2002


	Hi, all. I want to query a map in a particular point. Then I try:

	<?php

	dl('php_mapscript_34.dll');
	$path_mapa="c:\\inetpub\\wwwroot\\hristo2\\";
	$mapa = ms_newMapObj($path_mapa."hristo.map");

	$capa=$mapa->getLayerByName("layer_name");
	$punto=ms_newPointObj();
	$punto->setXY(458994.81,3108986.66);
	$resultado=$capa->queryUsingPoint($punto,MS_SINGLE,0);

	$imagen=$mapa->draw();
	$url_imagen=$imagen->saveWebImage(MS_PNG,1,1,0);

	?>

	When I try this, no page is sent (the server wait and wait...)
	What's the problem?

	Thanks a lot



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the mapserver-users mailing list