Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

10
votes
3answers
713 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
57 views

Adding a new GeoProjection?

The documentation for GeoProjectionData gives a list of supported GeoProjections. I was not able to find any documentation on ...
15
votes
1answer
570 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 ...
2
votes
1answer
39 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
59 views

How to get the input string of Entity as output?

I have the following codes:- ...
8
votes
1answer
90 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
32 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 ...
5
votes
1answer
42 views

How to remove the undesired border of the GeoGraphics?

I have created an image of Europe as below:- ...
3
votes
1answer
43 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
91 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 ...
3
votes
1answer
55 views

How to just get the elevation data of Berlin by GeoElevationData

I can plot the elevation data by this code ...
3
votes
1answer
41 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
224 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
95 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
380 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
70 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
493 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
51 views

GeoDistance gives the same distances over a Table of different locations

I am generating a table of: From latitude, longitude pairs. To latitude, longitude pairs. GeoDistance between the from and to locations. The code I am using is below: ...
0
votes
0answers
32 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
64 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
58 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
201 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
74 views

Is GeoElevationData[] inconsistent?

Why dose GeoElevationData[] give different results in its one and two argument forms? ...
7
votes
0answers
100 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
38 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
210 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
407 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: ...
4
votes
5answers
306 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
532 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
531 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
61 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 ...
4
votes
3answers
176 views

Generate the complement of the Earth's land mass polygons

I would like to get polygon covering of all water area of earth. I though of doing by inverting Polygon[EntityClass["Country", "LandMasses"]] How do i invert ...
9
votes
2answers
174 views

How to find what you want in curated data?

The following gives a list of all counties in the state of Maryland. ...
1
vote
1answer
84 views

How can I list the capital cities ending with video?

I am interested to list all the cities of earth which end with the string "video", like "Montevideo"
4
votes
2answers
134 views

Use Wolfram curated databases to determine how many randomly chosen people are needed to have a 50% chance two live in the same or adjacent states?

Background: This question is based on one asked on the statistics stack exchange, CrossValidated.SE here. Alas, the full answer to the statistical question seems to require enormous computational ...
5
votes
2answers
144 views

RegionMember with geographical data

I'm trying to be able to calculate whether a coordinate is within a census tract. As an example, here's a particular census tract in Chicago defined as a set of polygon vertices: ...
2
votes
1answer
78 views

A solution to the Four-Color Theorem applied to the map Florida, USA

After struggling for a while with the problem of finding a solution to the Four-Color Theorem applied to the map Florida, USA: List of neighbor counties for all counties in a State Neighboring ...
3
votes
0answers
79 views

create geolabels with date-objects

I want to create a GeoGraphics with customised labels. The example dataset is: ...
10
votes
1answer
167 views

Inserting county names on a map

I'm attempting to insert the county names on a map of Florida: ...
0
votes
0answers
54 views

How can I visualize of the GDPs of main cities across large countries on a world map?

I wish to create a world map to visualize GDP data of several cities by using either i) bubbles with different sizes, or ii) bars with different heights. In addition, I wish to have color options ...
3
votes
0answers
81 views

Applying the Four-color Theorem to the map of Florida [duplicate]

I'm still wrestling with the following problem; I' m attempting to apply the Four Color Theorem to the map of Florida; USA. The attribute "BorderingCounties" doesn't work for Alachua County (but, it ...
3
votes
0answers
84 views

Getting data for solar radiation

There data for it is available in the web like on pvgis or NASA. The first one deliveres data for a surface with polar and azimut angle. That would be the kind of data I need. Is there a chance to get ...
1
vote
0answers
70 views
6
votes
1answer
125 views

List of neighbor counties for all counties in a State

If I want to find a list of neighboring countries for a particular list of countries I can do : ...
0
votes
0answers
68 views

GeoListPlot[GeoPosition[…]] syntax problem

I am simply trying to plot the above position, but always got error message: GeoListPlot[GeoPosition[{40.6643,-73.9385}]] LatitudeLongitude::invloc: ...
1
vote
0answers
75 views

I want to plot an intersection point from 2 street names on a map

Say, I want to plot the point of 5th ave & E 79th ave in NYC on a map, how should I do it with mathematica? Also, say I have a street, say 5th ave in NYC, can I ask to give me all the ...
3
votes
1answer
98 views

GeoListPlot: GeoLabels

GeoListPlot[AirportData[{"ORD"}], GeoLabels -> True] shows correctly a red point, labeled ...
0
votes
1answer
82 views

Precise Color Filling with borders in a map

I would like to have a "SimplifiedArea" borders and color filling for each country exactly following the border line, but I get this rough profile ...
6
votes
1answer
210 views

Add marker for cities on a map using GeoRegionValuePlot

I would like to add some markers on some cities on a map (smaller or bigger depending on the values each city has) ...