Questions tagged [geography]

Questions on the application of Mathematica to geography, including the use of the CountryData and CityData functions. Not to be confused with geodesy.

Filter by
Sorted by
Tagged with
1
vote
0answers
66 views

OceanData not deep enough or just too deep for me?

It's exciting to see Mathematica/Wolfram Alpha addressing the marine realm in Version 12.2. Evidently, I was unaware that such data existed since Version 12.0 introduced in 2019. However, I have two ...
3
votes
1answer
45 views

How to determine population from a list of arbitrary jurisdictions (cities, states, counties, et al.)?

I am an aspiring data scientist who's working on a passion project, namely to assign danger-level scores to police departments in the United States. One specific metric I'm developing results from ...
2
votes
0answers
58 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 ...
13
votes
3answers
2k 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
2answers
85 views

Get coordinates of the boundary of a continent

I'm trying to obtain the coordinates of the border of the continents. I need this information to be ordered such that when I do, for example, ListLinePlot[data] It ...
2
votes
0answers
26 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 ...
0
votes
0answers
32 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
1answer
91 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
1answer
86 views

3D Plot of mountain elevation on a map

I am trying to plot mountains' elevation on a map. Right now, I have a 2D image generated using the code as shown below. I hope to create a 3D plot, on which, at z=0 is the map, and at each coordinate ...
0
votes
1answer
45 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
1answer
26 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
1answer
50 views

States surrounding/adjacent to a given state

I want a function that gives a list of all states adjacent to a given state. How can I do this in Mathematica?
0
votes
2answers
106 views

How to compute a list of cities within a given radius of another city?

I have hitherto found a solution to this problem. Designate a city in the continental USA as cityCenter. Make a table with all large cities in the USA. I could ...
2
votes
1answer
70 views

Is there any way to speed up many instance of TravelDistance

The goal of this code is to identify and graph a "circle of cities" about a center city. ...
0
votes
1answer
53 views

How do I write a tooltip for this list of cities?

...
2
votes
1answer
150 views

How to draw line parallel to the coast on a world map?

The task is to draw a line parallel to the coast 150 nautical miles to the sea, highlighting the ocean between the coast and the line drawn. An expected result is an image (most aesthetically pleasing)...
3
votes
2answers
93 views

Using Geo commands, how do I get a list of cities that all meet the following criteria

I am looking to list with Geo commands all the cities such that Point is 333 miles from Houston Point is 755 miles from San Antonio Point is 460 miles from El Paso. How do I write up the code that ...
0
votes
0answers
27 views

Importing Esri ASCII raster format

Does anyone know whether Mathematica has a built-in function to import Esri ASCII raster format data as described at: http://resources.arcgis.com/en/help/main/10.2/index.html#/...
3
votes
1answer
56 views

EntityClass Downloading Speedup

Running this command. Trying to get all cities more than 1 million people in US. ...
4
votes
2answers
91 views

How to plot countries with accurate area?

Are there any projections that use the true size of countries, like this?
1
vote
0answers
38 views

Use Wolfram Cloud to Create Site Visitor Database

