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

14
votes
1answer
272 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 ...
1
vote
1answer
45 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: ...
4
votes
0answers
47 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 ...
7
votes
1answer
96 views

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

I've moved to V.10.3 as suggested and proceed with Russian map (the aim is to geoplot regional distributions of some values). Notice most eastern Russian region - Chukotka. Chukotka, unlike other ...
12
votes
2answers
300 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?
3
votes
0answers
64 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 ...
10
votes
3answers
735 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
91 views

Add single contour line to relief map [duplicate]

I have generated a relief map according to a method shown in Mathematica documentation, viz: ...
8
votes
0answers
146 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 ...
6
votes
1answer
387 views

Geographics: Can I get a US Map silhouette without the Great Lakes?

I'd like to get a nice silhouette of the land area of the US lower 48 states using Mathematica's GeoGraphics method. I tried: ...
6
votes
1answer
54 views

How to get information from map using mouseover?

Assume I have the following zip code data: ...
1
vote
1answer
55 views

Combine ReliefPlot with other geographic shapes, like administrative boundaries

How can I combine a ReliefPlot with other geographic shapes? Since the ReliefPlot is just a plain array of values, it is not clear to me how to project it and combine it with other geographic shapes, ...
5
votes
1answer
109 views

Wolfram population density demonstration does not appear to work

I tried to do the Wolfram population density demonstration and it returned an error: ...
13
votes
4answers
223 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
1answer
344 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
77 views

Is there a hidden location-type property for TropicalStormData?

TropicalStormData gives you time-series data on tropical storms. In the property list there is not a location (geographic coordinates) property listed. There are ...
8
votes
1answer
117 views

RandomPoint in geographic region from Polygon[region_]?

How do you generate a RandomPoint in a geographic region? ...
3
votes
2answers
89 views

Color Polygons Using GeoListPlot works individually, but not together

I have following problem: and So far so good. But GeoListPlot[{test[[;; 2]]}, ImageSize -> 300] does nothing (produces a blank map). Similarly, the code ...
2
votes
1answer
167 views

“ReliefMap” and “ContourMap” unable to download error

This question may be closed as "too localized". I post in the event other users have had this error and resolved it. The problem: inability to use "ReliefMap" or "ContourMap" options for ...
3
votes
0answers
56 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 ...
12
votes
2answers
243 views

Extract bathymetry data from a map

Thanks everybody for edit and recommend. Here is a clearer version of my question. I have a map that shows bathymetry of a lake with legend showing depth relative to a range of color. The map ...
2
votes
1answer
136 views

How to overplot Graphics on GeoGraphics? [duplicate]

I have a parametric plot and a GeoGraphic of the same size and I want to overplot them. Show doesn't seem to like to use both at the same time though it will display either. How can I put regular ...
2
votes
0answers
128 views

Can't get map of Italy from Geographics [closed]

On Mathematica 10.1 Desktop version, I'm trying: GeoGraphics[Polygon[Entity["Country", "Italy"]]] but it doesn't get the Italy location and throws this error: ...
3
votes
1answer
125 views

Plotting country as a polygon

I am trying to reproduce an example from Geographics. GeoGraphics[Polygon[Italy]] It does not work. Using Ctrl+= this way: ...
17
votes
2answers
537 views

Can A Plot Be Overlayed With A Map?

Some brief, only slightly important background. I am doing a research project using the data from NASA's GRACE mission. I wrote a short Perl script to take two data files and find the change in ...
2
votes
2answers
105 views

Incompatibility of CountryData[] between v. 9.0 and 10.1

There seems to be an incompatibility between the representation in CountryData[] for versions 9.0 and 10.1. The documentation on ...
9
votes
0answers
142 views

Make the map of rivers and lakes of the country

As I understand,first of all I should to get the country's map and the river's list. To get country map is simple: ...
14
votes
2answers
426 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 ...
1
vote
2answers
107 views

How to find total distance covered when I have a list of GeoPositions?

