Forum Bentley.general.fr - Conversion .asc en .txt
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Conversion .asc en .txt

by
Fabrice Kouyoumdjian
Expert

Bonjour,

j'ai un fichier ".asc" que j'aimerais convertir en fichier ".txt" pour pouvoir l'importer dans Microstation.

Les données se présentent comme suit :

 ncols 2000
nrows 2000
xllcorner 234000
yllcorner 146000
cellsize 1
NODATA_value -9999

8196 8182 8173 ...

C'est un maillage de 2 km sur 2 avec un espacement de 1m et où le premier point se trouve en bas à gauche.

Il faudrait créer une fonction pour avoir des lignes avec les données xyz.

Comme je ne suis pas du tout programmeur je fais appel à l'équipe.

Quelqu'un aurait-il déjà fait ce genre de conversion ?

Merci,

Fabrice.