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

Use mapnik/other? to inspect non-geodata #820

Closed gundersen closed 12 years ago

gundersen commented 12 years ago

So I had a spreadsheet. I added a "Latitude" and "Longitude" column header. I loaded the CSV into TileMill and only saw this on data preview:

The reason I was not seeing anything I did not enter in lat/longs yet :p. When I do I see:

Would love to see the data even if I didn't have lat/lon fwiw.

springmeyer commented 12 years ago

K. So you would like to see all rows even if they do not have Lon or lat values? That is reasonable but not possible ATM because we can only pull feature from Mapnik right now by bbox. I'll have to think more about this but not a quick fix.

gundersen commented 12 years ago

cool, I just wanted to float this, I am not sure it is needed needed, interested to hear what other folks think.

springmeyer commented 12 years ago

I think it is useful and even if not needed should be able to to supported, just that we would need to add an api in mapnik to pull featuresets from mapnik datasources without a bbox query. There is an upstream issue for this already at https://github.com/mapnik/mapnik/issues/816

springmeyer commented 12 years ago

Update: I still see value in being able to query data in mapnik without having to supply a bbox (upstream issue that existed before this issue), but I'm not seeing that actual thing this issue requires being very doable: that is the ability of mapnik to parse and store data that does not have a geometry. I started work on it in https://github.com/mapnik/mapnik/tree/attribute-query but It just feels outside the scope of mapnik to properly handle truly non-spatial data (as I was thinking that each datasource would have to support this).

yhahn commented 12 years ago

https://github.com/mapbox/tilemill/issues/1083