Invalid code

espen's Avatar

espen

16 Nov, 2011 07:07 PM

Hi!

After upgrading Tilemill to the newest version on OSX I get all kind of different problems. Mostly solved by making a new project an copying all the layers and styling over. However I still get invalid code on this snippet:

poi[highway='bus_stop'][zoom>13]{
  point-file: url(/Users/maria/Documents/MapBox/project/skikart2/icons/baal.png);
}

What am I doing wrong?

  1. Support Staff 2 Posted by Will White on 16 Nov, 2011 07:29 PM

    Will White's Avatar

    Hi Espen,
    What is poi in this example? If it's a layer ID, you must use a pound sign before it like #poi. There was a bug is previous TileMill versions that would have allowed this selector to work without the pound sign. There is a note about the change in the 0.6.0 changelog.

    Can you provide any specifics about the other issues you were having? The upgrade process is meant to be relatively painless!

    Will

  2. 3 Posted by espen on 16 Nov, 2011 07:50 PM

    espen's Avatar

    Thanks for pointing that out. I had become a bit lazy I suppose and haven't noticed that I was doing that. That seemed to solve my other problems also.

    I tried to export the Mapnik XML and it gave me no errors, but it also gave me no file. I also had problems moving around the GUI. Clicking on things didn't bring up menues and such.

  3. Support Staff 4 Posted by Will White on 16 Nov, 2011 08:03 PM

    Will White's Avatar

    Hi Espen,
    Glad that worked and thanks for the details about the other issues. Those issues sounds somewhat familiar to TileMill 0.6.0 and I believe they have been fixed in TileMill 0.6.2.

    Thanks,
    Will

  4. Will White closed this discussion on 16 Nov, 2011 08:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

24 May, 2013 05:23 PM
24 May, 2013 05:05 PM
24 May, 2013 10:19 AM
24 May, 2013 03:30 PM
19 May, 2013 04:39 AM

 

24 May, 2013 02:44 PM
24 May, 2013 02:12 PM
24 May, 2013 01:03 PM