Skip to content

Add geocrud - #14

Draft
LePetitTim wants to merge 10 commits into
Terralego:masterfrom
LePetitTim:add_geocrud
Draft

Add geocrud#14
LePetitTim wants to merge 10 commits into
Terralego:masterfrom
LePetitTim:add_geocrud

Conversation

@LePetitTim

@LePetitTim LePetitTim commented Jan 16, 2020

Copy link
Copy Markdown

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.

Comment thread README.md
Comment thread src/custom/receivers.py Outdated
Comment thread src/manage.py Outdated
Comment thread src/custom/receivers.py Outdated
Comment thread src/project/settings/base.py Outdated
Comment thread src/custom/dataloader/admin.py
Comment thread src/project/settings/base.py Outdated
Comment thread src/project/settings/local.py.dist Outdated
Comment thread src/project/settings/base.py Outdated
'custom.dataloader',
'django_json_widget',
'reversion',
'sorl.thumbnail',

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 ?

Comment thread src/project/urls.py
path('api/mapbox_baselayer/', include('mapbox_baselayer.urls')),
]

if settings.DEBUG and False:

Copy link
Copy Markdown
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