New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token s #2583

Closed
epayindia opened this Issue Mar 17, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@epayindia

epayindia commented Mar 17, 2017

Hello Im trying to generate mapnik style using carto with project.mml

Following is the error

carto project.mml > osm.xml
carto: Unexpected token s

Mapnik version is 3.1

carto version is 0.9.5

Please help point for a solution as this has been stuck for quite a while and we need to render planet data.

Regards

Bhushan

@SomeoneElseOSM

This comment has been minimized.

Show comment
Hide comment
@SomeoneElseOSM

SomeoneElseOSM Mar 17, 2017

Contributor

That's the problem that I hit when I logged #2576 (which when trying to fix I disappeared into a rabbit hole of other problems). I suspect you can either:

Contributor

SomeoneElseOSM commented Mar 17, 2017

That's the problem that I hit when I logged #2576 (which when trying to fix I disappeared into a rabbit hole of other problems). I suspect you can either:

@pnorman

This comment has been minimized.

Show comment
Hide comment
@pnorman

pnorman Mar 17, 2017

Collaborator

carto version is 0.9.5

The minimum carto version is 0.16.0, and you also need to specify the Mapnik API version (e.g. carto -a "3.0.0")

Collaborator

pnorman commented Mar 17, 2017

carto version is 0.9.5

The minimum carto version is 0.16.0, and you also need to specify the Mapnik API version (e.g. carto -a "3.0.0")

@pnorman pnorman closed this Mar 17, 2017

@tylkomat

This comment has been minimized.

Show comment
Hide comment
@tylkomat

tylkomat Apr 26, 2017

The solution is quite simple. Convert the content of the project.mml from YAML to JSON

The solution is quite simple. Convert the content of the project.mml from YAML to JSON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment