https://github.com/cityjson/cjseq

Create+process+modify+convert CityJSONSeq

https://github.com/cityjson/cjseq

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Create+process+modify+convert CityJSONSeq

Basic Info
Statistics
  • Stars: 8
  • Watchers: 2
  • Forks: 2
  • Open Issues: 1
  • Releases: 0
Created over 2 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.md

cjseq

crates.io

cjseq is a program for creating, processing, and modifying CityJSONSeq files, as well as converting CityJSON files to it.

Installation

Installing the binaries

  1. Install the Rust compiler.
  2. Run cargo install cjseq.

Compiling the project

  1. Install the Rust compiler.
  2. Clone the repository: git clone https://github.com/cityjson/cjseq.git
  3. Build the project: cargo build --release
  4. Run the program: ./target/release/cjseq --help

Usage

cjseq can take input from either stdin or a file, and it always outputs the results to stdout. The output can be a CityJSON object or a CityJSONSeq stream.

Convert CityJSON to CityJSONSeq

Convert a CityJSON file to a CityJSONSeq stream:

sh cjseq cat -f myfile.city.json > myfile.city.jsonl

Alternatively use stdin:

sh cat myfile.city.json | cjseq cat` will output the stream to stdin.

Convert CityJSONSeq to CityJSON

Convert a CityJSONSeq stream to a CityJSON file:

sh cat ./data/3dbag_b2.city.jsonl | cjseq collect > 3dbag_b2.city.json

Filter CityJSONSeq

cat myfile.city.jsonl | cjseq filter --bbox 85007 446179 85168 446290 > mysubset.city.jsonl

Input constraints

  1. the input CityJSON/Seq must be v1.1 or v2.0 (v1.0 will panic).
  2. the input JSON but be CityJSON schema-valid, use cjval to validate.

Owner

  • Name: CityJSON
  • Login: cityjson
  • Kind: organization

For all CityJSON matters. Managed by @tudelft3d

GitHub Events

Total
  • Issues event: 6
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 5
  • Push event: 9
  • Pull request event: 7
  • Fork event: 1
  • Create event: 3
Last Year
  • Issues event: 6
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 5
  • Push event: 9
  • Pull request event: 7
  • Fork event: 1
  • Create event: 3

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 3
  • Total pull requests: 3
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 8 days
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 1.33
  • Average comments per pull request: 0.33
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 3
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 8 days
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 1.33
  • Average comments per pull request: 0.33
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jean306 (1)
  • MBunel (1)
  • kgluch258159 (1)
  • ipadjen (1)
Pull Request Authors
  • HideBa (6)
Top Labels
Issue Labels
Pull Request Labels