[mapserver-dev] How to reset the projection object for layerObjandmapObj

Steve Lime Steve.Lime at dnr.state.mn.us
Mon Dec 8 18:10:24 EST 2008


I'll defer to Daniel or Frank on that one...

Steve

>>> On 12/7/2008 at 2:37 PM, in message
<f3b73b7d0812071237r634cbb8dja2d446f4ade5aeed at mail.gmail.com>, "Tamas Szekeres"
<szekerest at gmail.com> wrote:
> Steve,
> 
> It seems setProjection("+AUTO") is doing something like I was wishing for.
> However I don't see in the documentation the desired purpose of this
> setting;
> 
> http://mapserver.gis.umn.edu/docs/reference/mapfile/projection 
> 
> Could you confirm whether the purpose of "+AUTO" is to reset the projection
> into an unspecified state?
> 
> Best regards,
> 
> Tamas
> 
> 
> 
> 2008/12/2 Steve Lime <Steve.Lime at dnr.state.mn.us>
> 
>> As far as I know you're correct. Handling the null would seem an elegant
>> solution
>> if it can be done.
>>
>> Steve
>>
>> >>> "Tamas Szekeres" <szekerest at gmail.com> 12/02/08 7:59 AM >>>
>> Hi Devs,
>>
>> Am I right that currently we don't have the option to reset the projection
>> object for  layerObj and the mapObj by using the SWIG interface?
>> I just wanted to  revert this object into the same state as if it was
>> created without specifying the projection.
>> Using setProjection(null) doesn't seem to be a supported option since
>> msLoadProjectionString doesn't handle the null argument value.
>> If you don't know about a workaround either, then I'm keen to modify
>> msLoadProjectionString in order to handle this option.
>>
>>
>> Best regards,
>>
>> Tamas
>>
>>



More information about the mapserver-dev mailing list