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.

9
votes
1answer
282 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 ...
0
votes
0answers
24 views

How to show the name and data in a customized map?, with GeoRegionValuePlot

How to show the name of each division and data/values (even customizing the TextStyle for adapt to different sizes) ?. Show all the data, not only when the mouse is over on a region. Or how to add ...
5
votes
1answer
45 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,...
2
votes
1answer
49 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
101 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
299 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
221 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
53 views

Custom alignment for GeoMarkers

I need to align a GeoMarker at the bottom left of the marker: ...
3
votes
2answers
160 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
55 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
41 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
49 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
102 views

GeoListPlot exact addresses

In GeoListPlot the locations are supposed to be GeoPosition or Entity objects representing ...
2
votes
0answers
19 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
94 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
74 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
820 views

Coloring a map of India

Below is a map of India (img). and I can visualize it in the following way: ...
8
votes
0answers
67 views

Adding a new GeoProjection?

The documentation for GeoProjectionData gives a list of supported GeoProjections. I was not able to find any documentation on ...
16
votes
1answer
601 views

Sea Level Rise - How to mask on relief plot

I want to make a diagram which corresponds to sea level rise in the UK. I'm having trouble with relief plot. So, corresponding to a 30 metre height increase of the sea, we would get the following ...
3
votes
1answer
56 views

Matching Aspect Ratios between two GeoGraphics with Entities for GeoRange

I'm making a basic 50-state map of population (using a log scale). Given the usual crucible of figuring out what to do with Hawaii and Alaska, I thought I would make the same ...
4
votes
2answers
146 views

How to extract geo location of city and plot the map

I would like to construct Turkey's map using Geocoordinate of each city. This link has all coordinate of of cities but I don't know how to extract the data from website. I did manually two cities and ...
4
votes
2answers
88 views

How to get the input string of Entity as output?

I have the following codes:- ...
8
votes
1answer
107 views

How to make GeoListPlot rectangular?

I have a GeoListPlot as below:- gr = {{20, 70}, {-30, 30}}; GeoListPlot[Entity["City", {"Paris", "IleDeFrance", "France"}], GeoRange -> gr] As you can see, ...
3
votes
1answer
42 views

How to get the coordinates of the 4 vertexes of a GeoListPlot?

I have a GeoListPlot as below. How can I get the latitude/longitude coordinates of the 4 vertexes of the GeoListPlot? I need the ...
7
votes
2answers
381 views

Find distance along a path (GPS coordinates)

I have an imported version of a GPX file plotting the route of a trail. I also have a list of coordinates for waypoints along the route. I am trying to calculate how far along the route each ...
5
votes
1answer
61 views

How to remove the undesired border of the GeoGraphics?

I have created an image of Europe as below:- ...
3
votes
1answer
50 views

How to assess GeoZoomLevel for GeoElevationData

I'd like to fetch at most 10 000 points from GeoElevationData, regardless of the location's specification. From my experience it usually fetches ~100-400k points ...
4
votes
1answer
113 views

How to use GeoStyling[“OutlineMap”] as GeoBackground for GeoHistogram?

Say I have some location data. SeedRandom[123] locs = GeoPosition[ Reverse[RandomPoint[Rectangle[{-88.6273, 29.6616}, {-84.2036, 32.7994}], 400], 2]] I want to ...
2
votes
1answer
71 views

How to draw city level bins in GeoHistogram

In GeoHistogram I can specify country or province bins but how do I specify a city bin? ...
3
votes
1answer
65 views

How to just get the elevation data of Berlin by GeoElevationData

I can plot the elevation data by this code ...
3
votes
1answer
45 views

Unable to convert degree to number in LatitudeLongitude and “City” Entity

I am trying to convert degree to number for some mathematical transformation. Taking London as an example, the following codes can convert the degree into a number without any problems: Codes that ...
7
votes
2answers
251 views

Map of Ancient Rome

I managed to generate a map of the Italic Peninsula with the borders corresponding to 250BC. Is there a way I can shade the area of the Roman empire of the time? ...
2
votes
3answers
140 views

