![]() ![]() Notice that the_geom for points is given by their longitude and latitude co-ordinates. Now click the New table button with the blue plus sign and import the file quakes.csv, which should look like this in the DATA VIEW: Take a few minutes to explore what’s there, before returning to tables. The latter has links to CartoDB’s technical manuals, while common data has links to useful datasets that you can import as tables into your own account. Notice that the top menu also has links to visualizations (which we will explore shortly), common data and documentation. Switch to MAP VIEW to see the basic, unstyled map:Ĭlick the small return arrow at top left to go to an overview of your tables: You can rename fields, sort the table by the data in them, or change their data type (for example from numbers to strings of text), by clicking the downward-pointing triangle next to the header of each. As in QGIS, these geometries can be points, lines or polygons - which is what we have here. This field is central to how CartoDB works, defining the geometry of any map you make. The table also has a field called the_geom which has the tag GEO. Notice that, in addition to the fields from the original data, each row has been given a cartodb_id, which is a unique identifier for each. Once the data has imported, you will see the uploaded data table in DATA VIEW: See here for more on imports and supported data formats. Under the Data file tab, click the select a file link, navigate to the file seismic_risk.geojson and click Open.ĬartoDB can import data in a variety of formats, including CSV, KML, GeoJSON and shapefiles (which should be in a zipped folder). Login to a new CartoDB account, and you should see a screen like this:Ĭlick the green Create your first table button to start importing data. To demonstrate CartoDB’s core map-making functionality, we will first make an interactive online version of the static map we made yesterday with QGIS. Map seismic risk and historical earthquakes in the continental United States The folder also contains a template web page, test.html, in which you can embed maps made with CartoDB. See here for more on how these events were classified. Syria_all.csv CSV file documenting violent events in the Syrian civil war from the start of 2011 to the end of the first quarter of 2013, derived from GDELT project data. sfpd_stations.zip Zipped shapefile with locations and other data for police stations in San Francisco, from DataSF, the city’s data portal.sf_test_addresses.csv The same sample of geocoded addresses in San Francisco from yesterday.storms_tracks.zip Zipped shapefile showing the tracks of each storm since 1990, as you made yesterday with QGIS from the points shapefile.This is the data in the shapefile you worked with yesterday in CSV format. storms_points.csv Observations on North Atlantic hurricanes and other tropical storms.seismic_risk.geojson The seismic risk data from yesterday in GeoJSON format, clipped to the borders and coastline of the continental United States.all quakes with a magnitude of 5 and greater from 1964 to 2013 inclusive, in a circle with a radius of 6,000 kilometers from the center of the continental United States, with a couple of extra fields, explained below. quakes.csv The same data on historical earthquakes that we worked with yesterday, i.e.It contains four subfolders, with the following files: Earthquakes ![]() The data we will useĭownload the data from this session from here, unzip the folder and place it on your desktop. If you are already familiar with working with databases, you may find CartoDB a good alternative to the point-and-click interface of QGIS for these tasks. It is also a geospatial database, allowing you to perform GIS analyses and process geodata using Structured Query Language. These maps can include animations of data over time. Making online maps and processing geodata with CartoDB Introducing CartoDBĬartoDB is a cloud-based mapping application that makes it easy to produce interactive, online maps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |