Skip to content

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.

'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/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