Basic usage tutorial
Further help
Beyond the basic instructions provided here, more detailed instructions can be found
- in the user doc section of the website
- in the discussion forum
First steps
Step #1:The app runs in a browser from this address:
Step #2: Once the app runs in the browser data is read by two alternative ways:
- Click on predefined dataset list on the left side of the browser window
- Introduce data in the app by drag & drop (see below)
Attention: in any case data processing may take time, depending on the number of cities and the performance of your own machine, CPU and GPU. So once you have clicked on the list of predefined datasets or drag & drop files, you have to wait for a few seconds
Step #3: enjoy! navigate around the three dimensional structure with mouse controls, define projection through interface, define desired control parameters through the interface on the right. Reload the page in the browser before changing dataset.
Introducing data in the application by drag & drop
Drag & drop the following geojson and csv files found in the folder datasets in the web app:
- cities.csv
- population.csv
- transport_mode_code.csv
- transport_mode_speed.csv
- transport_network.csv
- 110m_land_shrivel.geojson
General parameters
Instructions for the application are provided in a lateral user interface.
Most commands can be accessed through the lateral UI:
Year: base year of the representation (value in the networks files) 'Generalities', 'year'
Cartographic projection:
- Static: change 'Generalities', 'projection', 'Initial projection' the variable projectionInit : projection with values in in the following range :
- 'none' for a three dimensional un-projected representation
- 'equirectangular' or 1 for an equilateral flat representation
- 'Mercator' or 2 for a 2-dimensional Mercator
- Dynamic
- Set the final projection: 'Generalities', 'projection', 'final projection'
- 'transition': transition value between projectionBegin and projectionEnd. Value included in the range 0 to 100 included.
Parameters of the geometry of the model
More detail about the three dimensional geometry of the model, here.
Cones:
- Color: Menu 'Cones', 'cones color'
- Rendering quality:
coneStep
modifies the visual aspect of cones. The default value is 15 degrees, a facet = 15°; a recommended value is 5 or less. Lower values will generate higher quality graphics, at the cost of larger export files and resource consuming rendering - The shape of cones has currently three available options:
- in the default based on road case, all cones are simple regular cones with a unique slope -- for a given year -- based on the road speed
- in the fast terrestrial transport mode case, cones all have a regular shape but may have different slopes; the slope of a cone is determined by the connection to a terrestrial transport mode faster than road. The mere connection of the city to the a high speed rail line network will alter the slope of its cone, expressing its access to fast speed. In this case the slope, i.e. the local time-space relative speed, is potentially wrong in many places, but we produce an image that highlights the connectivity of cities to hight speed terrestrial transport networks. In this case, we ignore the 'tunnel effect' of fast transport networks.
- in the complex cones case, cones are locally deformed based on existing incoming or departing edges of transport terrestrial transport modes faster than road, typically expressway or High-Speed Rail lines. In this case, as in the previous one, we ignore the 'tunnel effect' of fast transport networks.
- More to come: the [horse saddle]()
Curves:
- Color and transparency: curves may have a different color and transparency according to the transport mode they represent, chosen in 'Curves', 'terrestrial modes' and 'Aircraft'
- Straight lines or curves: the parameter 'nb of points' will populate the variable
nbPointsPerCurve=X
where X is an integer between 1 and 199 included. This value determines the way curves are drawn: - The value 1 draws all straight lines
- The value 2 draws a broken line, as two segments with an intermediate point; the line has the desired length
- A value superior to 2 will interpolate a Bézier curve of the desired length. This curve can be a geodesic in the non projected case, or can be a longer curve. Recommended value is superior to 50 for a high quality graphic
Navigation
- zoom in or out = mouse scroll
- rotation (around the center of the earth) = left click + move
- translation = right click + move
Exports
The three dimensional scene can be exported. Export to gltf (.obj) file format is available (red button in the bottom). In order to import in Blender the file produced from the app, see Blender instructions. Beware: creating the file may be a lengthy process.
A travel times matrix in minutes between the cities of the input dataset can be exported (for generating plastic space maps for instance). Year of reference is fixed in the GUI interface. The matrix computation is preceded by the generation of multiple road edges in order to provide the minimum path algorithm with sufficient input data. The matrix is exported from the browser console (F12, Ctrl + Shift + K or Command + Option + K) with the instruction:
bigBoard._merger.merge(true,'aFileNameForTheMatrix')
Testing lengths and angles
As the final output of the tool is, in the general case, an image, testing the distances and angles is a way to make sure the model is correct:
- length of straight edges and links can be measured with a ruler on the screen or on a printed image
- length of curves may be measured by means of a little string adjusted along the image and then measured with the ruler
- measuring angles with an on-line protractor tool