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

16
votes
1answer
457 views

CountryData and the areas of the world

If I add the water area and the land area of the world, I get the same number as if I asked for the total area of the world in the first place: ...
10
votes
2answers
1k views

Pixel perfect world map with no border lines

I'm trying to build a real world map in Minecraft and want a pixel-perfect raster image I can copy pixel for block. How can I modify ...
4
votes
1answer
61 views

How to increase the image resolution of a map?

I'd like to obtain higher-resolution geographic maps retrieved from Wolfram geo server, since the standard resolution seems poor. I tried to increase the "TileSize" parameter, like this: ...
5
votes
0answers
69 views

Geographic text recognition [closed]

I would like to process an image from this Wikipedia page to get the structured data out Like so <| "New York" -> 28, ... |> Not sure where to start.
2
votes
0answers
32 views

How to specify image quality for GeoStyling “GeoImage” in GeoGraphics?

I am creating plots (ContourPlot, SmoothDensityHistogram, etc.) that I then need to project onto geographic polygons. When this ...
2
votes
1answer
109 views

How to align GeoGraphics “GeoImage” with GeoPositions?

I have latitude and longitude locations that I need density (or contour) plot to overlay on a map. For example: ...
2
votes
1answer
91 views
17
votes
2answers
436 views

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

The United States is divided into 435 congressional districts. Some of their shapes can be really strange due to gerrymandering. I think that I can find very gerrymandered congressional districts if ...
3
votes
3answers
263 views

GeoGraphics examples not running correctly

I'm trying to work with the new GeoGraphics functionality in Mathematica 10, starting with the example given here. None of the code seems to run well for me, though. I try to run the first command: <...
3
votes
1answer
70 views

Help with GeoRegionValuePlot

I am trying to get a map with 4 colors, I have several regions with values from 0 to 3 and I want to color those regions with value 0 in white, with value 1 in yellow, with value 2 in orange and with ...
3
votes
1answer
78 views
2
votes
1answer
122 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 ...
3
votes
0answers
34 views
4
votes
1answer
55 views

Anomalous scaling in GeoRegionValuePlot when using non-default color scheme

I found this plot online, and thought "I bet I could do that with a one-liner using GeoRegionValuePlot". But then it turns out that you are much better off ...
13
votes
1answer
152 views

Rotate Geographic map

I want the map to be rotated by -45 Degree. I want to coast to be horizontal (perfect -45 degree). I already have: ...
26
votes
4answers
4k views
1
vote
0answers
27 views

Remove surface from graphic [duplicate]

How to remove surface from the following graphic? I need only Mesh, (black lines). ...
14
votes
2answers
134 views

Why does the GeoGraphics Frame show different Latitude than GeoPosition?

The map looks right, but the Latitude in the Frame looks wrong. Am I making a mistake or is this a bug?
4
votes
1answer
41 views
2
votes
1answer
81 views

Given Latitude, Longitude, and Elevation, how to illustrate a three-dimensional path?

I've extracted detailed path information from a .FIT file and would like to plot this in three dimensions. I assumed GeoPositionXYZ[] would be useful, and have translated the data into a list that ...
3
votes
0answers
38 views

GeoRegionValuePlot does not show Legends

I have a problem with GeoRegionValuePlot. These are the settings: ...
4
votes
3answers
238 views

Plots of United States states with non-standard labels

