NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

1
2

I am a non technical user and want to convert OSM to KML, How do I do it.

asked 09 Feb '12, 08:47

parivartan's gravatar image

parivartan
46233
accept rate: 0%

edited 27 Oct '14, 00:37

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


After a quick search, the tool OSMLib seems to do that, but isn't appropriate for a "non technical user". So, I've remembered about an OpenLayers example, and I've used it for producing what you want:

http://osm.dumoulin63.net/osm2kml/

I hope that the produced results isn't wrong, and it will help you.

Edit: Ok, you can also find online interface for gpslabel like this one at gpsvisualizer.com

permanent link

answered 09 Feb '12, 10:48

NicolasDumoulin's gravatar image

NicolasDumoulin
3.3k42256
accept rate: 13%

edited 09 Feb '12, 11:04

Thanks a ton Nicolas, but unfortunately i am doing something really dumb. I was mapping the garbage Bins in my neighbourhood and wanted to share it as a KML with other non technical users, this thing did show some placemarks but thats not what is intended.

I want to show some icon (instead of the pin) and some information , I can upload a OSM file I exported from OSM. Is there a way to attach a osm file to this post, or can i email it

(09 Feb '12, 10:55) parivartan
1

If you create a kml with your points, you can use a custom icon in the kml file by specifying it in the style block:

<Style>
  <IconStyle>
    <Icon>
      <href>http://www.domain.com/images/mymarker.png</href>
    </Icon>
  </IconStyle>
</Style>
(09 Feb '12, 14:37) neuhausr

This doesn't seem to be working nowadays. I just pasted a simple osm way XML on it, and nothing seems to happen. Opening up JavaScript console gives the following error: TypeError: node is undefined.

(12 Oct '14, 23:44) Nighto
1

Is it something like this map that you want ? I mainly followed the instructions of [this blog](http://www.mappa-mercia.org/2014/09/creating-an-always-up-to-date-map.html] of Mappa Mercia

(13 Oct '14, 04:21) escada

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×68
×49
×35

question asked: 09 Feb '12, 08:47

question was seen: 19,627 times

last updated: 27 Oct '14, 00:37

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum