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.

Useful links:

289 questions
15
votes
1 answer

How do I remove roads from Mathematica maps?

I'm using GeoGraphics and Polygon[Interpreter["USState"]["Colorado"]] to create a map of Colorado and several bordering states. With automatic GeoStyling, I get a decent map with cities and roads indicated. I am plotting some data points on top of…
mmta no0b
  • 151
  • 3
13
votes
1 answer

Geographic background containing both outlines and contours: how?

I would like to create a map which will show lakes and rivers together with elevation contours and contour labels. What is the simplest way to do this with GeoGraphics in version 10? The solution I have (below) looks much too convoluted. I need to…
Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
12
votes
2 answers

Zooming using GeoGraphics

Suppose I do: GeoGraphics[Entity["City", {"Eureka", "California", "UnitedStates"}]] What do folks do at this point to zoom in to various parts of the image?
David
  • 14,883
  • 4
  • 44
  • 117
10
votes
2 answers

GeoListPlot exact addresses

In GeoListPlot the locations are supposed to be GeoPosition or Entity objects representing entities with geographic coordinates. But say I have a few exact addresses that I'd like to plot (with callout labels): addresses = <| "Land's End Bed and…
M.R.
  • 31,425
  • 8
  • 90
  • 281
9
votes
0 answers

Make the map of rivers and lakes of the country

As I understand,first of all I should to get the country's map and the river's list. To get country map is simple: GeoGraphics[Polygon[Entity["Country", "Belarus"]]] Also I get the list of all world rivers: EntityList["River"] but I can't get the…
Oksana
  • 91
  • 3
8
votes
1 answer

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: i= GeoGraphics[{GeoStyling[None], Polygon[France (country)]}, GeoBackground -> None, GeoZoomLevel->1] Which returns an image. I…
Ian Vera
  • 183
  • 3
7
votes
1 answer

Geocoding addresses to geographic coordinates

I am writing a research proposal for a project on voter turnout as related to proximity to mass transit. The first part of my project would require geocoding hundreds of thousands of addresses, but I'd rather not have my laptop running ArcGIS for…
Andrew Brēza
  • 327
  • 1
  • 6
6
votes
3 answers

How to correctly project heat map onto map

I'm importing the NGA ASAM piracy database into Mathematica for analysis. asamjson=Import["http://msi.nga.mil/MSI_JWS/ASAM_JSON/getJSON?typename=\ DateRange_AllRefNumbers&fromDate=19900101&toDate=20140801", …
user4860
5
votes
1 answer

How do I convert from NAD 83 State Plane Coordinates to Latitude and Longitude?

I am trying to convert NAD 83 State Plane New York Long Island coordinates to Latitude/longitude. Below is my code - what am I doing wrong? LatitudeLongitude[GeoPosition[{172248, 1002321, 0}, "SPCS83NY04"]]
jackie
  • 53
  • 3
4
votes
2 answers

How to get a country's official languages?

According to Wikipedia Of the 193 widely recognized countries, 178 have an official language at the national level (NB:or more than one) The only exceptions are: Cyprus, Czech Republic, Denmark, Eritrea, The Holy See, Luxembourg, San Marino,…
Dr. belisarius
  • 115,881
  • 13
  • 203
  • 453
4
votes
2 answers

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 it seems it is working. hatay={{36.0616,…
OkkesDulgerci
  • 10,716
  • 1
  • 19
  • 38
4
votes
1 answer

How to just get the elevation data of Berlin by GeoElevationData

I can plot the elevation data by this code entity = Entity["AdministrativeDivision", {"Berlin", "Germany"}]; latlon = Transpose[GeoBounds[entity]]; elevation = Reverse[QuantityMagnitude[GeoElevationData[latlon]]]; ListPlot3D[elevation, Boxed ->…
yode
  • 26,686
  • 4
  • 62
  • 167
4
votes
0 answers

GeoRegionValuePlot does not show Legends

I have a problem with GeoRegionValuePlot. These are the settings: europe = CountryData[ EntityClass["Country", "EconomicAndMonetaryUnion"]] to fetch the entities of EU. Now I want to plot different data. Everything is fine, but for "PhoneLines"…
mgamer
  • 5,593
  • 18
  • 26
3
votes
1 answer

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?
Veritas Lux
  • 465
  • 2
  • 8
3
votes
2 answers

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 gives a list of cities that meet three criteria?
Veritas Lux
  • 465
  • 2
  • 8
1
2