tag:blogger.com,1999:blog-6029629494508626591.post26669619652748229..comments2024-03-27T07:26:29.743+00:00Comments on Pedro's Tech Mumblings: Parsing UTFGrid data to polygonsPedro Sousahttp://www.blogger.com/profile/17058685497255714267noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6029629494508626591.post-26631982297826823322012-08-15T15:20:47.812+01:002012-08-15T15:20:47.812+01:00Hi Tom,
Thanks for the feedback. This was just a ...Hi Tom,<br /><br />Thanks for the feedback. This was just a fun experiment, and I know that converting the UTFGrid data to vectors wouldn't be the whole deal. My idea was to, having the vector part in client-side, be able to display something in the likes of GIS Cloud, or using the map providers API to draw the on-mouse-hover polygons, something like that. I didn't really think it through too much :D<br /><br />Anyway, congratulation on all the great products that you guys develop. Development Seed is certainly a reference for me.<br />Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-47902489322232647732012-08-15T14:14:50.255+01:002012-08-15T14:14:50.255+01:00Hi there,
You might be interested in the flood fi...Hi there,<br /><br />You might be interested in the flood fill algorithm: http://en.wikipedia.org/wiki/Flood_fill<br /><br />(one of the authors of utfgrid/wax/tilemill/mapbox stuff): Glower is clearly a suboptimal solution (a two-day project), but algorithmically, I was running off of the fact that Canvas is rather slow for non-sharp edges and very fast for sharp edges; also that any kind of polygon smoothing will have to be aware of full topology & smart about boundaries. So, glower is the 20% of the solution; the 80% is not just building vectors, but lots more.Anonymousnoreply@blogger.com