My getLayerByName doesn't work

Frank Warmerdam fwarmerdam at GMAIL.COM
Wed Jul 13 06:40:28 PDT 2005


On 7/13/05, Phillip Neal <pneal at mbl.edu> wrote:
> Dear All,
> 
> I am trying to use the code from
> http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptAddPoint
> 
> to generate a dynamic point. But everytime I hit the
> 
> $layer = $map->getLayerByName('INLINE');
> 
> I get a segmentation fault.

Phil, 

I got a similar problem with I built PHP MapScript myself for a client.
Where did you get your PHP MapScript?  Our problems could be
unrelated of course, but it seems a coincidence that we both have
problems with crashes in getLayerByName().  Let me know if you
figure anything out. 

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the MapServer-users mailing list