Questions on the application of Mathematica to geography, including the use of the CountryData and CityData functions. Not to be confused with geodesy.

learn more… | top users | synonyms

26
votes
4answers
4k views

Composition: how to make a day and night world map?

Given the following world images: ...
17
votes
4answers
2k views

show density plot on US map

I have a bunch of data points in the form of {latitude, longitude}. How can I plot their density on a US map? Single points on the map do not clearly show their ...
16
votes
1answer
367 views

GeoGraphics: problem with GeoPosition in shifted projections

Bug introduced in 10.0.0 and persisting through 10.4.1 A remark about the answer: My work around is only nice for simple cases with points. More general should include proper polygons splitting on ...
41
votes
1answer
2k views

Google Map in Notebooks?

Using Mark McClure's GPXToGoogleMap results in a HTML and Javascript code which can be viewed by any browser. Is it possible to load this map into the notebook, which obviously means for example that ...
19
votes
1answer
323 views

How to use WikiMapia as GeoServer?

I wish to use the Wikimapia map as background in GeoGraphics. According to the Wikimapia Docs, Wikimapia's URL is encoded as follows: An example Wikimapia URL ...
6
votes
2answers
428 views

How do I plot my country map with weather data stations?

I've tried this code, but I can't plot the coordinates in my country map. ...
14
votes
4answers
261 views

Administrative Divisions bordering a geographic region (e.g. an ocean)

Update 3 I've worked out a solution that is bearable for a small number of subregions in the neighbour and added it as an answer. I'm going to make a post for optimisation help. Update 2 For a ...
14
votes
2answers
474 views

How to ContourPlot a function of the coordinates on the Earth's surface on a map projection

There are two similar questions (this and this), but one is too specific and the other is apparently not clear and has no answers. I'll try to make the question more complete. Suppose you have a ...
10
votes
5answers
739 views

Building graph based on the cities connection?

I built a Graph based on the permutations of city's connections from : ...
9
votes
1answer
1k views

How to combine more locations (GPS coordinates inside one city) with Google map?

I have a list of GPS coordinates.E.g. GPSList = {{47.680800, 17.626446}, {47.681078, 17.627283}, {47.682759, 17.631810}}; I would like to crate a Google Map ...
13
votes
1answer
954 views

Map of Specific US States? (Isolated)

My question here is fairly basic, and I'm sure I'm overlooking something basic. I know about CountryData for creating shapes of entire countries, and it works, to ...
8
votes
3answers
1k views

plotting a {{Latitude,Longitude}} list on top of a GIS shapefile

I have a dataset composed of points specified in {Latitude,Longitude} format. Call it latlong for the purposes of this question. It displays properly with ...
18
votes
3answers
1k views

Highlighting individual countries on a world map

Consider the following list of countries which I would like to highlight on a world map: ...
10
votes
3answers
744 views

Automatically adjust Russia on the map (Mathematica 10.0)

Bug introduced in 10.0.0 and fixed in 10.1 I'm using Mathematica 10.0 on Windows 10. If I take a map of any country (even continent), it automatically adjusts the size of the map. ...
6
votes
0answers
156 views

Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
5
votes
3answers
422 views

Drawing CountryData groups

I'm sure I'm overlooking something obvious, but I can't draw groups of countries. Here are two countries and two country groups: ...
3
votes
0answers
59 views

Exported CDF file does not include GeoGraphics [duplicate]

I'm trying to display a map on manipulate and the case is .nb files shows it but when I export it to .cdf this format not show the GeoGraphics map ...
2
votes
1answer
118 views

Cannot combine GeoPosition polygons in version 10.4

I was using with Mathematica 10 for plotting different kinds of maps the function PolygonCombine. It seems that this fucntion has disappeared with the version 10.4? Here is a classical example for the ...
13
votes
1answer
453 views

How does Mathematica know my location?

On the AstronomicalData page in the online reference, it says for AstronomicalData["Sun", "NextRiseTime"] that it finds the ...
8
votes
1answer
139 views

RandomPoint in geographic region from Polygon[region_]?

How do you generate a RandomPoint in a geographic region? ...
4
votes
2answers
394 views

How to get a country's official languages?

According to Wikipedia Of the 193 widely recognized countries, 178 have an official language at the national level (NB:or more than one) The only exceptions are: Cyprus, Czech Republic, ...