Group Abstract Group Abstract

Message Boards Message Boards

Generate Map from list of Name, Latitude, Longitude?

Posted 10 years ago

I'm really having fun playing with Mathematica's GeoListPlot however I'd like to see if there's a way to display a name next to the plot points.

I have a spreadsheet I can save as a CSV like the following:

Name, Lat, Long
Fred, 40, -80
Sally, 3, -40

I see that I can do the following:

GeoListPlot[{GeoPosition[{40, -80}]}, GeoLabels -> True]

But I can't get "Fred" up next to his location. Just display the points.

Once I figure out how to get the name displayed at the location, I'll try loading the who list in and do the GeoListPlot on the whole thing.

Any ideas? (THANKS!)

POSTED BY: Daren Eilert
7 Replies

Perhaps GeoDistance (or related functions) is what you need.

POSTED BY: Gianluca Gorni
POSTED BY: Gianluca Gorni
Posted 10 years ago

Totally sweet! I love the Geo functions!

Next objective would be to compute the A+B+C path totals for each path.

POSTED BY: Daren Eilert
Posted 10 years ago
POSTED BY: Daren Eilert
POSTED BY: Gianluca Gorni
Posted 10 years ago
Attachments:
POSTED BY: Daren Eilert

Can you edit your post and attach the .CSV file?

POSTED BY: Sam Carrettie
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard