tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.11k stars 527 forks source link

lat/lon column names? #819

Closed gundersen closed 12 years ago

gundersen commented 12 years ago

@springmeyer or @willwhite, is there a link to what the columns need to be called - for example not having lat/lon at all in a CSV gets me this error, which is just a little jaring cause it should be like "go add geo data to make this" and have a link or something. thoughts?

willwhite commented 12 years ago

Yes, error reporting needs work, but that's a application-wide. We won't be able to add TileMill level context to this error message just for CSV. Right now, we are just returning generic Mapnik errors back to the user. In the furture, we could look at adding more Tilemill-specific context for certain mapnik errors.

I added the CSV docs to the manual: https://github.com/mapbox/tilemill/commit/f0f129fd6e575d33b50d63a7588c00ce7adaca37

springmeyer commented 12 years ago

Ya. Will connect with will here to think about if this Mapnik error can be more helpful.

yhahn commented 12 years ago

This error seems totally reasonable to me : P

It sounds more like you just wanted to create this ticket which you did.