Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

Re: Re: problème import/export env Ascii

New Message Reply Date view Thread view Subject view Author view

Subject: Re: Re: problème import/export env Ascii
From: Paolo Campo (paoloppa@yahoo.com)
Date: Tue Mar 15 2005 - 17:17:01 CET

Hello

The new update I believe corrects the problem with importing ascii files. However, if you do not
want to update your cormas with the patch, and also to correct the problem you have mentioned
about the exporting of the environment into ascii, I suggest that you do the following.

In this email, I have attached a zip file containing 3 ST files namely:
1) String-asArrayOfSubstrings.st
2) String-asArrayOfSubstringsSeparatedBy.st
3) SpaceModel-saveAttributesASCfileParameters.st

The first two is supposed to correct the importing of ascii files and the last one is to correct
the problem with the exporting. Now you have to "file-in" these files into Cormas. Unzip the files
in a directory. Remember the directory/folder which you have unzipped the files to as you need to
navigate to that directory/folder later on. Open VisualWorks. Click on file then click on File
browser, or to be more simple, press F2. The File Browser window appears. On the left box of the
windoe, navigate to the folder where the ST files are located. The upper right box of the window
will now display all the files and folders contained in that folder. For each st file i have
mentioned, do this:

1) select the file
2) press the right button of your mouse then select the command "file-in"

Do steps 1 and 2 for each of the 3 files. If you have already updated your Cormas 2004 to the
latest version, then you only do this for the 3rd file i have mentioned above.

Close the window and save your Cormas2004 image. I hope this solves your problem.

Cheers,
Paolo

--- bpazbe@entelnet.bo wrote:
> Hello
> I think your problem commes from a unpached version.
> I had the same problem but downloading the last version of Cormas 2004 corrected
> http://cormas.cirad.fr, I solve this.
> good luck. Bernardo
>
> PD. Sugestion simpliste mais elle a ete eficase dans mon cas. :-)
>
> ----- Mensaje original -----
> De: Christophe Viavattene <christophe.viavattene@ensmp.fr>
> Fecha: Martes, Marzo 15, 2005 9:30 am
> Asunto: problème import/export env Ascii
>
> > Bonjour,
> >
> > je souhaite importer des grilles depuis Arcgis vers Cormas au
> > format ascii.
> > Je me suis référé au document guide mais impossible d'importer les
> > fichiers.Pour identifier le problème dans mes fichiers, j'ai donc
> > sauver un des
> > environnements d'un model Cormas au format ascii pour les comparer
> > à mes
> > fichiers importés depuis Arcgis. Aucune différence notable.
> > J'ai donc testé l'import des fichiers ascii issus de Cormas et le
> > même message
> > d'erreur apparaît à savoir :
> > " Unhandled exception : Message not understood:#as arrayOfSubstring"
> > il y a à priori un problème de lecture des coordonnées.
> > Ai-je omis une étape pour l'importation d'environnement de type
> > Ascii ?
> >
> > En outre lors de l'export d'un environnement depuis cormas en
> > Ascii, une
> > fenêtre apparaît avec des informations à fournir. Mais le fichier
> > créé
> > contient des erreurs...En effet la valeur "cell size" n'est pas
> > prise en
> > compte et est remplacée par la valeur fournie pour "no Data".
> > Comment puis-je
> > corriger ce problème dans Cormas.
> > Merci.
> > Cordialement
> >
> > --
> > Viavattene Christophe
> > Ecole des Mines de Paris
> > Centre d'Informatique Géologique
> > 35, rue Saint Honoré
> > 77305 FONTAINEBLEAU Cedex
> > Tel. : 01 64 69 49 15
> >
> >
>
>

                
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

New Message Reply Date view Thread view Subject view Author view
 

Back to home