# Questions tagged [geographics]

Questions on the family of Geo* functions, e.g. GeoGraphics, GeoEntities etc.

256 questions
Filter by
Sorted by
Tagged with
88 views

### How to place an arrayplot/image on a GeoGraphics?

Take a random example data matrix data = Table[i, {i, 100}, {j, 200}] / 100; which we could plot as an ArrayPlot or ...
• 42.8k
66 views

### Regional Rank Choice Voting on Maps

So, I made an algorithm to do rank choice voting on regions. Based on where you are, votes for candidates are stored in specific position in each list that labels the region. If there is a tie, then ...
• 114
326 views

### GeoJSON Problems - UK Parliamentary Constituencies

I want to plot the new parliamentary boundaries for the upcoming general election. This will use an NIHR API to grab the map location of the FID=3, the 3rd parliamentary constituency in alphabetical ...
• 4,594
126 views

### TimeLine Plot of Every Historical Country/Empire - how to control y axis

I'm trying to see if Mathematica can make a similar timeline to this. Specifically, note that the y axis of the graphic is based on current countries. I'd like to make a Timelineplot where I can ...
• 4,594
149 views

### GeoProjection - Spilhaus Projection of 1942 or Adam Square II

How can I make a GeoProjection like this? The best I could get was: ...
• 4,594
70 views

### CountryData syntax

Which of the following syntax variations are correct? For the incorrect? syntax, what does the obtained value represent? Statements 2/3 and 4/5 are identical; I was trying to see if it was a bug. <...
• 56.1k
38 views

### GeoProjection used in area computation of relatively small regions

Let's define a relatively small region via GeoPosition as follows. pos = GeoPosition[{{48, 9}, {48.0001, 9}, {48.0001, 9.0001}, {48, 9.0001}}, "WGS84"] ...
• 487
270 views

### Making Adjacency Matrix from Maps

I want to make an adjacency matrix for the world/each country at a specified administrative level. This is very easy to do for countries in Mathematica, but is not straightforward for different ...
• 114
411 views

### Recreating map from Wolfram|Alpha with GeoGraphics

I have tried to create a map using GeoGraphics, and I have not been able to get one with the same quality as the result Wolfram|Alpha gave me. ...
74 views

### Interpreting the coordinates in a shapefile

I am trying to interpret the coordinates in the shapefile downloadable from here (Dataset 1). We can extract coordinates like so: ...
• 236k
313 views

### Calculating Point Nemo

I am referring to Point Nemo which is the point farthest from any emerged land mass. Some relevant information can be found on this page. I am not sure about -ve signs or whether it is the exact ...
• 56.1k
324 views

### Length of a continental perimeter

Excluding the islands, how can the length of the perimeter of a continent be calculated? To make the question more concrete, what is the length of perimeter of the African continent, excluding the ...
• 56.1k
25 views

### DynamicGeoGraphics rendering error when AspectRatio is given, and the output does not match ImageSize

Here's a minimal example. gm = GeoMarker[{{42.34, -71.08}, {42.35, -71.07}, {42.36, -71.06}}]; DynamicGeoGraphics[gm,AspectRatio->1] Since GeoGraphics does ...
• 73
199 views

### Getting Area from GeoGraphics

I want to find the area covered by the reservoir of a dam using a satellite image. This is what I have so far. ...
• 171
106 views

### How to take a satellite image in Mathematica at different times?

I want to see the satellite image of the same area at different times. But by entering the following code, also shows the same picture with changing times. ...
• 155
45 views

### Using Show with GeologicalPeriodData

In an effort to understand how to use GeologicalPeriodData and extending an example provided in the instructions, I created four GeoGraphics plots of bedrock of varying ages. Each sizes nicely, as ...
• 1,943
90 views

### Preserve Color In GeoBackground

When you use a ReliefPlot as a GeoBackground, it seems to change the underlying colour scheme. Is it possible to preserve the ...
• 4,594
1 vote
74 views

### Combining ReliefPlots with GeoGraphics/Converting ReliefPlots into GeoGraphics

I want to use .DEM files with GeoGraphics[]. For example, adding labels, or changing projections. In my attempt, I import the example data from Wolfram. ...
• 4,594
1 vote
30 views

### Superimpose a GeoGraphics Plot on Another [duplicate]

I'd like to superimpose a GeoGraphics image of Israel onto a GeoGraphics image of the United States in a manner that maintains ...
• 1,919
112 views

The following code shows the map of a number of cities in a country having a population between a specified minimum and maximum value. ...
1 vote
228 views

### Map water runoff flows near Ellicott City, Maryland

Ellicott City, Maryland was the site of a flash flood several years ago due to the local topography. How can we use the Wolfram Language to show the direction water flows at many points near that city?...
• 969
227 views

### Display the flood zone near Elicott City MD

Ellicott City, Maryland was the site of a serious flash flood several years ago, due to the local topography. How can we use the Wolfram Language to make a graphic that shows the area at risk of ...
• 969
1 vote
319 views

### How to get the centroid of a geographical region? (or: the center of mass of Croatia is in Bosnia and Herzegovina, but where exactly?) [duplicate]

