Skip to main content
31 votes
Accepted

How to plot data by counties?

Updated text I made a tutorial out of this answer and posted it on Wolfram Community. It's slightly different, and may be worth to check out. Data from Wolfram Knowledgebase The most ...
C. E.'s user avatar
  • 70.8k
25 votes
Accepted

Are Mathematica's maps copyright-free?

No, they are not copyright-free, but the data they are based on is openly licensed. The map data mainly comes from OpenStreetMaps (which is licensed under the Open Database License, similar to ...
Carl Lange's user avatar
  • 13.1k
22 votes
Accepted

How to make a 3D topographic globe?

This answer is intended to demonstrate a neat method I'd recently learned for constructing interpolating functions over the sphere. A persistent problem dogging a lot of interpolation methods on the ...
J. M.'s missing motivation's user avatar
21 votes

Cluster graph of bordered countries?

France and Germany ...
Greg Hurst's user avatar
  • 36.4k
21 votes
Accepted

Sea Level Rise - How to mask on relief plot

I'm not completely sure of what you need, but you might try this (where you can change the color schemes as you prefer): ...
Fraccalo's user avatar
  • 6,087
18 votes

Geolocate multiple IP addresses

It seems to be possible to get this data directly in Mathematica using entities. Here's an example: Let's get a list of IP addresses to work with: ...
Szabolcs's user avatar
  • 236k
16 votes
Accepted

Why does the GeoGraphics Frame show different Latitude than GeoPosition?

This is not a bug. When dealing with a map there are two different coordinate systems you need to handle, related by the cartographic projection you are using. First you have the ...
jose's user avatar
  • 6,393
14 votes
Accepted

How can I show the relative size of two GeoGraphics objects?

Due to the non-sphericity of the Earth, there is no exact way of rotating a polygon, but the following is a good approximation. Suppose we want to rotate the UK polygon so that London is moved to ...
jose's user avatar
  • 6,393
13 votes
Accepted

How to obtain the distance (in Km/Miles and in minutes) by road ?. for example using googlemaps

You can use TravelDistance and related functions to find the distance by road. Example: ...
Szabolcs's user avatar
  • 236k
13 votes
Accepted

Geography in 3D perspective

You could use an orthographic with a custom centering: ...
Greg Hurst's user avatar
  • 36.4k
13 votes
Accepted

How to speed up GeoWithinQ?

You can use RegionMember and the region functionality to make this a lot faster, at the expense of a smaller functionality, and potentially missing out some details ...
Carl Lange's user avatar
  • 13.1k
12 votes

How do I plot coordinates (latitude and longitude pairs) on a geographic map?

Just in case anyone comes across this post in a search, here is a one-liner here for version 10 and after. If latlong is the list from the OP, then you can do this ...
Jason B.'s user avatar
  • 69k
12 votes
Accepted

GeoGraphics Manipulation

The scheme of the Relief plot can be set using the ColorFunction option. The country border can be shown using ...
xslittlegrass's user avatar
12 votes
Accepted

How can I use Mathematica to sort the US Congressional Districts by Perimeter÷Area

The US congressional districts are available as geographic entities in the form Entity["USCongressionalDistrict", "Illinois:District7"] As such, in principle you ...
Emilio Pisanty's user avatar
12 votes
Accepted

Geolocate multiple IP addresses

Batch mode API call, for best performance From the documentation at http://ip-api.com/docs/api:batch "Batch JSON", a batch processing with the ability to query multiple IP addresses in one HTTP ...
rhermans's user avatar
  • 36.8k
12 votes
Accepted

Antipodal Land Area Calculation

Yes, this is possible with a little faff. What we want to do is get the RegionUnion of all the countries the antipode intersects with, and then intersect the ...
Carl Lange's user avatar
  • 13.1k
12 votes
Accepted

How to dynamically select a country on a map using the cursor

Here is an approach using DynamicModule, together with EventHandler wrappers around the individual ...
Lukas Lang's user avatar
  • 34.2k
12 votes

Oak Island, extending the "Alignment", possible Great Circle?

Well, this was a healthy waste of my time! Sometimes, Mathematica lets you play at being in National Treasure. So, let's start out with seeing if the path really goes through the gardens so nicely. <...
Carl Lange's user avatar
  • 13.1k
12 votes

Oak Island, extending the "Alignment", possible Great Circle?

There's a problem with using GeoPath[{domeOfTheRock, versaillesCross, oakIsland},"Geodesic"]} to verify if a path from the Dome of the Rock to the ...
creidhne's user avatar
  • 5,235
12 votes

How can we find the longitude that cuts all the land on Earth in half?

Edit: Thanks to @polfosol for pointing out that using "Country" in GeoIdentify ignores Antarctica. That issue can be fixed by using ...
JimB's user avatar
  • 41.9k
11 votes
Accepted

Pixel perfect world map with no border lines

With GeoGraphics: ...
István Zachar's user avatar
11 votes

Why does the GeoGraphics Frame show different Latitude than GeoPosition?

To long for a comment: It seems that Geo-FrameTicks are not handled well unless we use "Equirectangular" ...
Kuba's user avatar
  • 137k
11 votes
Accepted

GeoGraphics high resolution hybrid satellite-map

Using GeoServer in Mathematica 11 you can download a hybrid map from Google: ...
Sjoerd C. de Vries's user avatar
11 votes

How do I get GeoLabels to show up on map

I confirm the problem occurs with V11.0.1 running OS X. It looks a bug to me. Here is a work-around. ...
m_goldberg's user avatar
  • 108k
11 votes

Inserting county names on a map

Update: The use of Geomarker to insert (text) labels is probably not correct as the documentation indicates that the marker type should be a ...
SquareOne's user avatar
  • 7,585
11 votes

Geolocate multiple IP addresses

Do not apply this method to long lists, where Batch mode would be more efficient and less abusive to the API provider. See this other answer. 3 API Integrated solution (One API call per IP) ...
rhermans's user avatar
  • 36.8k
11 votes
Accepted

GeoListPlot exact addresses

"address to lat/long" is usually called Geocoding, in case that helps with your research. Some options for a Geocoding API include OpenStreetMaps' Nominatim, Google Maps' API, and many others. Beware ...
Carl Lange's user avatar
  • 13.1k
11 votes

Extraneous elements in "Europe countries" list

You may be looking for EntityClass["Country", "EuropeanUnion"] instead. Otherwise, if you really want to not include Russia and Moldova: ...
Carl Lange's user avatar
  • 13.1k
11 votes

Distance between two cities

...
Bob Hanlon's user avatar
  • 160k
10 votes
Accepted

GeoGraphics - mapping the Moon

I think you are looking for the GeoCenter option to GeoGraphics. ...
MarcoB's user avatar
  • 67.4k

Only top scored, non community-wiki answers of a minimum length are eligible