[mapserver-users] Mapscript Changes in 3.6

Steve Lime steve.lime@dnr.state.mn.us
Wed, 17 Apr 2002 11:09:39 -0500


It shouldn't have worked in 3.5. Projections are not simple structures and really shouldn't be mucked with. So in 3.6 direct access to that was blocked and getProjection and setProjection methods were added to mapObj and layerObj. The methods take/return PROJ.4 projection definition strings.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Smith, Michael ERDC-CRREL-NH" <Michael.Smith@erdc.usace.army.mil> 04/17/02 08:43AM >>>
using Perl, I am trying to get the projection of a map file using

my $project = $map->{projection};


This worked in 3.5. How do you now get the projection of a map file in 3.6. 

Thanks

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