Question: Is there a way to use Wolfram Cloud to create a web API function that, when pinged, does the following: Gets the geographical location of the user (as an Wolfram entity, like ...
4
votes
1answer
106 views

Distance between two cities

I need help calculating the distance between 2 cities in Wolfram MAthematica. I would need to create two drop-down lists of European capitals. After selecting any two cities from the lists, I would ...
1
vote
0answers
64 views

Counting the number of continents

The definition of continent varies depending on: What is the minimum area that a landmass has to be to consider it to be a continent rather than an island? What is the resolution of the map you're ...
2
votes
0answers
93 views

How to smoothly zoom into GeoGraphics without label flicker?

I would like to animate zooming into maps in a smooth fashion while showing labels - but without them flickering or jumping: ...
0
votes
0answers
57 views

Simpler closed form for spherical coordinates of points on great circle?

Short version: how to simplify this expression given these conditions? Note that expr[[3]] is equal to 1, although Mathematica won't simplify it as such. ...
5
votes
0answers
145 views

How to get 3D building data in map functions?

Most modern mapping APIs have 3D model data for city buildings built-in. For example: Is there some way to get this functionality in the Geography related functions? I believe ...
4
votes
0answers
63 views

Cloud Deploy dynamic country selection from a map

This is a follow-up question based on the answer I got from Lukas Lang. The original question is here. How can I alter the code to deploy it on the cloud? Or in case this method is only for desktop: ...
9
votes
1answer
355 views

How to dynamically select a country on a map using the cursor

Let's say I have a map of Europe with a locator in manipulate Manipulate[ GeoGraphics["Europe", GeoBackground -> "CountryBorders"], {{p, {150, 150}}, Locator}] ...
4
votes
1answer
106 views

Blurry labels in GeoGraphics

I want to keep the same GeoZoomLevel, but increase the resolution of the labels. I'm struggling to control that: ...
2
votes
2answers
104 views

How to define NumberForm in LegendLabel?

To start: ...
1
vote
1answer
87 views

Question about BorderingCounties

I start with: escambiaFL = Interpreter["USCounty"]["Escambia county"] Answer: Escambia County, Florida, United States. Next; evaluate: ...
1
vote
1answer
106 views

How to build a structured data table

I'm going straight to the task; I start with the following list of Florida counties: ...
2
votes
1answer
90 views

Getting a list of cities that are located in more than one county (within a state; in this case Florida, USA)

To get the list of counties in the State of Florida, I first evaluate: EntityClass["AdministrativeDivision", "USCountiesFlorida"] which gives me a pill-shaped ...
3
votes
1answer
71 views

Finding the next total SolarEclipse over a given latitude and longitude?

What is a reasonable way to code the title question in Mathematica? Trying the following gave Polygons over GeoPositions over Lists of pairs, but just digging into these seemed inelegant. Besides, ...
9
votes
1answer
364 views

Antipodal Land Area Calculation

Mathematica 12 does antipodal graphics! See here for my treatment of antipodal New Zealand. Most of the Earth's above-sea-level land will have ocean at its antipode. Is there a way to calculate what ...
5
votes
1answer
90 views

How to speed up GeoWithinQ?

GeoWithinQ is a very useful function - is this point within this area? However, it is quite slow. It's not unheard of to have large numbers of points - for instance,...
3
votes
1answer
235 views

Loading data from a shapefile

After saving (with QGis) the part of the map I´m interested in for a local visualization, I have the .zip file where you can see 5 files. I load the map in Mathematica with ...
5
votes
1answer
152 views

Implementing GeoCallout?

Building off of a related question, I'm looking for a robust way of using Callouts for multiple locations in Geography. For example, I want to plot cities and their ...
4
votes
1answer
345 views

Extraneous elements in “Europe countries” list [closed]

I found that the list "Europe countries" encloses "Russia" and "Moldova". This is not correct! Any hint?
6
votes
1answer
300 views

Geography in 3D perspective

I would like to build a GeoGraphics map showing a z-elevated perspective (e.g. the view from a plane). Specifically, I'm looking to use multiple ...
7
votes
1answer
73 views

Custom alignment for GeoMarkers

I need to align a GeoMarker at the bottom left of the marker: ...
3
votes
2answers
247 views

Placing markers on geographic map

I need to mark some objects in accordance with their coordinates (for example, in the form of blue point). And I found out two ways to realise it: Option 1. If I have the necessary map (called "EKB"...
1
vote
0answers
138 views

GeoGraphics unable to download data for a given ranges from the Wolfram geo server [closed]

Lately I'm having problems evaluating GeoGraphics functions in Mathematica (version 11.3). For example, when I attempt to evaluate: ...
3
votes
1answer
88 views

Improving accuracy of $GeoLocation in wolfram cloud forms

The four commands Here CloudEvaluate[Here] CloudEvaluate[FindGeoLocation[]] CloudEvaluate[$GeoLocation] all give wildly different results. None of them are ...
4
votes
0answers
78 views

Importing and and manipulating large GEOJSON files based on geographic locations

I have large GeoJson data files that I would like to import (i.e. buildings in a city, see image below for data structure) and then "cut out" only the buildings that are within approx. 100 GeoDisks (...
9
votes
1answer
185 views

GeoListPlot exact addresses

In GeoListPlot the locations are supposed to be GeoPosition or Entity objects representing ...
2
votes
0answers
43 views

How would I obtain error information on a $Failed GeoElevationData?

The following code returns an error: GeoElevationData: with no description of the error. I think this error may be because I am asking for elevation data that is ...
3
votes
2answers
165 views

How to insert short version of county names into a Geo Region Value Plot map

I have the following counties in Florida : ...
2
votes
2answers
138 views

How to make a choropleth map with a regional shapefile & data? (no global worldmap or continental)

I have a regional map in a shapefile with datanames and similar, but I can´t use it with data and making a choropleth map. I can´t use the names of each region ...
10
votes
3answers
854 views

Coloring a map of India

Below is a map of India (img). and I can visualize it in the following way: ...

1
2 3 4 5