So I have a list of GeoPositions and I need to find the distance covered in that order? I know I can find the distance from each city and then add them all up but I was wondering if there is any ...
6
votes
0answers
138 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. ...
6
votes
2answers
381 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. ...
4
votes
1answer
80 views

upper limit with `PlotStyle` in `GeoListPlot` in v10.1

Bug introduced in 10.0 and fixed in 10.2 Let's start with the code below: ...
3
votes
0answers
139 views

Problem drawing a GeoPath polygon with GeoGraphics

I want to draw some polygons bounded with various geographic coordinates. For example, here is the code to draw a triangle between New York, Cape Town and Beijing. ...
6
votes
0answers
239 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. ...
5
votes
2answers
197 views

How to make a world map with a coloured ocean and transparent land surface?

I'd like to make a world map with a blue coloured ocean and transparent land surface (to be used later as an overlay). With: ...
1
vote
2answers
163 views

Matrix of boundary distance between countries

I'm trying to generate a matrix of the boundary distances between all countries. First thing I tried was GeoDistance: ...
0
votes
0answers
75 views

GeoLabels/Tooltips in Geographic Plots from Dataset

I am looking to plot a list of list of regions, and attach some data to the GeoLabel. All the data is stored right now in a Dataset that contains entries of the form ...
2
votes
2answers
140 views

Coloring a map of GeoRegions

I know that I can plot multiple GeoGraphics results on the same map by using something like Show[Graphics@@p1, Graphics@@p2], but it doesn't really work (seems to ...
1
vote
0answers
46 views

Can I import (and repair) damaged GIS shape files?

Five GIS shape files are available online at http://www.utahcounty.gov/OnlineServices/maps/DataLayers.asp. Mathematica 10 imports 4 of the 5 files just fine (in the sense that, after download, ...
4
votes
1answer
93 views

Cost of Living comparison for many cities

I have an excel file with about 40 cities listed. I would like to compare the cost of living for each one. I have seen the sample "relocation calculator" given by the input: ...
2
votes
0answers
146 views
6
votes
2answers
244 views

How can I output the coordinates of a city in coordinates of the Mercator projection?

On Mathematica version 8, I would like to use CountryData and CityData to mark Paris on a polygon map of France in the Mercator ...
14
votes
1answer
292 views

Compability between Graphics coordinates and shifted projections in GeoGraphics

Bug introduced in 10.0.0 and persisting through 10.3.1 or later Edit: My work around is only nice for simple cases with points. More general should include proper polygons splitting on ...
2
votes
1answer
132 views

How do you plot polygons with GeoRegionValuePlot?

How do you plot polygons in GeoRegionValuePlots? I'd like to reproduce what the call (2) (below) does with something like the call to (4). As you can see using GeoDisk(s) (3) works but the call (4) ...
2
votes
1answer
295 views

Cluster entities by a combination of values

I can plot the population of zip codes in NY with something like ...
6
votes
2answers
224 views

Building bounded polygon around heatmap (or points)

I have a set of data for world marine piracy. I'd like to build polygons encircling areas of active piracy. So to start with I get piracy data and make a heatmap from it. ...
13
votes
2answers
314 views

Combine Stereographic “Entity” Plot of Arctic Sea with Contour Plot

In the announcement of Mathematica 10 there were some very cool features for every geo-related researcher. Like this one what i'm trying to do is to overlay an ContourPlot onto this beautiful arctic ...
2
votes
0answers
258 views

Compact Map of USA with Alaska and Hawaii shown under California

Is there a more efficient way to include Alaska and Hawaii on a compact US map than the combination of the three GeoGraphics with Insets shown below? ...
7
votes
1answer
207 views

Getting the coordinates of GeoDisk[] and similar Mathematica 10 GeoObjects

I'm a big fan of the new Mathematica 10 geographic capabilities and functions such as GeoDisk[], GeoCircle[] and others. One limitation of these functions, however, is the transformation of the actual ...
1
vote
1answer
86 views

Geomarker Scaling

Struggling to get a 3d cylinder to scale properly on a street map. I want to use the stacked cylinder as a custom pin. ...