Questions tagged [geographics]
Questions on the family of Geo* functions, e.g. GeoGraphics, GeoEntities etc.
245
questions
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.
...
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.
...
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 ...
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 ...
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.
...
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 ...
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.
...
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?...
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 ...
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 ...
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 ...
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:
...
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 ...
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:
...
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:
...
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[] ...
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 ...
4
votes
0
answers
210
views
Inverse Mercator projection from plane to sphere
I made a Mercator map of the Earth like this:
...
3
votes
1
answer
79
views
How to combine multiple GeoGraphics with custom spacing
I have a GeoGraphics image with some countries drawn:
...
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 ...
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:
...
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 ...
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 ...
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 ...
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 ...
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"]
...
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 ...
4
votes
2
answers
120
views
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.
...
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 ...
1
vote
1
answer
61
views
7
votes
1
answer
132
views
Working with VectorLabels in GeoGraphics
Consider this example of GeoGraphics:
...
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 ...
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 ...
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
...
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 ...
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.
...
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, ...
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:...
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 ...
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 ...
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 ...
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
...
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:
...
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 ...
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): ...
-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 ...
9
votes
2
answers
446
views
How can I make this rectangle in GeoGraphics look like a rectangle?
I evaluated this.
...
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 ...
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, ...