Questions tagged [geographics]
Questions on the family of Geo* functions, e.g. GeoGraphics, GeoEntities etc.
208
questions
4
votes
2
answers
205
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, ...
25
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
46
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
45
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
59
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 ...
3
votes
1
answer
65
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
134
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
80
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
62
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
55
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
436
views
How can I make this rectangle in GeoGraphics look like a rectangle?
I evaluated this.
...
3
votes
0
answers
82
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
112
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, ...
4
votes
1
answer
145
views
Plot a Map of German Bundesländer with specified colors assigned to them
I would like to draw a map of the German states ("Bundesländer") with Mathematica 12.
I found examples how to outline countries. But I need the next smaller levels.
I have not found anything ...
4
votes
1
answer
224
views
Project geomap onto band of sphere
A band surrounding a sphere could be plotted using the ParametricPlot3D function:
...
2
votes
1
answer
87
views
Can a ListPointPlot3D be overlayed with map
I am trying to make a graph of earthquakes (position and depth) shown on map of the country. The map is drawn with Graphics3D option with the code:
...
8
votes
1
answer
131
views
Can I dash only the invisible edges of dodecahedron? [duplicate]
I'm new to Mathematica and trying to draw a dodecahedron. Here's my code and output:
...
1
vote
1
answer
60
views
Style does not work in GeoListPlot
a bug in v12.3 and v12.3.1
I'm trying to apply some styling to GeoPositions
...
0
votes
0
answers
61
views
Is a point inside a graphics group composed of multiple Polygons and FilledCurves, not all overlapping?
I have many thousands of points, and I want to check if they are inside a GraphicsGroup that is composed of many Polygons and FilledCurves, similar to GeoWithin but without having to make tedious ...
12
votes
4
answers
2k
views
How can we find the longitude that cuts all the land on Earth in half?
Mathematica has already a specific function, RegionCentroid, that can be utilized to calculate the geographic center of any region. As it has been discussed in here ...
3
votes
1
answer
72
views
Using Tooltip with GeoRegionValuePlot
I am using GeoRegionValuePlot to create color coded county maps of a given state. Color is determined from the value given with a rule. I would like that same value specified in the rule to be ...
12
votes
2
answers
874
views
What fraction of a mountain parcel has slopes over 15%?
Update: The original error was not from the elevation data, but from the use of "Degree". See below.
An agency interested in purchasing heavily sloped land has decided to use a criterion ...
2
votes
0
answers
47
views
Unable to hide triangulation lines in GeoGraphics
The following code produces a night region that shows triangulation. I thought that EdgeForm[None] would hide it, but it does not.
...
1
vote
0
answers
72
views
Plot lat/long pairs on a US state map
I have a list of lat/long coordinates. I'd like to plot them on a US state (say New York). These coordinates include locations outside New York, but I'd like to get a map of just New York with these ...
14
votes
1
answer
1k
views
Are Mathematica's maps copyright-free?
Are the maps available in Mathematica copyright-free? For instance, if I generate the image
...
0
votes
1
answer
42
views
How to prevent small locations from being plotted as points when using GeoListPlot?
When a location is too small, GeoListPlot marks that location using a point on the map. For example,
...
1
vote
0
answers
44
views
Can Google Earth images be imported?
I've searched for code and found nothing. Is this a server handshake problem?
Below, GeoGraphics executes properly on wikimapia.org, but WebImage doesn't open earth.google.com to a coordinate.
...
0
votes
1
answer
50
views
Changing style of lines in GeoGraphics
I have a list of coordinates and want to draw lines on a map between these coordinates. These lines may either be paths (GeoPath) or just straight lines (Line). The problem I am facing is that I want ...
3
votes
1
answer
104
views
Manipulating GeoPlots Effectively
I've built a small interface for project because it's been a bit disorienting for me and others to quickly change the range on the plots. Eventually we'll tie different features of the data to colors ...
7
votes
2
answers
527
views
Trying to Rotate the North Pole View of a Globe
My goal is to generate diagrams like this.
But I would like to be able to rotate the globe about the North Pole, so that I can represent different times of the day.
When I use ImageRotate, the ...
3
votes
1
answer
64
views
I'm struggling with the new syntax and with GeoGraphics
I've used Mathematica since the mid-90's, but I'm a beginner with some of the new syntax.
The thing I'm trying to do is not only have a polar map of the Northern Hemisphere,
...
4
votes
1
answer
75
views
mapping a digraph across sectors of countries
Given a (9,9) matrix representing three countries (for example, the US, China, Russia), each one of which has three sectors (vertices/sectors {1, 2, 3) for the US; {4, 5, 6} for China; and {7,8,9} for ...
6
votes
1
answer
289
views
GeoGraphics Day/Night way off
I've been struggling to figure out the correct GeoGraphics options to get the desired results. Here's what I have so far and the results that I'm getting:
...
5
votes
3
answers
250
views
Text rotation in GeoGraphics
I have a problem rotating some text in GeoGraphics. Whenever I rotate the text I am also getting a shift in the latitude.
OS: Linux x86 (64-bit)
FullVersionNumber: 12.1.1
As a minimum working ...
3
votes
2
answers
145
views
Creating Maps from Shape Files for "Mixed" Labeled Data
Following suggestions from an extremely useful and informative solution to a
previous question regarding shape files (Extracting a single layer from a SHP file)
by ssch, I have been able to create two ...
2
votes
0
answers
47
views
Geographical Representation of TimeZones
I'm trying to show a geographical representation of a TimeZone on a map.
On the Mathematica website, it says I can use Polygon[] and it will automatically color in that TimeZone region on a map:
...
2
votes
0
answers
67
views
Where can you get by walking half a mile?
I recently saw that Mathematica 10 introduced really nice tools for geography. I would like to use GeoGraphics to visualize all possible paths with a length of half ...
14
votes
3
answers
4k
views
Oak Island, extending the "Alignment", possible Great Circle?
During these days of COVID, I indulged in the guilty pleasure of watching The Curse of Oak Island - Season 8, Episode 4 Alignment, which viewed last night (1 Dec 2020).
During the episode, some "...
0
votes
2
answers
82
views
How to understand this behaviour of GeoRange and GeoGraphics [duplicate]
I've preprocessed ~100,000 points in the Vancouver area and am starting to analyze and segment them in different ways. I wanted to start off with a nice finely controllable bounded region since others ...
1
vote
2
answers
79
views
Having trouble getting map data for the Maldive Islands
I change the island and GeoRange from the example, but it shows the error, can anyone help me with that?
Follow link as the original example(The first and second pictures) :
https://risu.io/SOmU
...
2
votes
0
answers
30
views
Difficulty with getting local GeoPosition correctly
I am using the wolfram cloud on a Chromebook and when I type the function Here it returns a faulty ...
2
votes
2
answers
46
views
Metro Area - Geographics
I have given the following list of European cities and I would like to have the area (surface or metropolitan, I do not care much). For example, the surface area of Paris is 105.4 km². Is there a way ...
0
votes
0
answers
40
views
Shifting GeoRange depending on Projection Problem
It's been rather smooth progress lately using GeoGraphics as I attempt to render different polygons over the greater metropolitan Vancouver area. I found this ...
4
votes
1
answer
102
views
Heatmap, visualizing on negative/positive values with Cartography
I want to create a heatmap in relation with a CityMap.
A example of my dataset is:
...
2
votes
1
answer
145
views
Create concentric circles with numbers inside
Hello there if you can give me a hand
I want to create and export to pdf the following figure, which if you realize forms the multiplication table. The idea is to be able to control the central number ...
0
votes
1
answer
50
views
GeoGraph based on (x,y)-coordinates
To create a Geograph we use a longitude and latitude to visualize the exact positions. I work with a database without the lon/lat. Instead of that, my database has a X and Y coordinate. I know, there ...
1
vote
1
answer
33
views
GeoRegionValuePlot Leaving Out Metropolitan Census Tracts
Preamble
Run this code in the preamble for a working example of what I'm dealing with.
Census Tract Entity Store
...
3
votes
2
answers
80
views
Index of item inside StructuredArray
How do I extract position of item in StructuredArray without converting using Normal?
The following code finds the position of ...
3
votes
1
answer
71
views
Questions on GeoGraphics
I am trying to use GeoGraphics for some land navigation. In the spirit of showing my work, here is what I've done so far:
...
2
votes
1
answer
86
views
How to use PlotRange with GeoGraphics [closed]
I am using PlotRange to clip a GeoGraphics plot so that I can center an area of interest. However, I do this via trial-and-error because I have no idea how PlotRange coordinates specified as ...