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 run
to 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/admin
for cartoview andadmin/geoserver
for geoserver - you can stop containers with
make down
ordocker-compose down
- you can get logs for each service in
docker-compose.yml
unsing the following command:docker-compose logs --follow --tail=100 <service_name>
- start the containers with
docker-compose up -d
ormake up
- stop the containers with
docker-compose down
ormake down
How To Add Cartoview To Existing Geonode:
- install cartoview with pip:
pip install cartoview --no-cache-dir
- open geonode
settings.py
and 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
Docs:
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.2rc1.tar.gz
(2.1 MB
view hashes)
Built Distribution
Close
Hashes for cartoview-1.8.2rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4211b8f32282104d4ccc00f51d10337d3757b7dbfd0c5208aa3f89a68d25133 |
|
MD5 | 8ebee939ae2fc4c35868c70d902a92da |
|
BLAKE2b-256 | f64f2a6fb3f0533431fefc9a9503255c276d0ab6c18a615bf68c5dcc842f81c9 |