-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Describe how to use the GeoJSON shape file in QGIS
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
# verkeersdrukte | ||
Java application to serve traffic data from NDW in a friendly format | ||
|
||
## Usage in QGIS | ||
The software presents a shape file in GeoJSON format that can be imported into QGIS. | ||
Each point in the GeoJSON represents a measurement site, | ||
and contains all properties of the original shape file, | ||
plus URLs to the static data (fixed properties), dynamic data (traffic speed and flow) and a link to Google streetview. | ||
|
||
First, add an openstreet background layer, | ||
by clicking XYZ Tiles / OpenStreetMap | ||
![QGIS Add openstreetmap](images/qgis_osm.png) | ||
|
||
Then, add a vector layer, by opening menu | ||
Layer / Add Layer / Add Vector Layer ... | ||
![QGIS Add vector layer](images/qgis_vectorlayer.png) | ||
The URL is https://stofradar.nl/traffic/static | ||
Click 'Add', then 'Close'. | ||
|
||
You should now see all measurement sites on the map. | ||
Select a particular site using the 'Identify features' button. | ||
|
||
![QGIS Add vector layer](images/qgis_identify.png) | ||
|
||
This shows the static information about the measurement site, | ||
including an URL to the dynamic information. For example: | ||
http://stofradar.nl:9002/traffic/dynamic/RWS01_MONIBAS_0121hrr0292ra | ||
|
||
The URL to the SSE event stream has '/events' appended: | ||
http://stofradar.nl:9002/traffic/dynamic/RWS01_MONIBAS_0121hrr0292ra/events |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.