Re: Converting CSV (or TAB or XSLX) Files to KML
Re: Converting CSV (or TAB or XSLX) Files to KML
- Subject: Re: Converting CSV (or TAB or XSLX) Files to KML
- From: Jean-Christophe Helary <email@hidden>
- Date: Tue, 14 Feb 2017 08:36:44 +0900
> 2017/02/14 4:58、Jon Rosen <email@hidden>のメール:
>
> Does anyone know a way to convert any of the standard export file formats to KML (a GPS data file format). There are a couple of Websites that allow you to drag and drop CSV file to convert them to KML, but I’m looking for something that does not require user intervention.
One thing I'd do is make sure the CSV data is properly structured to automatically output XML with a script (anything can do, bash, perl, etc.). Depending on the tools you want to use to do that, the options are vast. In a text editor, a relatively long regex should do the trick, or you can use LibreOffice (I think) or similar to import the data and export it as XML. And I guess Applescript can do that for you too.
Such text transformations problems were solved on the command line something like 50 years ago with tools like ed and the like.
Jean-Christophe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden