streetscapes

Streetscapes is a package for code for downloading, segmenting and analysing street view images.

https://github.com/urban-m4/streetscapes

Science Score: 67.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Streetscapes is a package for code for downloading, segmenting and analysing street view images.

Basic Info
Statistics
  • Stars: 11
  • Watchers: 1
  • Forks: 0
  • Open Issues: 20
  • Releases: 9
Created over 1 year ago · Last pushed 7 months ago
Metadata Files
Readme Contributing Citation

README.md

DOI PyPI - Version Research Software Directory Read The Docs

Overview

streetscapes is a package to extract metadata, download, segment and analyse street view images from various open sources, such as Mapillary, Kartaview and Amsterdam Open Panorama. The package also builds upon the Global Streetscapes, making it possible to use the dataset for analysis and download images with certain properties.

This package is a subproject of (Urban-M4), which aims to model the Urban Heat Island effect by evaluating the properties of individual objects in the images (such as buildings, roads and sidewalks).

For more information, please refer to the documentation.

📥 Setup

Create and activate a virtual environment using the tool of your choice, such as venv. You can also use Conda (or Mamba) if you prefer, but please note that all dependencies are installed by pip from PyPI.

Using venv:

sh python -m venv .venv source .venv/bin/activate

Using conda:

sh conda create -n myenv -c conda-forge python=3.12 pip conda activate myenv

⚙️ Installation

The streetscapes package can be installed from PyPI:

shell pip install streetscapes

Alternatively, the in-development version of streetscapes can be installed by cloning the repository and installing the package locally with pip:

shell git clone git@github.com:Urban-M4/streetscapes.git cd streetscapes pip install -e .

⚠️ If one or more dependencies fail to install, check the Python version - it might be too new. While streetscapes itself specifies only the minimal required Python verion, some dependencies might be slow to make releases for the latest Python version.

Configuring the package for development

To install with optional dependencies:

shell git clone git@github.com:Urban-M4/streetscapes.git cd streetscapes pip install -e .[dev]

Building and running the documentation

The streetscapes project documentation is based on MkDocs. To build and view the documentation:

shell mkdocs build

The documentation can then be viewed locally:

shell mkdocs serve

This will start an HTTP server which can be accessed by visiting http://127.0.0.1:8000 in a browser.

🌲 Environment variables

To facilitate the use of streetscapes when dowloading images, access tokens can be added to an .env file in the root directory of the streetscapes repository. You can get and access token for Mapillary here.

| Variable | Description | | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | | MAPILLARY_TOKEN | A Mapillary token string used for authentication when querying Mapillary via their API. |

Contributing and publishing

If you want to contribute to the development of streetscapes, have a look at the contribution guidelines.

🪪 Licence

streetscapes is licensed under CC-BY-SA-4.0.

🎓 Acknowledgements and citation

This repository uses the data and work from the Global Streetscapes project.

[1] Hou Y, Quintana M, Khomiakov M, Yap W, Ouyang J, Ito K, Wang Z, Zhao T, Biljecki F (2024): Global Streetscapes — A comprehensive dataset of 10 million street-level images across 688 cities for urban science and analytics. ISPRS Journal of Photogrammetry and Remote Sensing 215: 216-238. doi:10.1016/j.isprsjprs.2024.06.023

The streetscapes package can be cited using the supplied citation information. For reproducibility, you can also cite a specific version by finding the corresponding DOI on Zenodo.

Owner

  • Name: Urban-M4
  • Login: Urban-M4
  • Kind: organization

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: streetscapes
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Claire
    family-names: Donnelly
    email: c.donnelly@esciencecenter.nl
    affiliation: Netherlands eScience Center
    orcid: 'https://orcid.org/0000-0002-2546-4528'
  - given-names: Alexander
    orcid: 'https://orcid.org/0000-0002-7045-1005'
    family-names: Hadjiivanov
    email: a.hadjiivanov@esciencecenter.nl
    affiliation: Netherlands eScience Center
  - given-names: Peter
    family-names: Kalverla
    email: p.kalverla@esciencecenter.nl
    affiliation: Netherlands eScience Center
    orcid: 'https://orcid.org/0000-0002-5025-7862'
repository-code: 'https://github.com/Urban-M4/streetscapes'
abstract: >-
  Streetscapes is a package for retrieving and using data
  from the global-streetscapes dataset.
license: CC-BY-SA-4.0

GitHub Events

Total
  • Create event: 44
  • Release event: 6
  • Issues event: 45
  • Watch event: 11
  • Delete event: 28
  • Issue comment event: 48
  • Push event: 146
  • Pull request review event: 101
  • Pull request review comment event: 70
  • Pull request event: 64
Last Year
  • Create event: 44
  • Release event: 6
  • Issues event: 45
  • Watch event: 11
  • Delete event: 28
  • Issue comment event: 48
  • Push event: 146
  • Pull request review event: 101
  • Pull request review comment event: 70
  • Pull request event: 64

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 26
  • Total pull requests: 24
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 13 days
  • Total issue authors: 4
  • Total pull request authors: 3
  • Average comments per issue: 0.38
  • Average comments per pull request: 0.83
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 26
  • Pull requests: 24
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 13 days
  • Issue authors: 4
  • Pull request authors: 3
  • Average comments per issue: 0.38
  • Average comments per pull request: 0.83
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ClaireDons (21)
  • Peter9192 (6)
  • IrenaItova (1)
  • cantordust (1)
Pull Request Authors
  • ClaireDons (14)
  • cantordust (14)
  • Peter9192 (9)
Top Labels
Issue Labels
Pull Request Labels