{"id":16422395,"url":"https://github.com/enricofer/wide_sight","last_synced_at":"2025-03-23T07:32:24.087Z","repository":{"id":40985722,"uuid":"149578694","full_name":"enricofer/wide_sight","owner":"enricofer","description":"Street level images management system backend","archived":false,"fork":false,"pushed_at":"2023-08-24T14:51:36.000Z","size":6459,"stargazers_count":9,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T18:46:20.973Z","etag":null,"topics":["api","django","django-rest-framework","equirectangular-images","geolocation","imagery","management-system","panorama","rest","street-level"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-4-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enricofer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-20T08:43:01.000Z","updated_at":"2024-03-20T09:25:45.000Z","dependencies_parsed_at":"2024-10-28T15:28:41.771Z","dependency_job_id":"ef4ea033-2f83-4a2b-ba79-226aa38698c1","html_url":"https://github.com/enricofer/wide_sight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricofer%2Fwide_sight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricofer%2Fwide_sight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricofer%2Fwide_sight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enricofer%2Fwide_sight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enricofer","download_url":"https://codeload.github.com/enricofer/wide_sight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245072237,"owners_count":20556352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","django","django-rest-framework","equirectangular-images","geolocation","imagery","management-system","panorama","rest","street-level"],"created_at":"2024-10-11T07:36:24.768Z","updated_at":"2025-03-23T07:32:22.569Z","avatar_url":"https://github.com/enricofer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WIDESIGHT backend\r\n\r\nThis is the backend component of Widesight Service application.\r\nIt is a django app based on [Django REST Framework](https://www.django-rest-framework.org/) that exposes a REST interface for creating and mantaining a street level  images and derived objects database\r\n\r\n## WIDESIGHT Web interface\r\nhttps://github.com/enricofer/wide_sight_frontend\r\n\r\n## Uploading utilities\r\nhttps://github.com/enricofer/wide_sight_utils\r\n\r\n## Install:\r\n\r\nManually install GDAL and related python library for your platform. GDAL version and related python bindings version must be the same.\r\n```\r\nsudo add-apt-repository ppa:ubuntugis/ppa\r\nsudo apt-get update\r\nsudo apt install gdal-bin=3.0.4\r\npip install GDAL==3.0.4\r\n```\r\n\r\nlocal clone the repository than install the remaining needed python library requirements:\r\n\r\n```\r\npip install -r requirements.txt\r\n```\r\nIn order to run the application a geodatabase must be installed, spatialite for testing and development postgis for production\r\nconfigure `ws/settings.py` specifying database backend (demo on spatialite backend) then migrate database from scratch.\r\n\r\n```\r\npython manage.py migrate\r\n```\r\n\r\nCreate an admin user\r\nfor testing keep the suggested credential that are syncronized with the included viewer webapp\r\n\r\n```\r\nDJANGO_SUPERUSER_PASSWORD=letmein python manage.py createsuperuser --username admin --email admin@email.com --noinput\r\n\r\nor interactively\r\n\r\npython manage.py createsuperuser\r\n```\r\n\r\nrun development service (by default localhost on port 8000):\r\n\r\n```\r\npython manage.py runserver\r\n```\r\n\r\n## REST API interface\r\n\r\nThe service manage listing , creation and editing of three five sets of objects:\r\n\r\nhttp://localhost:8000/\r\n\r\n- main\r\n\r\n  - sequences: panorama containers\r\n\r\n  - panoramas: geolocated equirectangular images with support informations\r\n\r\n  - image objects: geolocated user recognized image objects (tags, spots, stereo measurements, etc...)\r\n\r\n- support\r\n\r\n  - image objects types: custom image objects categories\r\n\r\n  - userkey: userkeys user capabilities (geofencing, allowed appkeys)\r\n\r\n  - appkeys: allowed application keys (needed for GET method without user authorization)\r\n\r\nthe complete API reference is available at [docs/API.html](https://app.swaggerhub.com/apis-docs/enricofer/Widesight/1.0.0)\r\n\r\n## ADMIN interface\r\n\r\nAuthenticate as the previously defined user and point to http://localhost:8000/admin\r\n\r\nWith the Admin interface is possible to load equirectangular images with the following workflow:\r\n\r\n- define an appkey: http://10.10.21.50:8000/admin/wide_sight/appkeys/add/\r\n- define a userker: http://10.10.21.50:8000/admin/wide_sight/userkeys/add/\r\n- define a sequence: http://10.10.21.50:8000/admin/wide_sight/sequences/add/\r\n- then manually load the panorama images: http://10.10.21.50:8000/admin/wide_sight/panoramas/add/\r\n\r\nThe image parameters (gps location, heading, pitch and roll) can be manually inserted or taken from EXIF tags if defined\r\nFor massive insertion of images make use of https://github.com/enricofer/wide_sight_utils uploading util\r\n\r\n## integrated equirectangular viewer (https://github.com/enricofer/wide_sight_frontend)\r\n\r\nThe web interface include a build of the equirectangular widesight web viewer:\r\n\r\nhttp://localhost:8000/viewer/\r\nhttp://localhost:8000/viewer/[panorama id]\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenricofer%2Fwide_sight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenricofer%2Fwide_sight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenricofer%2Fwide_sight/lists"}