AI Assistant
Notifications
Clear all

.txt (or csv) to kml

10 Posts
5 Users
0 Reactions
888 Views
Newtonsapple
(@newtonsapple)
Posts: 451
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Some of you I'm sure already have the capability to do this, but all the same I have completed writing a routine which will convert a comma delimited .txt file from this format:

15003,43.48253870,-69.50167785,0.0000,X in ledge

to a format for a Google Earth readable .kml file:

15003
X in ledge

-69.837994027777753600000000, 43.807051944444445700000000,0.0000

It is currently configured to convert the Lat/Long from DMS to decimal degrees. Personally I use it to load a .kml file into a handheld for recon purposes.

I've also written a routine to convert a series of points into a .gpx track (also for loading into a handheld to recon a range line for example).

The routine is known as a "clip", and it runs through a program called NoteTab, which is a text/html editor. There is a free version of the program called NoteTab Light. If anyone would like to try the clip(s), send me a PM with your email and I'll forward them.


 
Posted : February 17, 2012 10:30 pm
Steve Adams
(@steve-adams)
Posts: 403
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Newton,

I would love to have that clip.

But, I don't know what a PM is or how to send it.

-Steve


 
Posted : February 18, 2012 9:03 am
Newtonsapple
(@newtonsapple)
Posts: 451
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

PM = Private message

It's the name that boards like this one typically use to describe messages sent from one member to another.

I'll send you a PM with my email in it.


 
Posted : February 18, 2012 9:23 am
Newtonsapple
(@newtonsapple)
Posts: 451
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Now this is frightening...

So here is the result after playing around a little with converting a series of 4 boundary points into a .gpx. (Actually there are 5 points in the figure, the POB is repeated at the end in order to close the figure.):

Like I said before, I'm sure people have already played around with inserting .dxf's, etc into a GIS program. I really wanted to see if I could do it from a nuts and bolts perspective.

Now that I have, it frightens me that landowners will soon have affordable sub meter or better GPS in their phones, and perceive a lack of need for us.

Actually, we may already be there...


 
Posted : February 18, 2012 3:30 pm
solarcurt
(@solarcurt)
Posts: 19
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Now this is frightening...

Have you looked at google maps on android phones lately? It even shows parcel boundary lines for almost every lot in my county. Probably because the county has a decent GIS system. A scary thing is that google maps doesn't display anything about the poor accuracy of the GPS except if you notice your position jump around by 50' every few seconds.


 
Posted : February 18, 2012 5:29 pm

andy-j
(@andy-j)
Posts: 3114
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I would love to work with what you have started. looks interesting.. Can it do a large file?


 
Posted : February 20, 2012 11:37 am
sinc
 sinc
(@sinc)
Posts: 400
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Now this is frightening...

> Actually, we may already be there...

Not quite... Those lines in GIS systems aren't necessarily correct. And then there's also the "chain of title" or "clouded title" considerations, adverse possession, mish-mashes of different coordinate systems and datums, movement of geology (earthquakes) etc., where the expertise of a trained Land Surveyor is a necessity in order to figure it out. Not to mention, the monuments in the ground typically hold precedence, and you don't see most of that in these GIS systems... Remember, the data in a GIS system is only as good as the data they put into it, and most of our country has monuments that don't exist in any GIS system.

Yeah, that may change, and we may eventually end up being "specialized lawyers", or maybe just "expert witnesses in trials".... But it won't happen any time in the immediate future.


 
Posted : February 20, 2012 7:31 pm
Newtonsapple
(@newtonsapple)
Posts: 451
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

> I would love to work with what you have started. looks interesting.. Can it do a large file?

Yes, it can handle multiple large files. (Here is a review of the program.)

From my own experience, I have a clip which renumbers sideshots of an .fbk through multiple files, it has never had an issue.

I'll email you.


 
Posted : February 20, 2012 8:24 pm
solarcurt
(@solarcurt)
Posts: 19
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Here is a website that does the same thing, plus much more. No need to download or install anything:
http://www.gpsvisualizer.com/map_input?form=googleearth


 
Posted : February 20, 2012 8:48 pm
Newtonsapple
(@newtonsapple)
Posts: 451
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

> Here is a website that does the same thing, plus much more. No need to download or install anything:
>> http://www.gpsvisualizer.com/map_input?form=googleearthbr >
Lol sometimes I wonder why I try. Thank you for the link.


 
Posted : February 20, 2012 9:24 pm