I have data that associates a state with some text (like the name of its biggest insurance company). The states are identified as Wolfram Language entities, e.g. Entity["AdministrativeDivision", {"...
9
votes
1answer
214 views

Odd Coloring with GeoRegionValuePlot

Bug introduced in 10.0 and persisting through 10.3 or later Bug behavior is version dependent When I'm plotting data with GeoRegionValuePlot, I'm getting some ...
1
vote
2answers
148 views

Make a list of large cities in Germany

I want to Make a list of large cities in Germany CityData[{Large, "Germany"}] but in Documentation Center answer is in short form How to get the answer ...
22
votes
3answers
1k views

How to make a 3D topographic globe?

I've made some attempt with this dataset of elevation. But I have some trouble with ListSurfacePlot3D, which can not show the globe correctly: And I've checked that the data is out of problem, ...
9
votes
1answer
150 views
3
votes
3answers
330 views

Median household income for each county in Maryland

I found that Wolfram|Alpha knows the median household income for every county in the US. I wanted to get a list of all counties in Maryland, and the median income in each county. The only way I could ...
16
votes
1answer
370 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 ...
5
votes
1answer
304 views

GeoGraphics - mapping the Moon

The link here shows a nice way to depict the map of the Moon in Mathematica. But is there a way, to center the Mollweide projection onto the far side of the Moon?
10
votes
5answers
747 views

Building graph based on the cities connection?

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

Creating a latitude longitude image

The GeoPosition of Eureka, California is: GeoPosition[{40.7933, -124.155}] Has anyone ever created an image of the world with ...
2
votes
1answer
264 views

Winkel Tripel and Robinson Projections?

How can I do WorldPlot with the WorldProjection -> Winkel Tripel or Robinson projections. Mathematica has Mollweide and several others defined, but not these popular projections adapted by National ...
10
votes
1answer
140 views

Why some GeoProjections show just half of Chukotka region (Russian map)

I've moved to V.10.4 and proceed with Russian map (the aim is to geoplot regional distributions of some values). Notice most eastern Russian region - Chukotka. Chukotka, unlike other entities, ...
3
votes
0answers
93 views

Georeferenced bitmaps

The command Export["filename.jpg", graphic] will export the graphic object graphic to the file ...
5
votes
1answer
40 views

How to control style of GeoScaleBar?

I'm plotting the GeoScaleBar over satellite image and wish it to be white but cannot find an option which controls its styling: ...
19
votes
1answer
355 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 ...
2
votes
0answers
89 views

Using SHP files to draw a density map [closed]

My SHP file of census block groups has polygons and associated employment data for each block group. Is there a simple way to draw an employment density map? I've played around with ...
6
votes
0answers
259 views

CountryData fails for some tags and properties

The problem has gone, presumably resolved by WRI. See kirma's comment. I'm using Mathematica 10.0.2 for Mac, and for the first time just tried CountryData. ...
15
votes
1answer
332 views

GeoGraphics : path within a country

I am using GeoGraphics to visualize electricity distribution networks in certain countries. I have susbtation location data, as well as network incidence matrices (...
14
votes
1answer
365 views

How do I remove roads from Mathematica maps?

I'm using GeoGraphics and Polygon[Interpreter["USState"]["Colorado"]] to create a map of Colorado and several bordering states. ...
1
vote
1answer
89 views

How can I add flags to countries shapes? [duplicate]

Recently, I wanted to create a map showing the flags of the countries. From the documentation, I found and used the following: ...
6
votes
0answers
92 views

How can I define geographic regions and new entities?

There are three functions (GeoListPlot, GeoGraphics and Entity) related to working with geographic regions but it is not clear from the documentation how to create new Entities or custom geographic ...
14
votes
1answer
464 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 ...
12
votes
2answers
343 views

Zooming using GeoGraphics

Suppose I do: GeoGraphics[Entity["City", {"Eureka", "California", "UnitedStates"}]] What do folks do at this point to zoom in to various parts of the image?
4
votes
0answers
76 views

Planning flights for a special route

I want to plan a world trip with Mathematica. So I already have the dataset with all the cities I want to visit and the tour (with the command FindShortestTour). So ...
8
votes
1answer
142 views

RandomPoint in geographic region from Polygon[region_]?

How do you generate a RandomPoint in a geographic region? ...
10
votes
3answers
747 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. ...
5
votes
1answer
101 views

Add single contour line to relief map [duplicate]

I have generated a relief map according to a method shown in Mathematica documentation, viz: ...
5
votes
3answers
427 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: ...
14
votes
4answers
267 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 ...