Wolfram Geography | Things to Try
Wolfram Geography | Things to Try
Make edits and run any piece of code by clicking inside the code and pressing .
+
Analyze, Compute and Visualize Geographic Data. Make geography computable with curated geographic data, precise computation and automated visualization. For beginners to experts, easily convert your data into insightful and great-looking maps.
Generate a Wide Variety of Maps
Generate a Wide Variety of Maps
Choose the background you want to use in a geographic map: |
In[]:=
GeoGraphics["World",GeoBackground->"Satellite"]
Choose the map projection: |
In[]:=
GeoGraphics["World",GeoBackground->"ReliefMap",GeoProjection->"Mollweide"]
Zoom In for Higher Detail
Zoom In for Higher Detail
Specify a geographic region, such as a country: |
In[]:=
GeoGraphics
Specify a city: |
In[]:=
GeoGraphics
Specify a particular range: |
In[]:=
GeoGraphics,GeoRange->
Represent Data on a Map
Represent Data on a Map
Plot geographic regions weighted by data, such as GDP: |
In[]:=
GeoRegionValuePlot->"GDP"
Define your own classes of entities for data retrieval—in this case, the 50 largest cities in the US: |
In[]:=
cityclass=EntityClass"City",->,->TakeLargest[50];
Visualize data from your implicitly defined classes: |
In[]:=
GeoBubbleChart[cityclass->"Population"]
Create Custom Geographics
Create Custom Geographics
Use markers and polygons to create customized images: |
In[]:=
GeoGraphicsGeoMarker,Polygon
Alter the appearance of graphics and shapes: |
In[]:=
GeoGraphicsEdgeForm[Black],Red,Polygon
Specify custom markers: |
In[]:=
GeoGraphicsGeoMarker,,"Color"->Red,GeoMarker,,"Color"->Blue,Polygon
Show the day-night terminator during the next eclipse: |
In[]:=
nexteclipse=SolarEclipse[];GeoGraphics[{Black,NightHemisphere[nexteclipse],Red,DayNightTerminator[nexteclipse]},GeoRange"World"]
Perform Geo Computations
Perform Geo Computations
Get your current position in the world: |
In[]:=
Here
Compute distances between locations: |
In[]:=
GeoDistanceHere,
Compute the area of geographic regions: |
In[]:=
GeoArea
Obtain and Visualize Travel Directions
Obtain and Visualize Travel Directions
Get travel directions through a list of locations: |
In[]:=
directions=TravelDirections,,,,TravelMethod->"Driving"
Visualize a route: |
In[]:=
GeoGraphics[{Red,Thick,directions["TravelPath"]}]
Estimate the distance covered by a route: |
In[]:=
directions["TravelDistance",UnitSystem->"Metric"]
Estimate the time needed to travel a route: |
In[]:=
directions["TravelTime"]
Retrieve and Use Geophysical Data
Retrieve and Use Geophysical Data
Retrieve elevation data for a specified location: |
In[]:=
elevationdata=GeoElevationData,GeoRange->
Visualize the data in 3D: |
In[]:=
ListPlot3Delevationdata,
Create a relief map of an area: |
In[]:=
ReliefPlotelevationdata,
Estimate the visible region from a given location and elevation: |
In[]:=
GeoGraphicsGeoVisibleRegion[{"Latitude","Longitude","Height"}]
Use geomagnetic modeling to plot paths navigated by following a compass toward magnetic north: |
In[]:=
GeoStreamPlotGeomagneticModelData,GeoVector,GeoGridLines->Automatic
Compute Geo Statistics
Compute Geo Statistics
Retrieve the positions of earthquakes in Alaska with magnitudes greater than 6 between the years 1950 and 2022: |
In[]:=
alaskaQuakes=EarthquakeData,{6,10},,,"Position"//Quiet
Create a smoothed spatial histogram of these events: |
In[]:=
GeoSmoothHistogramalaskaQuakes,GeoRange->
Show the histogram and earthquake locations together: |
In[]:=
ShowGeoSmoothHistogramalaskaQuakes,GeoRange->,GeoListPlotalaskaQuakes,GeoRange->
Predict Spatial Patterns
Predict Spatial Patterns
Retrieve spatial data for ozone measurements over the US: |
In[]:=
spatialdata=ResourceData["Sample Data: US Ozone 2021","Data"];
Plotting the data reveals gaps in the original measurement set: |
In[]:=
PointValuePlot[spatialdata,ColorFunction->"Rainbow"]
Create a predictor function based on the spatial data: |
Create Maps of Celestial Bodies
Create Maps of Celestial Bodies