在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:JasonSanford/gitspatial开源软件地址:https://github.com/JasonSanford/gitspatial开源编程语言:Python 66.1%开源软件介绍:GitSpatialA spatial API for your GitHub-hosted GeoJSON. Read more in a blog post. OverviewGitHub now supports rendering GeoJSON files. This makes it easy to collaborate on geo data. GitSpatial provides a spatial API for GeoJSON hosted at GitHub. How it Works
Search by Bounding BoxFind all parks within a map view:
Search by Point and RadiusFind all parks within 3000 meters of a point:
DevelopmentGitSpatial is a Django app that uses PostGIS as a backend to GeoDjango. So, you might run into trouble getting dependencies installed. Non-Python dependencies
Virtual EnvironmentCreate a virtual environment. I drop the virtual envrionment within the root of the project. The
Source to the virtual environment.
Install dependencies defined in
Environment VariablesTo keep secret keys, passwords and such out of version control, we store them in environment variables. Below are the variables required to run.
Database StuffAssuming you have a database already created and credentials are in the
Running the AppThe django web server (gunicorn) and the celery process are defined in
Static FilesStatic file deployment is handled by the All static files should be placed in the
TestingDo it with fab
DeployingDo it with fab
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论