Giter VIP home page Giter VIP logo

Comments (5)

migurski avatar migurski commented on May 18, 2024

Sounds like a Mapnik version mismatch. I'm not sure I've ever seen a Parameters right inside of Map, maybe @springmeyer can shed some light on this?

from tilestache.

springmeyer avatar springmeyer commented on May 18, 2024

The <Parameters/> element (as a subelement of the <Map>) is new in Mapnik 2.1.x, and is basically a container to stash arbitrary key:value pairs (mapnik/mapnik#977). TileMill started leveraging this in 0.9.1. This means that stylesheets written by Mapnik 2.1.x that use this feature will break if loaded by older versions of Mapnik, which is the problem in this case. It is safe to remove them when you hit this - it is not ideal at all that this creates a breakage, so I will give thought to how/where to avoid this.

from tilestache.

migurski avatar migurski commented on May 18, 2024

Thanks Dane!

Can Tilemill be asked to output older versions of the Mapnik XML?

from tilestache.

springmeyer avatar springmeyer commented on May 18, 2024

No, TileMill cannot be ask to output older Mapnik XML. But the stable Mapnik 2.0.x series can be made to be kinder in situations like this, which I have just done. See mapnik/mapnik#1286.

I don't see any other fix other than recommending users of TileMill and TileStache together run either the upcoming Mapnik 2.0.2 or Mapnik 2.1.x.

from tilestache.

cspanring avatar cspanring commented on May 18, 2024

Fixed in recent (>= 2.2) Mapnik versions.

from tilestache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.