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

1
vote
0answers
50 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 ...
5
votes
1answer
63 views

RandomPoint in geographic region from Polygon[region_]?

How do you generate a RandomPoint in a geographic region? ...
3
votes
2answers
67 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
132 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
55 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 ...
11
votes
2answers
200 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
70 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 ...
1
vote
0answers
54 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
79 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
441 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
94 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
102 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
375 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
98 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 ...
5
votes
0answers
109 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
271 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
72 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
94 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. ...
4
votes
1answer
165 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
175 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
91 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
52 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
110 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
41 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
85 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
101 views
6
votes
2answers
201 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
225 views

Compability between Graphics coordinates and shifted projections in GeoGraphics

Bug status V. 10.0.0 - V. 10.2 I'd expect GeoGraphics to handle positions of points since they are provided with ...
2
votes
1answer
107 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
266 views

Cluster entities by a combination of values

I can plot the population of zip codes in NY with something like ...
6
votes
2answers
192 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
288 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
189 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
167 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
78 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. ...
13
votes
3answers
1k views

Flying to Australia

I want to compare different flight routes to Australia and their lengths. So far I have written: ...
4
votes
1answer
143 views

What should I do if the geographical map provided by Mathematica doesn't show some rivulets?

I have a list of geographical coordinates(maybe the coordinates are not that accurate, but the problem is not that vital): ...
10
votes
2answers
150 views

How can access to curated data needed by GeoRegionValuePlot be speeded up?

Seems that GeoRegionValuePlot requests data from the internet multiple times to process its plot. As an example, let's graph smoking per capita worldwide. ...
4
votes
3answers
378 views

How to correctly project heat map onto map

I'm importing the NGA ASAM piracy database into Mathematica for analysis. ...
3
votes
1answer
297 views

Calculate geo location based on distance from other locations

Given a list of entities (or GeoPositions) and their distances from a particular location, how do I find that location's ...
12
votes
1answer
290 views

Geographic background containing both outlines and contours: how?

I would like to create a map which will show lakes and rivers together with elevation contours and contour labels. What is the simplest way to do this with ...
17
votes
3answers
932 views

How can I list all the 'countries 4000 km far from current location'?

A friend said to me on Facebook that she is 4000km away. So I want to try to guess where she is. How can I find which countries are a given distance from my current location?
0
votes
3answers
360 views

Visualizing data on a world map - flexible record format

I have a list of members of a team, and I want to create a visualization on a world map. I want to plot them on a map, to see some clustering. The fields are: ...
9
votes
1answer
785 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
665 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 ...
4
votes
2answers
381 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, ...
3
votes
1answer
312 views

How do I convert from NAD 83 State Plane Coordinates to Latitude and Longitude?

I am trying to convert NAD 83 State Plane New York Long Island coordinates to Latitude/longitude. Below is my code - what am I doing wrong? ...
2
votes
1answer
120 views

Distances of locations in the matrix form

I want to have the distances of the cities in the matrix form.How can I have it for example for the cities like followings that also includes the distance of the city from itself which is zero: ...
7
votes
1answer
328 views

Is it possible to construct a topological map of road network of Bangalore?

I saw this example wherein the CityData gives the map of a city. But this is available for a relatively small set of curated regions. Is it possible to extract ...
4
votes
1answer
570 views

How to create an interactive map of the 50 states showing certain data in tool tips boxes for health care policy development?

To create a means of displaying information about the distribution of primary care providers, the population density and the average yearly Medicare expenditure per enrollee for each state, I would ...