Skip to content
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

expose in UI all possible mapnik datasource options #994

Open
springmeyer opened this issue Dec 7, 2011 · 3 comments
Open

expose in UI all possible mapnik datasource options #994

springmeyer opened this issue Dec 7, 2011 · 3 comments
Assignees
Milestone

Comments

@springmeyer
Copy link
Member

We need a mapnik-reference-like json listing of all datasource options. I think it should start as a standalone json metadata file stored in TileMill - much later on we could look at moving it into mapnik-reference or into mapnik proper.

something like:

{
  'csv' : {
      'file': {
         required: true,
         doc: "the path to a csv file, required unless 'inline' option is used"
         ui: true
      },
      inline: {
        required: false,
        doc: "a raw string of data",
        ui: false
      }
      ....
  }
}
@ghost ghost assigned springmeyer Dec 7, 2011
@nvkelso
Copy link

nvkelso commented Dec 8, 2011

+1

@yhahn
Copy link
Contributor

yhahn commented Jul 3, 2012

Great idea

@springmeyer
Copy link
Member Author

starting work on this at mapnik/mapnik-reference#44 because in working with TileMill I'm constantly reminded of this deficiency, having this file will greatly help with mapnik unit tests and catching bugs, and perhaps with this in place @ansis could plan a sprint on a UI around it. Longer term I imagine that TileMill projects could share or inherit datasource settings perhaps as discussed at #1269 (to help with issues like gravitystorm/openstreetmap-carto#4), and this file could make that easier.

springmeyer referenced this issue in mapnik/mapnik-reference Jan 3, 2013
springmeyer referenced this issue in mapnik/mapnik-reference Jan 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants