-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: master
Are you sure you want to change the base?
Add geocrud #14
Conversation
0347d33
to
c41cd21
Compare
src/project/settings/base.py
Outdated
'custom.dataloader', | ||
'django_json_widget', | ||
'reversion', | ||
'sorl.thumbnail', |
There was a problem hiding this comment.
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'), |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and False ????
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.