Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add geocrud #14

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Add geocrud #14

wants to merge 10 commits into from

Conversation

LePetitTim
Copy link

@LePetitTim LePetitTim commented Jan 16, 2020

Geocrud and Visu can't be together for now, identifier in geostore cannot be use for centroid with geocrud. If we want to use geocrud with visu we need to modify geostore and find a solution for not using the same identifier for the zone and it centroid. We could use extra geom for example or relations, added on geostore which is normally made for this case.

README.md Show resolved Hide resolved
src/custom/receivers.py Outdated Show resolved Hide resolved
src/manage.py Outdated Show resolved Hide resolved
src/custom/receivers.py Outdated Show resolved Hide resolved
src/project/settings/base.py Outdated Show resolved Hide resolved
src/custom/dataloader/admin.py Show resolved Hide resolved
src/project/settings/base.py Outdated Show resolved Hide resolved
src/project/settings/local.py.dist Outdated Show resolved Hide resolved
'custom.dataloader',
'django_json_widget',
'reversion',
'sorl.thumbnail',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'mapbox_baselayer',
'django_json_widget',
'reversion',
'sorl.thumbnail',

are specific to geocrud, move to "if USE_TERRA_GEOCRUD"

## Uncoment these lines to enable and configure geocrud and add 'CRUD' above in enabled_modules
# TERRA_GEOCRUD = {
# 'EXTENT': [2, 40, 6, 50],
# 'MBGLRENDERER_URL': os.getenv('MBGLRENDERER_URL', 'http://mbglrenderer'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mbgl renderer is not added to the docker-compose stack ?

# 'EXTENT': [2, 40, 6, 50],
# 'MBGLRENDERER_URL': os.getenv('MBGLRENDERER_URL', 'http://mbglrenderer'),
# "map": {
# "mapbox_access_token": "key_mapbox",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not auto loaded from environment ?

path('api/', include('terra_layer.urls')),
path('api/mapbox_baselayer/', include('mapbox_baselayer.urls')),
]

if settings.DEBUG and False:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and False ????

@submarcos submarcos marked this pull request as draft March 16, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants