[mapserver-users] PHP/MapScript - Error - msLayerGetShape() - URGENT

Ian Tidy IANT at napier.govt.nz
Mon May 10 05:20:05 EDT 2010


I have just upgraded from Ubuntu Linux 9.10 to 10.04 LTS and I am now getting the following error:
[Mon May 10 21:09:50 2010].196000 msLayerGetShape(): Shapefile error. Shapefile layer has not been opened.
[Mon May 10 21:09:50 2010].196000 msDrawMap(): Image handling error. Failed to draw layer named 'ncspropinfo'.

Everything was working until I upgraded to OS (and MapServer).  I have been able to replicate the problem on a Windows machine using MS4W 3 Beta.

My Linux server reports MapServer version:
MapServer version 5.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

While my (Windows) laptop reports MapServer version:
MapServer version 5.6.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG SUPPORTS=TILECACHE INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Any ideas on why this would suddenly happen?

Regards Ian
______________________
Ian Tidy
GIS Analyst / Developer
Works Asset Department
Napier City Council
Hastings St, Private Bag 6010, Napier, New Zealand
Phone +64-6-835-7579 Ext. 8115
Fax +64-6-834-4195
Skype:ian.tidy.ncc
mailto:iant at napier.govt.nz<https://owa.napier.govt.nz/owa/iant@napier.govt.nz/redir.aspx?C=09f8d79cadaa42939f897937480990d3&URL=mailto%3aiant%40napier.govt.nz>
http://www.napier.govt.nz<https://owa.napier.govt.nz/owa/iant@napier.govt.nz/redir.aspx?C=09f8d79cadaa42939f897937480990d3&URL=http%3a%2f%2fwww.napier.govt.nz> | http://maps.napier.govt.nz<https://owa.napier.govt.nz/owa/iant@napier.govt.nz/redir.aspx?C=09f8d79cadaa42939f897937480990d3&URL=http%3a%2f%2fmaps.napier.govt.nz>





#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################

######################################################################
Attention: 
This e-mail message and accompanying data may contain information that
is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated to
the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100510/3cbff3ed/attachment-0001.html


More information about the mapserver-users mailing list