Find the average GDP of multiple countries at once

How would I find the average GDP of a list of countries between set years? I know how to do it for one but I'm not sure about multiple values. I also wish to find the average population size. An ...
9
votes
2answers
416 views

Lexical similarity graph

How to I make a weighted nodal graph of the all the countries in Europe and the language similarity between them. I know the LexicalSimilarity gives the similarity of specific languages, but how ...
2
votes
1answer
89 views

Quantifying Country Proximity and Shared Borders

I'm trying to find a code that can quantify the proximity of countries in Europe, taking into account shared borders and I am completely stumped. So ideally, countries that share a border have a high ...
10
votes
2answers
542 views

Cluster graph of bordered countries?

I'm looking for a way to create a nodal graph of clusters of countries that border each other. I have the code for finding the bordering countries of, say, Germany: ...
0
votes
0answers
49 views

GeoTiff data import problem, bug?

I imported land cover classes from a GeoTiff file created in QGIS, where the classes are coded by discrete values (NLCD nomenclature). But it seemed the import function mirrors the values (maybe a bug)...
0
votes
1answer
74 views

Hurricane Graphics: Help with Coloring a Graph

So currently I have a graph of latitude, longitude, and Max Rainfall generated from the code below. ...
0
votes
1answer
72 views

Trying to plot points of rainfall during Harvey on a map of Texas and color code points

I am trying to plot lat, lon, and maximum rainfall of hurricane Harvey on a Map of texas. I have gathered all the data inside Mathematica using station names and the WeatherData function. This is the ...
2
votes
2answers
240 views

Preparing weather data tabulated by latitude-longitude for plotting

I am currently working on a project where I am trying to plot latitude, longitude, and maximum rainfall of hurricane Harvey on a 3D plot. I have gathered all the data inside Mathematica using station ...
3
votes
1answer
82 views

Is GeoElevationData[] inconsistent?

Why dose GeoElevationData[] give different results in its one and two argument forms? ...
7
votes
0answers
123 views

Mistake in Mathematica administrative division data in Africa

I would like to, firstly, report that, I think there are a number of mistakes in the administrative level data. Or, at least, it is not clear to me why there should be differences in some definitions ...
1
vote
0answers
41 views

How can I import a GIS dataset in arcGRID format?

A dataset on global aridity is published here http://www.cgiar-csi.org/data/global-aridity-and-pet-database. It's a global raster on a 10 arcsecond, so fine grained, finer than I need. Mathematica's ...
6
votes
1answer
225 views

How can I get the country name when I put the mouse on the map?

How can I get the country name when I put the mouse on the map? CountryData["World", {"Shape", {"Equirectangular", {0, 180}}}]
8
votes
1answer
464 views

Outline of a country as a polygon

I'd like to obtain a country map of France, as polygon xy positions so I can adjust the borders. Currently I'm using: ...
5
votes
5answers
522 views

Help converting geohash string to latitude, longitude?

I'm having difficulty converting a geohash string to latitude and longitude with Mathematica and wondered if I'm missing a built in function that already has the functionality available? (I'm still ...
5
votes
5answers
557 views

How to plot the 3D-boundary of California or other states

I can get the postion with this code ...
19
votes
4answers
2k views

Geolocate multiple IP addresses

I would like to geolocate a few hundred IP addresses (as part of analysing server logs). What is the best way to do this using Mathematica? Does Mathematica have any builtin functionality for this? ...
6
votes
2answers
545 views

How to obtain the distance (in Km/Miles and in minutes) by road ?. for example using googlemaps

How to obtain the distance between 2 geographical points (knowing the latitute and longitude) One easy way in the web is https://www.google.es/maps/dir/42.6897189,-8.4912382/42.\ 8659508,-8.6709907/@...
1
vote
0answers
153 views

Geodesics on a sphere [duplicate]

I need to draw many geodesics on a sphere. Is it better to follow @jose in his instructive response to the post, Plot a partition of the sphere given vertices of polygons, using ...