[mapserver-users] Design Changes (or Bug) in Mapscript 3.6 (development)?

Smith, Michael ERDC-CRREL-NH Michael.Smith at erdc.usace.army.mil
Tue Apr 9 10:10:05 EDT 2002


I'm trying to setup the imsemu perl script with nightly (Apr 09) build of
mapserver and I'm getting the following error:

[08:46:10] Query: ServiceName=SPL%20GIS%20Test&CustomStream=False
 [08:46:10] Service: /htdocs/mikes/la_dist/latest.map
 [08:46:10] XML: <?xml version="1.0" encoding="UTF-8"?><ARCXML
version="1.0.1"><REQUEST dpi="120"><GET_SERVICE_INFO/></REQUEST></ARCXML>

 [08:46:10] Doc: ARRAY(0x8499afc)
Undefined subroutine &mapscriptc::mapObj_projection_get called at
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/mapscript.pm line 2588, <>
line 1.

This seems to stem from the fact that Class:mapObj in mapscript.pm nolonger
includes a projectionobj in its BlessedMembers

-From Nightly build
############# Class : mapObj ##############

package mapObj;
@ISA = qw( mapscript );
%OWNER = ();
%BLESSEDMEMBERS = (
    layers => 'layerObj',
    labelcache => 'labelCacheObj',
    extent => 'rectObj',
    imagecolor => 'colorObj',
    latlon => 'projectionObj',
    reference => 'referenceMapObj',
    scalebar => 'scalebarObj',
    legend => 'legendObj',
    web => 'webObj',
);

from MapServer 3.5 Build
############# Class : mapObj ##############

package mapObj;
@ISA = qw( mapscript );
%OWNER = ();
%BLESSEDMEMBERS = (
    layers => 'layerObj',
    labelcache => 'labelCacheObj',
    extent => 'rectObj',
    imagecolor => 'colorObj',
    projection => 'projectionObj',
    reference => 'referenceMapObj',
    scalebar => 'scalebarObj',
    legend => 'legendObj',
    querymap => 'queryMapObj',
    web => 'webObj',
);

Is this being intentionally left out and the perl script for ArcIMS
emulation need to be rewritten, or is my setup not quite right in some other
area? I'd install 3.5 of mapscript but that means downgrading other files
(PHP) to previous versions. Any other ideas.

Mike Smith
email: michael.smith at erdc.usace.army.mil
RSGISC
ERDC - CRREL 
Hanover, NH  03755
(603) 646-4765






More information about the mapserver-users mailing list