News for hackers. Stuff that matters.
Re:Tilemill: Maps done right by jinushaun on Thursday September 01, 2011 @01:06PM (#2950800)
I've used TileMill pretty extensively, and while TileMill is great for generating static maps (PNGs) for infographics, it won't replace Google Maps any time soon for serving dynamic maps.

For example, you can serve a dynamic map of Washington DC on a website using TileStream and TileMap, but if you wanted to also view Fairfax, VA or Baltimore, MD, you're out of luck unless the tileset includes those tiles. With Google Maps, you always have access to all the tiles.

That's not to say that TileMill isn't a great product. The choice to use CSS is brilliant. Plus they're based in Washington DC, where I'm currently living! Nice to see tech outside of the Bay Area, NYC and Boston.

Re:Tilemill: Maps done right by tmcw on Thursday September 01, 2011 @01:13PM (#2950834)
You're right by definition - TileMill doesn't serve maps. Right now it generates them, and TileStream serves generated maps. It's extremely fast and stable, but inherently limiting.

That's not to say this won't change in the future :)

Re:Tilemill: Maps done right by jinushaun on Thursday September 01, 2011 @01:40PM (#2950976)
Thanks for releasing a "native" app for OSX! This makes it much easier to use TileMill. The previous installation method was not the most user friendly--this coming from a Node.js developer.
Re:Tilemill: Maps done right by incanus77 on Thursday September 01, 2011 @02:02PM (#2951080)
Glad you like the Mac app. We're definitely shooting for a first class OS X app experience. Feedback on ways to improve it further are welcome, too.
Re:Tilemill: Maps done right by apostlion on Thursday September 01, 2011 @05:43PM (#2951914)
Did you package it yourself or used some package/library?
Re:Tilemill: Maps done right by incanus77 on Thursday September 01, 2011 @08:10PM (#2952352)
We packaged it ourselves. It's open source, too. Check out https://github.com/mapbox/tilemill/tree/master/platforms/osx
Re:Tilemill: Maps done right by apostlion on Friday September 02, 2011 @12:28AM (#2952914)
Amazing, thanks!
Re:Tilemill: Maps done right by muyuu on Thursday September 01, 2011 @05:46PM (#2951921)
Is the server open sourced?
Re:Tilemill: Maps done right by tmcw on Thursday September 01, 2011 @05:50PM (#2951946)
Yep, https://github.com/mapbox/tilestream

There is a TileStream Hosting service that has integration with a CDN & DropBox, stats, etc. It uses the open version and just adds glue code to services.

Re:Tilemill: Maps done right by muyuu on Thursday September 01, 2011 @06:45PM (#2952119)
Cool. Definitely looking into this then!

Thank you.

Re:Tilemill: Maps done right by incanus77 on Thursday September 01, 2011 @02:03PM (#2951084)
One tradeoff here, though, is offline use. Ever try to use Google Maps offline on a mobile device? :-)
Re:Tilemill: Maps done right by mcherm on Thursday September 01, 2011 @02:45PM (#2951237)
Yes, I have and it worked great! You have to enable the labs feature called "Pre-Cache Map Area" and it's a bit annoying that it will only let you grab a few (10) chunks at a time, but I used it last month while traveling 100 miles from "civilization" and it worked great.
Re:Tilemill: Maps done right by domhofmann on Thursday September 01, 2011 @04:50PM (#2951700)
TileMill doesn't seem particularly well suited for that either. I did a rough calculation and it looks like getting a usable map of Washington D.C. would run several hundred gigabytes. I'm wondering if the only way to do something like this realistically on a mobile device is to move the rendering to the client.
Re:Tilemill: Maps done right by tmcw on Thursday September 01, 2011 @05:10PM (#2951781)
Maybe your definition of usable is a bit different than mine, but we've done two maps of DC:

http://tiles.mapbox.com/mapbox#!/map/dc-bright http://tiles.mapbox.com/mapbox#!/map/dc-nightvision

The first is 17MB, the second is 57MB. One could probably get to sidewalk-level without cracking 1GB here. Where did hundreds of gigabytes come from?

That said - we'd like to start doing rendering on-client, and it would be great - the question is how to slice and dice data so that the data itself isn't gigantic and rendering it isn't slow.

Re:Tilemill: Maps done right by domhofmann on Thursday September 01, 2011 @05:36PM (#2951879)
I probably made a mistake when estimating this. I exported 21 tiles to MBTiles at 429KB, and extrapolated based on the 5.7 billion tiles it would take to do D.C. at 13-16.

I'm still waiting for a larger job to complete, so I don't have a sense of the file size there.

Edit: Got it. The default export is the entire world. Whoops.

Re:Tilemill: Maps done right by incanus77 on Thursday September 01, 2011 @08:12PM (#2952360)
Though perhaps not optimized for an urban solution like DC, we have done work around tile de-duping and tile data compression to combat things like this.
Re:Tilemill: Maps done right by linhir on Thursday September 01, 2011 @04:33PM (#2951638)
I've been using TileMill recently and their focus is mainly web/html. The static maps (PNGs) are pretty, but there is also some frustrating aspects. For example, PNG/PDF exports don't include legends and they don't have plans to implement that feature presently.
Re:Tilemill: Maps done right by frewsxcv on Thursday September 01, 2011 @01:29PM (#2950915)
Carto (the CSS inspired syntax) kicks the crap out of SLD (the XML standard that makes absolutely no sense)
Re:Tilemill: Maps done right by philipn on Thursday September 01, 2011 @03:45PM (#2951460)
Yeah, SLD is no fun. Check out the CSS extension for geoserver -- it's a great replacement for SLD. http://docs.geoserver.org/2.0.x/en/user/community/css/index....