How can I get Mathematica to calculate the centroid of an extended geographical region (say, a country) in a way which (i) fully respects the spherical nature of the Earth, and (ii) involves a minimal ...
• 10.3k
86 views

### Left and Right Handed Traffic

How can I generate a Geo plot similar to the Wiki page about left- and right-handed traffic. Question A direct way would be to make a list of countries that follow ...
• 56.1k
73 views

### Latitude and Longitude values in GeoGraphics Image [duplicate]

I want to plot the Sicily with a lat/lon grid and respective values. This is what I've done so far: ...
• 960
145 views

### How to add labels to GeoGridlines?

I'm trying to make a graph that looks like this: This code gets close: ...
• 335
110 views

### GeoNearest[] between current location and a list of GeoPositions[]: Documented example is not producing documented output

First off I am doing this for recreational purposes only, so it's not the end of the world if I cannot figure this out. I am trying to utilize the GeoNearest[] ...
• 5,042
108 views

### 3D region best way to create signed coastal distance?

As a test, I'm trying to create a signed coastal distance map of the world (assumed perfectly spherical), using the first 1800x900 image above, which I converted to the 2nd image above using ...
• 161
274 views

### Inverse Mercator projection from plane to sphere

I made a Mercator map of the Earth like this: ...
105 views

### How to combine multiple GeoGraphics with custom spacing

I have a GeoGraphics image with some countries drawn: ...
• 225
55 views

### How to style land and borders in GeoRegionValuePlot

I am trying to create a GeoRegionValuePlot-like graph with: Land coloured Red or Blue, depending on a numerical value. Thin black borders around the states. A white background, showing nothing but ...
• 225
200 views

### How to paint world map with some data?

I have a dataset which associate each country to respective number, from a list with few countries, as shown below: ...
• 1,335
170 views

### List of large cities in Pakistan

Bug introduced in 12.2.0 or earlier and persisting through 13.1.0 I am using v12.2.0-Win7-x64. I have been experimenting with Geo* command syntaxes and came across ...
• 56.1k
203 views

### Distance to the ocean

Given a GeoPosition, what is the recommended method to calculate its distance from the ocean? EDIT As an example, Atlanta is ...
• 56.1k
1 vote
57 views

### Mask failure message in GeoPosition?

I am trying to construct a variable in a dataset that calculates the distance from a point to a city/country listed in another variable. I hoped to use GeoPosition to get the approximate location of ...
1 vote
33 views

### Double BarLegend for Geo* plots

I am trying to create a GeoRegionValuePlot based interface and I have a few unresolved items. This post is mostly about the use of a double ...
• 56.1k
181 views

### Using CityData[] vs. Entity for population

I am using v12.2.0-Win7-x64. CityData[Entity[ "City", {"Shanghai", "Shanghai", "China"}], "Population"] ...
• 56.1k
313 views

### How many people live in cities near the equator?

In order to answer this question, first I define a region around the equator. eq = GeoBoundsRegion[{{-3, 3}, {-180, 180}}] GeoGraphics[eq] Next, I wanted to find ...
• 56.1k
130 views

...
• 27k
118 views

### GeoScaleBar on a GeoRegionValuePlot

Bug introduced in 12.2.0 and persisting through 13.1 I have selected the following minimal example from the documentation. I am running v12.2.0 Win7-x64. ...
• 56.1k
1 vote
61 views

### Show travel route of multiple destinations

Suppose I have a list of cities and I want to get a picture of how to get to every city in that list from a central location like St. Louis. It would loosely resemble bicycle spokes originating from ...
• 95
1 vote
69 views

...
• 1,572
146 views

### Working with VectorLabels in GeoGraphics

Consider this example of GeoGraphics: ...
• 3,780
260 views

### Accessing geometry in Shape files (SHP)

Shape files can readily be imported and converted to a Dataset. For large shape files, this may unnecessarily consume a large amount of memory, particularly when the dataset is only used to retrieve ...
• 5,222
1 vote
94 views

### Polygon for "Provence-Alpes-Cote-D'Azur, France"

While answering 168996 about "removing islands from geo regions", I made a few observations about the polygon associated with "Provence‐Alpes‐Cote‐d'Azur, France". The ideas was to ...
• 56.1k
213 views

### Remove islands from geographic regions

I wish to get only the continental parts of countries when using GeoGraphics, for instance in ...
141 views

### Solve for subset of parameters in ParametricPlot

I have a discretized region $\mathscr{R}$ and two functions $x(u,v)$ and $y(u,v)$. I wish to find (numerically of course) the values of $(u,v)$ such that  \begin{align} \left(x(u,v),y(u,v)\right)\in ...
93 views

### Define functions on Geographic regions

Let's plot a parametric function $(x_s(u,v), \:y_s(u,v))$ on some $uv$ domain as shown below with an annulus as example. ...
237 views

### Easiest way to obtain MeshRegion from CountryData

What is the easiest way to obtain MeshRegion objects from CountryData that I can use in geographic computations? For example, ...
• 37.9k
2k views

### Animating battlefield data map of war in Ukraine

UPDATE on FINAL RESULT Thanks to @SquareOne effort I generated higher-resolution videos with smoothing transitions that can be seen here: https://www.linkedin.com/feed/update/urn:li:activity:...
• 73.5k