Questions tagged [geographics]

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

Filter by
Sorted by
Tagged with
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, ...
user avatar
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:...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 393
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 ...
user avatar
  • 1,554
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 ...
user avatar
  • 9,128
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: ...
user avatar
  • 1,838
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 ...
user avatar
  • 1,496
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): ...
user avatar
  • 3,600
-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 ...
user avatar
9 votes
2 answers
436 views

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

I evaluated this. ...
user avatar
  • 6,630
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 ...
user avatar
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, ...
user avatar
  • 1,039
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 ...
user avatar
4 votes
1 answer
224 views

Project geomap onto band of sphere

A band surrounding a sphere could be plotted using the ParametricPlot3D function: ...
user avatar
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: ...
user avatar
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: ...
user avatar
  • 205
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 ...
user avatar
  • 4,157
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 ...
user avatar
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 ...
user avatar
  • 789
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 ...
user avatar
  • 609
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 ...
user avatar
  • 235
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. ...
user avatar
  • 1,406
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 ...
user avatar
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 ...
user avatar
  • 4,138
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, ...
user avatar
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. ...
user avatar
  • 547
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 ...
user avatar
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 ...
user avatar
  • 1,024
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 ...
user avatar
  • 343
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, ...
user avatar
  • 343
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 ...
user avatar
  • 4,391
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: ...
user avatar
  • 1,406
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 ...
user avatar
  • 1,168
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 ...
user avatar
  • 1,496
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: ...
user avatar
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 ...
user avatar
  • 1,114
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 "...
user avatar
  • 13.6k
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 ...
user avatar
  • 1,024
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 ...
user avatar
  • 11
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 ...
user avatar
  • 1,043
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 ...
user avatar
  • 345
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 ...
user avatar
  • 1,024
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: ...
user avatar
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 ...
user avatar
  • 205
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 ...
user avatar
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 ...
user avatar
  • 299
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 ...
user avatar
  • 2,503
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: ...
user avatar
  • 3,883
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 ...
user avatar
  • 609

1
2 3 4 5