Feature: implement use_constraints with restrictioncodes #112
Labels
API
changes to rest API
feature
Forms
changes to metadata forms
Metadata
MetadataXML
changes to the metadata XML
Feature Description
COMPLICATED TO DESCRIBE, ASK @mwallschlaeger for details
We're decided to have a two part approach for constraints:
.
Upstream geonode implements this with
Restrictions
andOther constraints
like:This we can use to impl. 2. as it is exactly what we need.
for 1. we need to reimplement the field use_constraints (which is in zalf/geonode, but not in the way we need it) to be a free text field, and another field use_constraints_restrictions which holds the restriction codes applied to use_constraints so they can also be written to the xml like:
tasks todo:
geonode.base.models.ResourceBase
and described wellrestrction_codes
, use_constraints_restrictions and other_constraints_restrictions, best impliment both asonetomany
, they can share the same database table in the backendgeonode.catalogue.templates.full_metadata.xml
pycsw
local_mapping
need to take placePART OF #9
The text was updated successfully, but these errors were encountered: