Cartoview is a GIS web mapping application framework to easily share and deploy apps based on Geonode
Project description
What is Cartoview?
- CartoView is a GIS Web Mapping Application Market.
- Cartoview extends the popular GeoNode SDI to provide the ability to create, share, and visualize GIS Web Mapping Applications very easily and very quickly from the browser without programming.
Docker Installation:
- install docker and docker-compose
- clone cartoview and navigate to cartoview folder
- on linux based OS use this command
make runto setup and start cartoview in docker for the first time - on windows run the following commands to setup and start cartoview in docker for the first time:
$ docker-compose up $ docker-compose exec cartoview python manage.py makemigrations $ docker-compose exec cartoview python manage.py migrate $ docker-compose exec cartoview python manage.py loaddata sample_admin.json $ docker-compose exec cartoview python manage.py loaddata scripts/json/default_oauth_apps.json $ docker-compose exec cartoview python manage.py loaddata app_stores.json $ docker-compose exec cartoview python manage.py loaddata initial_data.json
- open your browser and type the following address
10.5.0.4 - default user credentials
admin/adminfor cartoview andadmin/geoserverfor geoserver - you need to configure oauth in geonode and geoserver to do this please use this link
- you can stop containers with
make downordocker-compose down - you can get logs for each service in
docker-compose.ymlunsing the following command:docker-compose logs --follow --tail=100 <service_name>
- start the containers with
docker-compose up -dormake up - stop the containers with
docker-compose downormake down
How To Add Cartoview To Existing Geonode:
- install cartoview with pip:
pip install cartoview --no-cache-dir- open geonode
settings.pyand add the following lines at the end of the file:from cartoview import settings as cartoview_settings INSTALLED_APPS = cartoview_settings.INSTALLED_APPS ROOT_URLCONF = cartoview_settings.ROOT_URLCONF APPS_DIR = os.path.abspath(os.path.join(PROJECT_ROOT, "apps")) PENDING_APPS = os.path.join(PROJECT_ROOT, "pendingOperation.yml") APPS_MENU = False TEMPLATES[0]["DIRS"] = CARTOVIEW_TEMPLATE_DIRS TEMPLATES[0]["OPTIONS"]['context_processors'] += cartoview_settings.CARTOVIEW_CONTEXT_PROCESSORS STATICFILES_DIRS += cartoview_settings.CARTOVIEW_STATIC_DIRS from cartoview.app_manager.settings import load_apps INSTALLED_APPS += load_apps()
- restart your server
How to run tests
- You Can run tests with the following command
python manage.py test cartoview --with-coverage --cover-package=cartoview
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cartoview-1.8.2rc2.tar.gz
(2.1 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cartoview-1.8.2rc2.tar.gz.
File metadata
- Download URL: cartoview-1.8.2rc2.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3979860c9814e9c6bddea4d4c5421fdc5766a56f7a02a23aaab94426a177ca3
|
|
| MD5 |
ba0c44cc862cbf68317d9f873e1f3f2b
|
|
| BLAKE2b-256 |
fff10250c34138ea306093260d685efdfec288029a7495a9944e49d2701a7a9e
|
File details
Details for the file cartoview-1.8.2rc2-py2.py3-none-any.whl.
File metadata
- Download URL: cartoview-1.8.2rc2-py2.py3-none-any.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
563783db59f7aa94ce8e2d2093359c3ff10e3305cbdf6d49c0a6225d41c4995e
|
|
| MD5 |
39923cdcee8975e8d204232a08ee6041
|
|
| BLAKE2b-256 |
c2398c6f3cfda8863e595690b9aea9dcda7e4f6df32dc154c072946fb28fa072
|