Questions tagged [geographics]

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

Filter by
Sorted by
Tagged with
7 votes
1 answer
108 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
  • 39
0 votes
1 answer
72 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
  • 159
0 votes
0 answers
28 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,734
5 votes
1 answer
83 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,100
1 vote
1 answer
42 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,100
1 vote
0 answers
28 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,755
1 vote
0 answers
84 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. ...
Dan Cat's user avatar
  • 355
1 vote
2 answers
224 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
  • 594
5 votes
1 answer
210 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
  • 594
1 vote
2 answers
179 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
84 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
  • 38k
3 votes
1 answer
48 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
  • 940
0 votes
0 answers
28 views

Can GeoRegionValuePlot Tooltips work in the cloud?

Having some trouble getting Tooltip to work with GeoRegionValuePlot when published on the cloud. I've gotten Tooltip to work on CloudDeploy with other plotting methods. But when it comes to Geo plots ...
jmadden's user avatar
  • 43
7 votes
1 answer
114 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
0 votes
0 answers
32 views

Discretizing Geographics

I am in need of boundary regions for cities. A previous question shows that it is possible to discretize CountryData: ...
bobthechemist's user avatar
2 votes
0 answers
90 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
  • 2,654
6 votes
0 answers
96 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
210 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
79 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
47 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
1 answer
153 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
162 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
  • 38k
8 votes
2 answers
178 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
  • 38k
1 vote
1 answer
54 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
32 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
  • 38k
7 votes
1 answer
162 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
  • 38k
3 votes
1 answer
271 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
  • 38k
4 votes
2 answers
120 views

Callout labels are wrong in GeoListPlot

...
yode's user avatar
  • 26.1k
4 votes
2 answers
110 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
  • 38k
1 vote
1 answer
56 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
  • 85
1 vote
1 answer
61 views

Unable to draw points on GeoGraphics

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

Working with VectorLabels in GeoGraphics

Consider this example of GeoGraphics: ...
user5601's user avatar
  • 3,561
4 votes
1 answer
162 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,167
1 vote
1 answer
90 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
  • 38k
6 votes
2 answers
201 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
140 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
86 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
227 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
2 votes
0 answers
52 views

Compute the borders and overlap of two HistoricalCountry entities?

For CountryData, we can take the property "BorderingCountries", providing us with a notion of whether two countries border each other. But for two HistoricalCountry entities, where we only ...
Daniel Martin's user avatar
2 votes
0 answers
62 views

Crop or mask geographics

I am trying to crop a map drawn with GeoGraphics. The map consists of Line and Polygon ...
mikabozu's user avatar
  • 403
3 votes
1 answer
127 views

Extracting georeferenced GIS raster data as a function of coordinates

When importing geospatial raster files, the coordinates seem to be lost, if I am not mistaken. I am not sure how to get the values of raster based on the coordinates (in whatever projection the raster ...
MathX's user avatar
  • 1,584
4 votes
1 answer
91 views

What is the Wolfram Language Native Function to tranform lat /lon from WGS84 to x/y EPSG 3857?

Need to convert coordinates from lat/long to EPSG 3857 x/y Example, using online converters ...
Zviovich's user avatar
  • 9,258
6 votes
1 answer
249 views

Exporting text to KML file

My question is "how do you export text to KML?" Exporting Lines is straightforward. For example, the following grid was created by a function: ...
FredrikD's user avatar
  • 1,848
1 vote
1 answer
95 views

Getting GeoGraphis to Respect GeoRange

I am trying to create a baseline map for plotting some localities. The following code almost gets me there, but I can not figure out how to get Geographics to respect the GeoRange specified. Other ...
Stuart Poss's user avatar
  • 1,734
2 votes
0 answers
87 views

GeoGraphics issues URLFetch Error [closed]

With Mathematica 12.31 and 13 on Windows 10 when executing any command with GeoGraphics gives the error: URLFetch::invhttp: A library error occurred. The raw details are: "libcurl error (28): ...
Lou's user avatar
  • 3,812
-1 votes
2 answers
72 views

How to extract entities from TravelDirectionsData?

I am wondering how to extract entities such as states and cities from TravelDistanceData. For example, given the following example from the documentation, how could I extract the states the route goes ...
Peter Burbery's user avatar
9 votes
2 answers
446 views

How can I make this rectangle in GeoGraphics look like a rectangle?

I evaluated this. ...
Ted Ersek's user avatar
  • 6,954
3 votes
0 answers
97 views

Calculate the nth percentile height above sea level of a country or US State

Mathematica has access to geographic height data for different territories. This can be used to plot sea level rise maps. However I am interested in what percentage of the area of a country or state ...
worldsmithhelper's user avatar
3 votes
1 answer
124 views

How Color the PathGraph Showing Multiple Shortest Paths on the US Counties Map

Below is code for mapping the connectivity of US counties. It comes from the Mathematica reference on "Connectivity of US Counties". I've highlighted 3 shortest paths shown in red. However, ...
user42700's user avatar
  • 1,553

1
2 3 4 5