Skip to main content

Questions tagged [geographics]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
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 ...
Rojo's user avatar
  • 42.8k
2 votes
0 answers
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 ...
Teg Louis's user avatar
  • 114
5 votes
1 answer
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 ...
Tomi's user avatar
  • 4,594
4 votes
0 answers
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 ...
Tomi's user avatar
  • 4,594
7 votes
1 answer
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: ...
Tomi's user avatar
  • 4,594
3 votes
1 answer
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. <...
Syed's user avatar
  • 56.1k
2 votes
0 answers
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"] ...
Math Gaudium's user avatar
5 votes
1 answer
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 ...
Teg Louis's user avatar
  • 114
5 votes
3 answers
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. ...
Emerson Villafuerte Jara's user avatar
4 votes
0 answers
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: ...
Szabolcs's user avatar
  • 236k
6 votes
1 answer
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 ...
Syed's user avatar
  • 56.1k
7 votes
1 answer
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 ...
Syed's user avatar
  • 56.1k
0 votes
0 answers
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 ...
jWey's user avatar
  • 73
8 votes
2 answers
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. ...
Navvye's user avatar
  • 171
0 votes
1 answer
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. ...
Erfan's user avatar
  • 155
0 votes
1 answer
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 ...
Stuart Poss's user avatar
  • 1,943
5 votes
1 answer
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 ...
Tomi's user avatar
  • 4,594
1 vote
1 answer
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. ...
Tomi's user avatar
  • 4,594
1 vote
0 answers
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 ...
GregH's user avatar
  • 1,919
2 votes
0 answers
112 views

Adjacency matrix from geographics

The following code shows the map of a number of cities in a country having a population between a specified minimum and maximum value. ...
Daniel Rosencat's user avatar
1 vote
2 answers
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?...
Ted Ersek's user avatar
  • 969
5 votes
1 answer
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 ...
Ted Ersek's user avatar
  • 969
1 vote
2 answers
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 ...
Emilio Pisanty's user avatar
3 votes
1 answer
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 ...
Syed's user avatar
  • 56.1k
3 votes
1 answer
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: ...
Jepessen's user avatar
  • 960
7 votes
1 answer
145 views

How to add labels to GeoGridlines?

I'm trying to make a graph that looks like this: This code gets close: ...
Mr. G's user avatar
  • 335
2 votes
0 answers
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[] ...
ydd's user avatar
  • 5,042
6 votes
0 answers
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 ...
Barry Carter's user avatar
4 votes
0 answers
274 views

Inverse Mercator projection from plane to sphere

I made a Mercator map of the Earth like this: ...
Gragarian's user avatar
3 votes
1 answer
105 views

How to combine multiple GeoGraphics with custom spacing

I have a GeoGraphics image with some countries drawn: ...
diomedesdata's user avatar
2 votes
1 answer
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 ...
diomedesdata's user avatar
2 votes
2 answers
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: ...
SAC's user avatar
  • 1,335
5 votes
2 answers
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 ...
Syed's user avatar
  • 56.1k
8 votes
2 answers
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 ...
Syed's user avatar
  • 56.1k
1 vote
1 answer
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 ...
Stephen Sheppard's user avatar
1 vote
0 answers
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 ...
Syed's user avatar
  • 56.1k
7 votes
1 answer
181 views

Using CityData[] vs. Entity for population

I am using v12.2.0-Win7-x64. CityData[Entity[ "City", {"Shanghai", "Shanghai", "China"}], "Population"] ...
Syed's user avatar
  • 56.1k
3 votes
1 answer
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 ...
Syed's user avatar
  • 56.1k
4 votes
2 answers
130 views

Callout labels are wrong in GeoListPlot

...
yode's user avatar
  • 27k
4 votes
2 answers
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. ...
Syed's user avatar
  • 56.1k
1 vote
1 answer
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 ...
atat's user avatar
  • 95
1 vote
1 answer
69 views

Unable to draw points on GeoGraphics

...
我心永恒's user avatar
  • 1,572
7 votes
1 answer
146 views

Working with VectorLabels in GeoGraphics

Consider this example of GeoGraphics: ...
user5601's user avatar
  • 3,780
4 votes
1 answer
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 ...
Jean-Pierre's user avatar
  • 5,222
1 vote
1 answer
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 ...
Syed's user avatar
  • 56.1k
6 votes
2 answers
213 views

Remove islands from geographic regions

I wish to get only the continental parts of countries when using GeoGraphics, for instance in ...
Daniel Castro's user avatar
3 votes
2 answers
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 ...
Daniel Castro's user avatar
2 votes
1 answer
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. ...
Daniel Castro's user avatar
4 votes
2 answers
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, ...
Anton Antonov's user avatar
27 votes
3 answers
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:...
Vitaliy Kaurov's user avatar

1
2 3 4 5 6