I'm currently working on displaying twitter geo data (currently just long/lat -> cartesian without any analysis).
This is the world map (source: naturalearthdata): http://dl.dropbox.com/u/14747311/world.png
This is the rendered data: http://dl.dropbox.com/u/14747311/overlay.png. The mapping is done via mercator projection (with R = 1):
x = ((long + 180)/360)*x_dim
y = (y_dim/2) - ((arsinh(tan(lat))*(y_dim/2) (lat converted to radiant of course)
Now, the shape is apparent, but of course, the projections don't match. How can I fix that? (programming experience is plentiful, so it's more the theoretical side I'm concerned with).
Best Answer
Note: This is a summary of comments by @mkennedy and @whuber, so this question can be marked as answered.