Yeah, it will get complicated with polygon data for Country -> State -> 
Region -> Zipcode. I think the best place to start would be parsing a set 
Lat/Lon data (perhaps from GeoJSON, there are tons of examples onine), 
converting those lat/lon coordinates to 2D Cartesian coordinates within the 
canvas, then bounding and aligning the points on top of a bitmap/svg map 
such that it can be panned, zoomed etc. Then from there you could process 
sets of points to render polygonal data for choropleths, etc.

On Friday, June 20, 2014 6:06:00 PM UTC-4, Daniel Jones wrote:
>
>
> There's not support for maps yet. But if someone wanted to develop a 
> package for handling geographical data, I'd be keen to make it 
> plot-able. I've not worked with this sort of data before, but I'm 
> guessing the main things we'd need are map projections and a database of 
> borders of countries, provinces, states, etc. 
>
> On Fri, Jun 20, 2014, at 07:31 AM, Tim Holy wrote: 
> > Gadfly has a d3 backend. But others will have to comment about whether 
> it 
> > can 
> > handle the mapping part. 
> > 
> > --Tim 
> > 
> > On Friday, June 20, 2014 06:43:25 AM Mikayla Thompson wrote: 
> > > Hi everyone, 
> > > 
> > > I'm new to Julia and trying it out for some data analysis projects 
> with 
> > > twitter data. 
> > > 
> > > In particular, I'd like to plot tweets to a map, using a different 
> > > color/icon for various categories of tweet.  It'd also be useful to 
> color 
> > > various regions. 
> > > 
> > > Something similar to or wrapping d3.js would be perfect. I don't 
> *need* the 
> > > animation/interactive features, but they'd be useful if available. So 
> far, 
> > > I haven't been able to find any Julia packages that might work for 
> > > something like this. Am I just overlooking it, or is there no such 
> > > functionality at this point? 
> > > 
> > > I'm aware that there is the matplotlib route.  I haven't had much luck 
> in 
> > > python with mapping using matplotlib, so I'm eager for an alternative. 
> > > However, is that the most practical choice at this point? 
> > > 
> > > Thanks! 
> > > --Mikayla 
> > 
>

Reply via email to