Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Allow linebreaks in table field in .mml file #336

Closed
matthijsmelissen opened this issue Mar 29, 2014 · 4 comments
Closed

Allow linebreaks in table field in .mml file #336

matthijsmelissen opened this issue Mar 29, 2014 · 4 comments

Comments

@matthijsmelissen
Copy link

The table field in the .mml file can contain complete SQL queries, which can become quite complex example. It would be nice if the .mml file could contain line breaks for the table field, and if these line breaks would correspond to the line breaks visible in the editor.

@springmeyer
Copy link

I agree, line break support would be nice. We've addressed this in the new version of TM2 which uses the yaml format for the mml file instead of json. So, no action is planned here in Carto. Closing, checkout https://github.com/mapbox/tm2 if you are interested.

@pnorman
Copy link
Contributor

pnorman commented Jul 22, 2014

Is .mml part of carto, or independent?

Keep in mind, many of us don't use tilemill at all for editing stylesheets.

@tmcw
Copy link
Contributor

tmcw commented Jul 22, 2014

Is .mml part of carto, or independent?

Carto has part of the job in parsing MML files, millstone deals with the rest, and TM2 has some other parts. If you'd like to build a lower-level abstraction or TileMill-free-cli-system using Carto, you're welcome to do so by using Carto as a dependency of your project or forking.

@pnorman
Copy link
Contributor

pnorman commented Jul 22, 2014

I'm having a hard time figuring out where .mml format changes fit in for issues so that we can resolve gravitystorm/openstreetmap-carto#711.

TM2 isn't the right place, since we're not using TM2, although eagerly awaiting a release. We're either using TM or purely carto.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants