Hi everybody, I trying to work with MapObject LT and ECW files georeferencied. But, when I'm trying to put the raster layers(ecw) on the MapObject with NCSRenderer the ECW file apears in the good geographic position but the grephic contetns is damaged. Is there somebody which is working in this way to give me some tips? Thanks, Nica Constantin On 14 iunie 2001 13:11, List Server wrote: > ---------------------------------------------------------------------- > > From: Martin Kjelgaard Rosengreen <[EMAIL PROTECTED]> > Subject: SV: ERMAPPER-L Daily Digest > Date: Wed, 13 Jun 2001 12:44:31 +0200 > Reply-To: [EMAIL PROTECTED] > > >From: "Harold" <[EMAIL PROTECTED]> > >Subject: RE: Commandline decompression > >Date: Wed, 13 Jun 2001 02:43:21 +0800 > >Reply-To: [EMAIL PROTECTED] > >Hi, > > > >The ecw_decompress.exe is obsolete, I believe it has been removed > for ER = > >Mapper 6.2. > >The program to use instead is import_raster_trans.exe > >This performs exactly the same function (as well as supporting > other = > >raster translator types). > > > >Regards, > >Harold. > > Thank You, Harold. This works (with a bit of trial and error) > > I had a hunch, something like that was the case, but I was unable to find > any documentation on the subject. FYI; the ecw_decompress.exe i still in the > 6.2. (at least in the beta that I have), and is also mentioned in the > documentation. > > B.R. Martin > > ----------------------------------------- > Martin Rosengreen > GIS/Raster Consultant > Kampsax Mapping Division > Stamholmen 112 > 2650 Hvidovre > Phone: +45 36 39 09 53 > Mobile + 45 20 65 85 59 > E-mail: [EMAIL PROTECTED] > http://www.kampsax.com > ------------------------------------------ > > > ---------------------------------------------------------------------- > > From: "Stuart Nixon" <[EMAIL PROTECTED]> > Subject: RE: Loading Large Number of Images > Date: Wed, 13 Jun 2001 15:43:41 -0700 > Reply-To: [EMAIL PROTECTED] > Tom and others, > > > I need an easy way to load 400 images into an algorithm, in a specified > > order that is NOT alphabetic or numeric. I can format the ordered list of > > images in any standard format (text, dbf, exel, etc.). > > I wrote a little batch script that loads images into an algorithm in > the order specified, from a text file containing file names. > > The script is included at the end of this email, as well as an example > text file. To install and use the script: > > 1. Copy the script into the <ermapper>/batch directory as a .ERB file > (where <ermapper> is the install directory for ER Mapper) > > 2. To run the batch script, either use the "View->Batch Script Control" > menu and select "Run Script", or add the script to a toolbar, by editing > one of the .BAR files in <ermapper>/config. You need to restart > ER Mapper to get it to load new toolbar changes. > > > Some notes while I think of them: > > - This script is quite small and hopefully easy to follow, so if you are > getting into writing scripts you might find it a good place to > start as an example. > > - Earth Resource Mapping offices around the world offer training courses, > specifically including ones on writing batch script driven applications. > So if you have some complex application, this is something to think about. > > - I also include an example text file, in this case it opens image > files as URLs from Northern Territory Geological Survey's > Image Web Server web site. As you can see, image files can be local images > or remote images served over the net into ER Mapper from an Image Web > Server. > > Regards, > > Stuart > > Here is an example text file and the batch script: > > ################# filelist.txt ################## > ecwp://www.dme.nt.gov.au/ntgs ecwp/Elkedra/Elkedra_TMI.ecw > ecwp://www.dme.nt.gov.au/ntgs ecwp/Alcoota/Alcoota_TMI.ecw > ecwp://www.dme.nt.gov.au/ntgs ecwp/Amadeus_C/AmC_TMI.ecw > ecwp://www.dme.nt.gov.au/ntgs ecwp/Bonney/Bonney_TMI.ecw > > > ################# FileMosaic.erb ################## > # > # Script: FileMosaic.erb > # Date: June 2001 > # > # [01] sns 10-jun-01 Created program > # > # Summary: Simple wizard to mosaic using an input text file list of files > # Needs improvement - no strong error checking or validation is performed > # One layer is created per file - would be easy to enhance to load RGB or > # colordrape layers or whatever. > # > > $wizardname = "Mosaic list of files wizard" > > # wizard assumes running under Windows not Unix > $Cmd_processor=getenv "ComSpec" > $Type_cmd = $Cmd_processor + " /c type " > absolute path > > $InputFile = get preference "Wizard:FileMosaic:InputFile" "" > > ############################################################### > # Main wizard page. Asks for input file name > ############################################################### > > wizard_page_main: > Wizard begin "File Mosaic Wizard" > title $wizardname > > container begin "Mode" > container items labels_left > container right "Image" > say "Use this wizard to mosaic images with" > say "the names of the files taken from an" > say "input text file, one line per file name" > say "in the text file." > say "" > ask file "Text file: " ".txt" $InputFile > container end > container begin "PageControls" > container height_pct 12 > container below "Mode" > container items horizontal right justify > ask action "Finish" goto Check_Main > ask action "Cancel" close goto Wizard_Finish > container end > > container begin "Image" > container width_pixels 131 > container height_pixels 280 > container left "Mode" > container above "PageControls" > # show image "standard_icons/Wizards/FileMosaic" > container end > Wizard end > > Check_Main: > set preference "Wizard:FileMosaic:InputFile" $InputFile > if $InputFile exists then goto ProcessAlgorithm > say warning "You must specify the text file containing the names of the > images to mosaic" > goto wizard_page_main > > ############################################################### > # Read the input file, add each file to an algorithm, then display it in a > new window > ############################################################### > ProcessAlgorithm: > open status $wizardname > > # read the text file and split it into an array of file names > $cmd = $Type_cmd + "\"" + $InputFile + "\"" > system $cmd > $FileList = split $SYS_STDOUT at "\n" > > new algorithm > set surface lut to "greyscale" > set algorithm background to colorval "white" > > $count = 1 > AddFile: > $ImageFile = $FileList[$count] > if $ImageFile == "" then goto Display > say status $ImageFile + "\n" > if $count == 1 then goto FirstLayer > add pseudocolor layer > FirstLayer: > set layer dataset $ImageFile > $count = $count + 1 > goto AddFile > > Display: > new window > copy algorithm to window > go background window # background thread, so don't hold up the script while > displaying > zoom to all datasets > delete status > > Wizard_Finish: > wizard close > exit > > ---------------------------------------------------------- > To stop receiving the daily digest, send email to [EMAIL PROTECTED] with the command > set mode standard ermapper-l > in the body. > ----------------------------------------------------------- To make changes to your subscription, please visit our website, http://www.ermapper.com/technicl/ermapperl/index.htm
