Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following KML file contains paths with style and name tags: example.

          <Style id="style-Pedestrian">
          <Placemark id="">
              <coordinates>8.5950278,46.6329618,1 8.5951371,46.6329856,1 8.595266,46.6327811,1 8.5951712,46.6327501,1 8.5950278,46.6329618,1</coordinates>

I tried to refer to the styles, but the TileMill does not recognize it. After I import the files and apply the style using "Carto styling language" the path just disappears.


#imported_id {
  [Name="Pedestrian"] {

#imported_id {
  [Name="style-Pedestrian"] {

#imported_id  #style-Pedestrian {   


Why I can't refer to the styles inside the TileMill? Is it possible or I am doing something wrong?

share|improve this question

Please check out which explains KML support in TileMill. I hope it will help.

KML is a standard geospatial data format that was popularized by Google with the Google Earth and Google Maps products. TileMill has limited support of KML – embedded styles will be ignored, and other features such as images, flythroughs, and 3D models are not supported. There is also no support for the compressed KMZ format at this time: to use a KMZ file, simply uncompress it as a zip file, and then use the resulting KML file.

share|improve this answer
thanks for your answer, but according to this it works somehow…. I've read the documentation a few times :). – flatronka Oct 8 '13 at 10:33
@flatronka Can you pass on the KML you loaded in Tilemill to style so i can give it a try on my system and come up with some solution? – Farhat Abbas Oct 8 '13 at 11:05
thank you for your time, here is – flatronka Oct 8 '13 at 11:20
I will check and will get back to you ASAP :) – Farhat Abbas Oct 8 '13 at 18:45
thanks for your help. – flatronka Oct 8 '13 at 19:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.