Skip to content

Commit

Permalink
Update old cityjsonl references
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Jun 28, 2024
1 parent 363bdfd commit b8dd3c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions cityjsonseq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ cat myfile.city.jsonl | cjseq collect > myfile.city.json

| dataset | CityJSONSeq file | description |
| ------- | ---------------- | ----------- |
| 3DBAG | [3dbag_b2.city.jsonl](https://3d.bk.tudelft.nl/opendata/cityjson/cityjsonl/3dbag_b2.city.jsonl) | 2 buildings randomly selected from the 3DBAG, LoD2.2 only |
| Montréal | [montréal_b4.city.jsonl](https://3d.bk.tudelft.nl/opendata/cityjson/cityjsonl/montréal_b4.city.jsonl) | 4 buildings randomly selected from the Montréal dataset |
| 3DBAG | [3dbag_b2.city.jsonl](https://3d.bk.tudelft.nl/opendata/cityjson/cityjsonseq/3dbag_b2.city.jsonl) | 2 buildings randomly selected from the 3DBAG, LoD2.2 only |
| Montréal | [montréal_b4.city.jsonl](https://3d.bk.tudelft.nl/opendata/cityjson/cityjsonseq/montréal_b4.city.jsonl) | 4 buildings randomly selected from the Montréal dataset |


## Validating a stream
Expand Down
12 changes: 3 additions & 9 deletions datasets/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,11 @@ Please be aware that we simply converted the datasets, some datasets contain (ge
<i class="fas fa-exclamation-circle"></i> We performed the geometric validation with [val3dity](https://github.com/tudelft3d/val3dity) and report the overall result in the column 'validity'. To understand the errors, we suggest validating the files ([how to do this]({{ '/tutorials/validation/' | relative_url }})) yourself.


## CityJSONL (CityJSON Lines) examples
## CityJSONSeq examples

CityJSON Lines---CityJSONL for short---is a format based on [JSON Text Sequences](https://datatracker.ietf.org/doc/html/rfc7464) and CityJSON.
It involves decomposing a dataset into each of its features (which becomes a [`CityJSONFeature`](https://www.cityjson.org/specs/#text-sequences-and-streaming-with-cityjsonfeature)) and storing them in a text file: one per line.
CityJSON Text Sequences---CityJSONSeq for short---is a format based on [JSON Text Sequences](https://datatracker.ietf.org/doc/html/rfc7464) and CityJSON.

The following 2 subsets of datasets were generated using cjio ([see details](https://www.cityjson.org/cityjsonl/#reading-and-writing-cityjsonl-with-cjio)).

| dataset | CityJSONL file | description |
| ------- | -------------- | ----------- |
| 3DBAG | [3dbag_b2.city.jsonl](https://3d.bk.tudelft.nl/opendata/cityjson/cityjsonl/3dbag_b2.city.jsonl) | 2 buildings randomly selected from the 3DBAG, LoD2.2 only |
| Montréal | [montréal_b4.city.jsonl](https://3d.bk.tudelft.nl/opendata/cityjson/cityjsonl/montréal_b4.city.jsonl) | 4 buildings randomly selected from the Montréal dataset |
See [this webpage for data and information]({{ '/cityjsonseq/#cityjsonseq-examples' | prepend: site.baseurl }}).

## Generating automatically your own CityJSON dataset

Expand Down

0 comments on commit b8dd3c6

Please sign in to comment.