|
1135 | 1135 | "allowed_ips": "*", |
1136 | 1136 | # 'csw_harvest_pagesize': '10', |
1137 | 1137 | }, |
1138 | | - "metadata:main": { |
1139 | | - "identification_title": "GeoNode Catalogue", |
1140 | | - "identification_abstract": "GeoNode is an open source platform" |
1141 | | - " that facilitates the creation, sharing, and collaborative use" |
1142 | | - " of geospatial data", |
1143 | | - "identification_keywords": "sdi, catalogue, discovery, metadata," " GeoNode", |
1144 | | - "identification_keywords_type": "theme", |
1145 | | - "identification_fees": "None", |
1146 | | - "identification_accessconstraints": "None", |
1147 | | - "provider_name": "Organization Name", |
1148 | | - "provider_url": SITEURL, |
1149 | | - "contact_name": "Lastname, Firstname", |
1150 | | - "contact_position": "Position Title", |
1151 | | - "contact_address": "Mailing Address", |
1152 | | - "contact_city": "City", |
1153 | | - "contact_stateorprovince": "Administrative Area", |
1154 | | - "contact_postalcode": "Zip or Postal Code", |
1155 | | - "contact_country": "Country", |
1156 | | - "contact_phone": "+xx-xxx-xxx-xxxx", |
1157 | | - "contact_fax": "+xx-xxx-xxx-xxxx", |
1158 | | - "contact_email": "Email Address", |
1159 | | - "contact_url": "Contact URL", |
1160 | | - "contact_hours": "Hours of Service", |
1161 | | - "contact_instructions": "During hours of service. Off on " "weekends.", |
1162 | | - "contact_role": "pointOfContact", |
1163 | | - }, |
1164 | | - "metadata:inspire": { |
1165 | | - "enabled": "true", |
1166 | | - "languages_supported": "eng,gre", |
1167 | | - "default_language": "eng", |
1168 | | - "date": "YYYY-MM-DD", |
1169 | | - "gemet_keywords": "Utility and governmental services", |
1170 | | - "conformity_service": "notEvaluated", |
1171 | | - "contact_name": "Organization Name", |
1172 | | - "contact_email": "Email Address", |
1173 | | - "temp_extent": "YYYY-MM-DD/YYYY-MM-DD", |
| 1138 | + "metadata": { |
| 1139 | + "inspire": { |
| 1140 | + "enabled": True, |
| 1141 | + "languages_supported": ["eng", "gre"], |
| 1142 | + "default_language": "eng", |
| 1143 | + "date": "YYYY-MM-DD", |
| 1144 | + "gemet_keywords": ["Utility and governmental services"], |
| 1145 | + "conformity_service": "notEvaluated", |
| 1146 | + "contact_name": "Organization Name", |
| 1147 | + "contact_email": "Email Address", |
| 1148 | + "temp_extent": { |
| 1149 | + "begin": "YYYY-MM-DD", |
| 1150 | + "end": "YYYY-MM-DD", |
| 1151 | + }, |
| 1152 | + }, |
| 1153 | + "identification": { |
| 1154 | + "title": "GeoNode Catalogue", |
| 1155 | + "description": "GeoNode is an open source platform" |
| 1156 | + " that facilitates the creation, sharing, and collaborative use" |
| 1157 | + " of geospatial data", |
| 1158 | + "keywords": ["sdi", "catalogue", "discovery", "metadata", "GeoNode"], |
| 1159 | + "keywords_type": "theme", |
| 1160 | + "fees": "None", |
| 1161 | + "accessconstraints": "None", |
| 1162 | + }, |
| 1163 | + "provider": { |
| 1164 | + "name": "Organization Name", |
| 1165 | + "url": SITEURL, |
| 1166 | + }, |
| 1167 | + "contact": { |
| 1168 | + "name": "Lastname, Firstname", |
| 1169 | + "position": "Position Title", |
| 1170 | + "address": "Mailing Address", |
| 1171 | + "city": "City", |
| 1172 | + "stateorprovince": "Administrative Area", |
| 1173 | + "postalcode": "Zip or Postal Code", |
| 1174 | + "country": "Country", |
| 1175 | + "phone": "+xx-xxx-xxx-xxxx", |
| 1176 | + "fax": "+xx-xxx-xxx-xxxx", |
| 1177 | + "email": "Email Address", |
| 1178 | + "url": "Contact URL", |
| 1179 | + "hours": "Hours of Service", |
| 1180 | + "instructions": "During hours of service. Off on " "weekends.", |
| 1181 | + "role": "pointOfContact", |
| 1182 | + }, |
1174 | 1183 | }, |
1175 | 1184 | } |
1176 | 1185 | } |
@@ -1454,10 +1463,10 @@ def get_geonode_catalogue_service(): |
1454 | 1463 | pycsw_config = PYCSW["CONFIGURATION"] |
1455 | 1464 | if pycsw_config: |
1456 | 1465 | pycsw_catalogue = { |
1457 | | - f"{pycsw_config['metadata:main']['identification_title']}": { |
| 1466 | + f"{pycsw_config['metadata']['identification']}": { |
1458 | 1467 | "url": CATALOGUE["default"]["URL"], |
1459 | 1468 | "type": "csw", |
1460 | | - "title": pycsw_config["metadata:main"]["identification_title"], |
| 1469 | + "title": pycsw_config["metadata"]["identification"]["title"], |
1461 | 1470 | "autoload": True, |
1462 | 1471 | "layerOptions": {"tileSize": DEFAULT_TILE_SIZE}, |
1463 | 1472 | } |
|
0 commit comments