-
Book Overview & Buying
-
Table Of Contents
Dart By Example
By :
GeoJSON is a format for recording geographic data structures, which includes support of geometric definitions, such as points and polygons. For example, the location of an earthquake's epicenter (point) and the area affected (polygon). Part of the GeoJSON can look as follows:
{
"type":"Point",
"coordinates":[122.3818333,45.0686667,12.9]
}
,
"id":"uw61022191"The previous example is a small excerpt from the feed that reports all earthquakes in the past hour (http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.geojson). Take a moment to look at this feed and get a feel for the type of data this format contains.
To kick off this project, we will create a data-monitoring application that will record information from this feed. As this program will be running over a long period, we will want to add a logging feature to ensure it is running smoothly.
The main function in bin/main.dart will prompt the data to be downloaded...
Change the font size
Change margin width
Change background colour