Re: Map_set headache [message #38026] |
Tue, 17 February 2004 07:13 |
David Oesch
Messages: 31 Registered: October 2000
|
Member |
|
|
I just solved this problem...obviously some settings were messed up..
so what I do is just calling another idl session with the runnning batch
process using SPAWN....
> Hi folks...
>
> map_set is giving me some headache since days...I'm trying to create
> in batch modus under linux some maps ( shell script is calling up IDL
> and starting the progs). The problem is this
> When calling map_set while being in the batch routines with the
> following arguments:
> map_set,47.6445,9.29510,LIMIT=[47.4520,8.77010,47.8370,9.820 10]
> IDL returns:
> MAP_SET_LIMITS: Warning, MAP limits are invalid.
>
> Well, If I just state this command not being in the batch modus:
> everything is going to be fine....
>
> Any ideas? are the !MAP parameters messed up? Is there a way to set
> them back to standards? I tried also the SCALE keyword, which works,
> but because I got quite a bunch of maps with different scales...no
> way....
> Thanks for your hints in advance...
>
> Dave
>
|
|
|
Re: Map_set headache [message #38048 is a reply to message #38026] |
Mon, 16 February 2004 08:50  |
David Oesch
Messages: 31 Registered: October 2000
|
Member |
|
|
Hi Pepijin,
Hmm, the whole batch code is quite long ...and the program I use is just
a sub sub routine...the SAVE file is arround 130MB big
but I found out, that if I'm setting !map.a=1, the I get some
results..but the geocoding is not accurate, some shift is the fact.
!MAP.a is the only parameter which is different comapred with !MAP.a
from not being in the batch modus...
|
|
|
Re: Map_set headache [message #38050 is a reply to message #38048] |
Mon, 16 February 2004 07:32  |
David Oesch
Messages: 31 Registered: October 2000
|
Member |
|
|
Hi Pepijin,
Hmm, the whole batch code is quite long ...and the program I use is just
a sub sub routine...the SAVE file is arround 130MB big ;-)
but I found out, that if I'm setting !map.a=1, the I get some
results..but the geocoding is not accurate, some shift is the fact.
!MAP.a is the only parameter which is different comapred with !MAP.a
from not being in the batch modus...
Pepijn Kenter wrote:
>
>
> David Oesch wrote:
>
>> Hi folks...
>>
>> map_set is giving me some headache since days...I'm trying to create
>> in batch modus under linux some maps ( shell script is calling up
>> IDL and starting the progs). The problem is this
>> When calling map_set while being in the batch routines with the
>> following arguments:
>> map_set,47.6445,9.29510,LIMIT=[47.4520,8.77010,47.8370,9.820 10]
>> IDL returns:
>> MAP_SET_LIMITS: Warning, MAP limits are invalid.
>>
>> Well, If I just state this command not being in the batch modus:
>> everything is going to be fine....
>>
>> Any ideas? are the !MAP parameters messed up? Is there a way to set
>> them back to standards? I tried also the SCALE keyword, which works,
>> but because I got quite a bunch of maps with different scales...no
>> way....
>> Thanks for your hints in advance...
>>
>> Dave
>>
> I'm affraid I can't reproduce your problem, but I've got no experience
> with the map_set procedure.
>
> I've tried:
>
> pepijn@nadir:~\> cat test.sh
> idl test.pro
>
> pepijn@nadir:~\> cat test.pro
> map_set,47.6445,9.29510,LIMIT=[47.4520,8.77010,47.8370,9.820 10]
> wait, 2
> print, 'done'
>
> pepijn@nadir:~\> ./test.sh
> IDL Version 5.5 (linux x86). (c) 2001, Research Systems, Inc.
> Installation number: 82095.
> Licensed for use by: TNO TPD
>
> % Compiled module: MAP_SET.
> % Compiled module: CROSSP.
> done
>
> So no errors, on my computer.
> May be you could post your complete script, or is it very long?
>
> Regards, Pepijn.
>
--
_________________________________________________
David Oesch - Remote Sensing Research Group
Department of Geography
University of Bern Tel : +41 (0)31 631 8020
Hallerstr. 12 Fax : +41 (0)31 631 8511
CH - 3012 Bern Mail: oesch@giub.unibe.ch
Switzerland http://saturn.unibe.ch/rsbern
Remote Sensing is...
Staying as far away from the problem as possible.
- G. Archer, World Bank
_________________________________________________
|
|
|
Re: Map_set headache [message #38054 is a reply to message #38050] |
Mon, 16 February 2004 06:48  |
Pepijn Kenter
Messages: 31 Registered: April 2002
|
Member |
|
|
David Oesch wrote:
> Hi folks...
>
> map_set is giving me some headache since days...I'm trying to create in
> batch modus under linux some maps ( shell script is calling up IDL and
> starting the progs). The problem is this
> When calling map_set while being in the batch routines with the
> following arguments:
> map_set,47.6445,9.29510,LIMIT=[47.4520,8.77010,47.8370,9.820 10]
> IDL returns:
> MAP_SET_LIMITS: Warning, MAP limits are invalid.
>
> Well, If I just state this command not being in the batch modus:
> everything is going to be fine....
>
> Any ideas? are the !MAP parameters messed up? Is there a way to set them
> back to standards? I tried also the SCALE keyword, which works, but
> because I got quite a bunch of maps with different scales...no way....
> Thanks for your hints in advance...
>
> Dave
>
I'm affraid I can't reproduce your problem, but I've got no experience
with the map_set procedure.
I've tried:
pepijn@nadir:~\> cat test.sh
idl test.pro
pepijn@nadir:~\> cat test.pro
map_set,47.6445,9.29510,LIMIT=[47.4520,8.77010,47.8370,9.820 10]
wait, 2
print, 'done'
pepijn@nadir:~\> ./test.sh
IDL Version 5.5 (linux x86). (c) 2001, Research Systems, Inc.
Installation number: 82095.
Licensed for use by: TNO TPD
% Compiled module: MAP_SET.
% Compiled module: CROSSP.
done
So no errors, on my computer.
May be you could post your complete script, or is it very long?
Regards, Pepijn.
|
|
|