X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Jan 2017 07:44 AM by  anon
EnviLayerStackRaster ERROR
 7 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
10 Jan 2017 07:44 AM
    Hello, i am trying to execute a layer stacking process using the tool ENVILayerStackRaster but i obtain the following error message: % Attempt to call undefined function: 'ENVILAYERSTACKRASTER'. Any suggestion? Thank you for feedback.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    10 Jan 2017 07:48 AM
    Are you running from an ENVI+IDL session or IDL only? Did you initialize ENVI? e=envi() or e=envi(/headless) and then use: compile_opt idl2

    Deleted User



    New Member


    Posts:
    New Member


    --
    10 Jan 2017 07:56 AM
    The code just starts with: COMPILE_OPT IDL2 e = ENVI(/HEADLESS)

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    10 Jan 2017 08:13 AM
    Does your code work if you launch and run from ENVI+IDL? What version of ENVI are you running? I believe this routine was added in ENVI 5.3 SP2.

    Deleted User



    New Member


    Posts:
    New Member


    --
    10 Jan 2017 08:21 AM
    The code does not work even with ENVI+IDL. I am using Envi 5.3.1

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    10 Jan 2017 08:24 AM
    You will need to upgrade to ENVI 5.3 SP2 or ENVI 5.4 to use this routine. Alternately, you can use ENVI Classic ENVI_LAYER_STACKING_DOIT. There is an example in this help article: http://www.harrisgeospatial.com/Suppo...

    Deleted User



    New Member


    Posts:
    New Member


    --
    10 Jan 2017 09:07 AM
    Thank you. I do not find the link to the Service Pack 2 for ENVI 5.3 and IDL 8.5

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    10 Jan 2017 09:11 AM
    You would need to request it from technical support directly. Please contact the European office with this request: supporteu@harris.com
    You are not authorized to post a reply.