udata 12.0.2.dev15__py3-none-any.whl → 13.0.1.dev21__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of udata might be problematic. Click here for more details.
- udata/api/__init__.py +1 -0
- udata/api_fields.py +10 -4
- udata/app.py +11 -10
- udata/auth/__init__.py +9 -10
- udata/auth/mails.py +137 -45
- udata/auth/views.py +5 -12
- udata/commands/__init__.py +2 -3
- udata/commands/info.py +1 -3
- udata/commands/tests/test_fixtures.py +6 -3
- udata/core/access_type/api.py +18 -0
- udata/core/access_type/constants.py +98 -0
- udata/core/access_type/models.py +44 -0
- udata/core/activity/models.py +1 -1
- udata/core/badges/models.py +1 -1
- udata/core/badges/tasks.py +35 -1
- udata/core/badges/tests/test_commands.py +2 -4
- udata/core/badges/tests/test_model.py +2 -2
- udata/core/badges/tests/test_tasks.py +55 -0
- udata/core/constants.py +1 -0
- udata/core/contact_point/models.py +8 -0
- udata/core/dataservices/api.py +3 -3
- udata/core/dataservices/apiv2.py +3 -1
- udata/core/dataservices/constants.py +0 -29
- udata/core/dataservices/models.py +44 -44
- udata/core/dataservices/rdf.py +2 -1
- udata/core/dataservices/search.py +5 -9
- udata/core/dataservices/tasks.py +33 -0
- udata/core/dataset/api_fields.py +11 -0
- udata/core/dataset/apiv2.py +11 -0
- udata/core/dataset/constants.py +0 -1
- udata/core/dataset/forms.py +29 -0
- udata/core/dataset/models.py +16 -4
- udata/core/dataset/rdf.py +2 -1
- udata/core/dataset/search.py +2 -2
- udata/core/dataset/tasks.py +86 -8
- udata/core/discussions/mails.py +63 -0
- udata/core/discussions/tasks.py +4 -18
- udata/core/metrics/__init__.py +0 -6
- udata/core/organization/api.py +3 -1
- udata/core/organization/mails.py +144 -0
- udata/core/organization/models.py +2 -1
- udata/core/organization/search.py +1 -1
- udata/core/organization/tasks.py +21 -49
- udata/core/pages/tests/test_api.py +0 -2
- udata/core/reuse/api.py +27 -1
- udata/core/reuse/mails.py +21 -0
- udata/core/reuse/models.py +10 -1
- udata/core/reuse/search.py +1 -1
- udata/core/reuse/tasks.py +2 -3
- udata/core/site/models.py +2 -6
- udata/core/spatial/tests/test_api.py +17 -20
- udata/core/spatial/tests/test_models.py +3 -3
- udata/core/user/mails.py +54 -0
- udata/core/user/models.py +2 -3
- udata/core/user/tasks.py +8 -23
- udata/core/user/tests/test_user_model.py +2 -6
- udata/entrypoints.py +0 -5
- udata/features/identicon/tests/test_backends.py +3 -13
- udata/forms/fields.py +3 -3
- udata/forms/widgets.py +2 -2
- udata/frontend/__init__.py +3 -32
- udata/harvest/actions.py +4 -9
- udata/harvest/api.py +5 -14
- udata/harvest/backends/__init__.py +20 -11
- udata/harvest/backends/base.py +2 -2
- udata/harvest/backends/ckan/harvesters.py +2 -1
- udata/harvest/backends/dcat.py +3 -0
- udata/harvest/backends/maaf.py +1 -0
- udata/harvest/commands.py +6 -4
- udata/harvest/forms.py +9 -6
- udata/harvest/tasks.py +3 -5
- udata/harvest/tests/ckan/test_ckan_backend.py +300 -337
- udata/harvest/tests/ckan/test_ckan_backend_errors.py +94 -99
- udata/harvest/tests/ckan/test_ckan_backend_filters.py +128 -122
- udata/harvest/tests/ckan/test_dkan_backend.py +39 -51
- udata/harvest/tests/dcat/datara--5a26b0f6-0ccf-46ad-ac58-734054b91977.rdf.xml +255 -0
- udata/harvest/tests/dcat/datara--f40c3860-7236-4b30-a141-23b8ae33f7b2.rdf.xml +289 -0
- udata/harvest/tests/factories.py +1 -1
- udata/harvest/tests/test_actions.py +11 -9
- udata/harvest/tests/test_api.py +4 -5
- udata/harvest/tests/test_base_backend.py +5 -4
- udata/harvest/tests/test_dcat_backend.py +50 -19
- udata/harvest/tests/test_models.py +2 -4
- udata/harvest/tests/test_notifications.py +2 -4
- udata/harvest/tests/test_tasks.py +2 -3
- udata/mail.py +90 -53
- udata/migrations/2025-01-05-dataservices-fields-changes.py +8 -14
- udata/migrations/2025-10-21-remove-ckan-harvest-modified-at.py +28 -0
- udata/migrations/2025-10-29-harvesters-sources-integrity.py +27 -0
- udata/mongo/taglist_field.py +3 -3
- udata/rdf.py +32 -15
- udata/sentry.py +3 -4
- udata/settings.py +7 -2
- udata/tags.py +5 -5
- udata/tasks.py +3 -3
- udata/templates/mail/message.html +65 -0
- udata/templates/mail/message.txt +16 -0
- udata/tests/__init__.py +40 -58
- udata/tests/api/__init__.py +87 -2
- udata/tests/api/test_activities_api.py +17 -23
- udata/tests/api/test_auth_api.py +2 -4
- udata/tests/api/test_contact_points.py +48 -54
- udata/tests/api/test_dataservices_api.py +57 -37
- udata/tests/api/test_datasets_api.py +146 -49
- udata/tests/api/test_me_api.py +4 -6
- udata/tests/api/test_organizations_api.py +19 -38
- udata/tests/api/test_reports_api.py +0 -4
- udata/tests/api/test_reuses_api.py +92 -19
- udata/tests/api/test_security_api.py +124 -0
- udata/tests/api/test_swagger.py +2 -3
- udata/tests/api/test_tags_api.py +6 -7
- udata/tests/api/test_transfer_api.py +0 -2
- udata/tests/api/test_user_api.py +8 -10
- udata/tests/apiv2/test_datasets.py +0 -4
- udata/tests/apiv2/test_me_api.py +0 -2
- udata/tests/apiv2/test_organizations.py +0 -2
- udata/tests/apiv2/test_swagger.py +2 -3
- udata/tests/apiv2/test_topics.py +0 -2
- udata/tests/cli/test_cli_base.py +14 -12
- udata/tests/cli/test_db_cli.py +51 -54
- udata/tests/contact_point/test_contact_point_models.py +2 -2
- udata/tests/dataservice/test_csv_adapter.py +2 -5
- udata/tests/dataservice/test_dataservice_rdf.py +8 -6
- udata/tests/dataservice/test_dataservice_tasks.py +36 -38
- udata/tests/dataset/test_csv_adapter.py +2 -5
- udata/tests/dataset/test_dataset_actions.py +2 -4
- udata/tests/dataset/test_dataset_commands.py +2 -4
- udata/tests/dataset/test_dataset_events.py +3 -3
- udata/tests/dataset/test_dataset_model.py +6 -7
- udata/tests/dataset/test_dataset_rdf.py +201 -12
- udata/tests/dataset/test_dataset_recommendations.py +2 -2
- udata/tests/dataset/test_dataset_tasks.py +66 -68
- udata/tests/dataset/test_resource_preview.py +39 -48
- udata/tests/dataset/test_transport_tasks.py +2 -2
- udata/tests/features/territories/__init__.py +0 -6
- udata/tests/features/territories/test_territories_api.py +25 -24
- udata/tests/forms/test_current_user_field.py +2 -2
- udata/tests/forms/test_dict_field.py +2 -4
- udata/tests/forms/test_extras_fields.py +2 -3
- udata/tests/forms/test_image_field.py +2 -2
- udata/tests/forms/test_model_field.py +2 -4
- udata/tests/forms/test_publish_as_field.py +2 -4
- udata/tests/forms/test_user_forms.py +26 -29
- udata/tests/frontend/test_auth.py +2 -3
- udata/tests/frontend/test_csv.py +5 -6
- udata/tests/frontend/test_error_handlers.py +2 -3
- udata/tests/frontend/test_hooks.py +5 -7
- udata/tests/frontend/test_markdown.py +3 -4
- udata/tests/helpers.py +2 -7
- udata/tests/metrics/test_metrics.py +52 -48
- udata/tests/metrics/test_tasks.py +154 -150
- udata/tests/organization/test_csv_adapter.py +2 -5
- udata/tests/organization/test_notifications.py +2 -4
- udata/tests/organization/test_organization_model.py +3 -4
- udata/tests/organization/test_organization_rdf.py +2 -8
- udata/tests/plugin.py +6 -110
- udata/tests/reuse/test_reuse_model.py +3 -4
- udata/tests/site/test_site_api.py +0 -2
- udata/tests/site/test_site_csv_exports.py +0 -2
- udata/tests/site/test_site_metrics.py +2 -4
- udata/tests/site/test_site_model.py +2 -2
- udata/tests/site/test_site_rdf.py +4 -7
- udata/tests/test_activity.py +3 -3
- udata/tests/test_api_fields.py +6 -9
- udata/tests/test_cors.py +0 -2
- udata/tests/test_dcat_commands.py +2 -3
- udata/tests/test_discussions.py +2 -7
- udata/tests/test_mail.py +150 -114
- udata/tests/test_migrations.py +413 -419
- udata/tests/test_model.py +10 -11
- udata/tests/test_notifications.py +2 -3
- udata/tests/test_owned.py +3 -3
- udata/tests/test_rdf.py +19 -15
- udata/tests/test_routing.py +5 -5
- udata/tests/test_storages.py +6 -5
- udata/tests/test_tags.py +2 -4
- udata/tests/test_topics.py +2 -4
- udata/tests/test_transfer.py +4 -5
- udata/tests/topic/test_topic_tasks.py +25 -27
- udata/tests/user/test_user_rdf.py +2 -8
- udata/tests/user/test_user_tasks.py +3 -5
- udata/tests/workers/test_jobs_commands.py +2 -2
- udata/tests/workers/test_tasks_routing.py +27 -27
- udata/translations/ar/LC_MESSAGES/udata.mo +0 -0
- udata/translations/ar/LC_MESSAGES/udata.po +369 -435
- udata/translations/de/LC_MESSAGES/udata.mo +0 -0
- udata/translations/de/LC_MESSAGES/udata.po +371 -437
- udata/translations/es/LC_MESSAGES/udata.mo +0 -0
- udata/translations/es/LC_MESSAGES/udata.po +369 -435
- udata/translations/fr/LC_MESSAGES/udata.mo +0 -0
- udata/translations/fr/LC_MESSAGES/udata.po +381 -447
- udata/translations/it/LC_MESSAGES/udata.mo +0 -0
- udata/translations/it/LC_MESSAGES/udata.po +371 -437
- udata/translations/pt/LC_MESSAGES/udata.mo +0 -0
- udata/translations/pt/LC_MESSAGES/udata.po +371 -437
- udata/translations/sr/LC_MESSAGES/udata.mo +0 -0
- udata/translations/sr/LC_MESSAGES/udata.po +372 -438
- udata/translations/udata.pot +379 -440
- udata/utils.py +14 -2
- {udata-12.0.2.dev15.dist-info → udata-13.0.1.dev21.dist-info}/METADATA +1 -2
- {udata-12.0.2.dev15.dist-info → udata-13.0.1.dev21.dist-info}/RECORD +205 -242
- udata/templates/mail/account_deleted.html +0 -5
- udata/templates/mail/account_deleted.txt +0 -6
- udata/templates/mail/account_inactivity.html +0 -40
- udata/templates/mail/account_inactivity.txt +0 -31
- udata/templates/mail/badge_added_association.html +0 -33
- udata/templates/mail/badge_added_association.txt +0 -11
- udata/templates/mail/badge_added_certified.html +0 -33
- udata/templates/mail/badge_added_certified.txt +0 -11
- udata/templates/mail/badge_added_company.html +0 -33
- udata/templates/mail/badge_added_company.txt +0 -11
- udata/templates/mail/badge_added_local_authority.html +0 -33
- udata/templates/mail/badge_added_local_authority.txt +0 -11
- udata/templates/mail/badge_added_public_service.html +0 -33
- udata/templates/mail/badge_added_public_service.txt +0 -11
- udata/templates/mail/discussion_closed.html +0 -47
- udata/templates/mail/discussion_closed.txt +0 -16
- udata/templates/mail/inactive_account_deleted.html +0 -5
- udata/templates/mail/inactive_account_deleted.txt +0 -6
- udata/templates/mail/membership_refused.html +0 -20
- udata/templates/mail/membership_refused.txt +0 -11
- udata/templates/mail/membership_request.html +0 -46
- udata/templates/mail/membership_request.txt +0 -12
- udata/templates/mail/new_discussion.html +0 -44
- udata/templates/mail/new_discussion.txt +0 -15
- udata/templates/mail/new_discussion_comment.html +0 -45
- udata/templates/mail/new_discussion_comment.txt +0 -16
- udata/templates/mail/new_member.html +0 -27
- udata/templates/mail/new_member.txt +0 -11
- udata/templates/mail/new_reuse.html +0 -37
- udata/templates/mail/new_reuse.txt +0 -9
- udata/templates/mail/test.html +0 -6
- udata/templates/mail/test.txt +0 -6
- udata/templates/mail/user_mail_card.html +0 -26
- udata/templates/security/email/base.html +0 -105
- udata/templates/security/email/base.txt +0 -6
- udata/templates/security/email/button.html +0 -3
- udata/templates/security/email/change_notice.html +0 -22
- udata/templates/security/email/change_notice.txt +0 -8
- udata/templates/security/email/confirmation_instructions.html +0 -20
- udata/templates/security/email/confirmation_instructions.txt +0 -7
- udata/templates/security/email/login_instructions.html +0 -19
- udata/templates/security/email/login_instructions.txt +0 -7
- udata/templates/security/email/reset_instructions.html +0 -24
- udata/templates/security/email/reset_instructions.txt +0 -9
- udata/templates/security/email/reset_notice.html +0 -11
- udata/templates/security/email/reset_notice.txt +0 -4
- udata/templates/security/email/welcome.html +0 -24
- udata/templates/security/email/welcome.txt +0 -9
- udata/templates/security/email/welcome_existing.html +0 -32
- udata/templates/security/email/welcome_existing.txt +0 -14
- udata/terms.md +0 -6
- udata/tests/frontend/__init__.py +0 -23
- udata/tests/metrics/conftest.py +0 -15
- {udata-12.0.2.dev15.dist-info → udata-13.0.1.dev21.dist-info}/WHEEL +0 -0
- {udata-12.0.2.dev15.dist-info → udata-13.0.1.dev21.dist-info}/entry_points.txt +0 -0
- {udata-12.0.2.dev15.dist-info → udata-13.0.1.dev21.dist-info}/licenses/LICENSE +0 -0
- {udata-12.0.2.dev15.dist-info → udata-13.0.1.dev21.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<rdf:RDF xmlns:adms="http://www.w3.org/ns/adms#"
|
|
3
|
+
xmlns:cnt="http://www.w3.org/2011/content#"
|
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
5
|
+
xmlns:dcat="http://www.w3.org/ns/dcat#"
|
|
6
|
+
xmlns:dct="http://purl.org/dc/terms/"
|
|
7
|
+
xmlns:dctype="http://purl.org/dc/dcmitype/"
|
|
8
|
+
xmlns:dqv="http://www.w3.org/ns/dqv#"
|
|
9
|
+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
|
10
|
+
xmlns:geodcatap="http://data.europa.eu/930/"
|
|
11
|
+
xmlns:gsp="http://www.opengis.net/ont/geosparql#"
|
|
12
|
+
xmlns:locn="http://www.w3.org/ns/locn#"
|
|
13
|
+
xmlns:org="http://www.w3.org/ns/org#"
|
|
14
|
+
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
|
15
|
+
xmlns:prov="http://www.w3.org/ns/prov#"
|
|
16
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
17
|
+
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
|
18
|
+
xmlns:schema="http://schema.org/"
|
|
19
|
+
xmlns:sdmx-attribute="http://purl.org/linked-data/sdmx/2009/attribute#"
|
|
20
|
+
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
|
|
21
|
+
xmlns:vcard="http://www.w3.org/2006/vcard/ns#">
|
|
22
|
+
<rdf:Description rdf:about="https://catalogue.open-datara.fr/geonetwork/srv/5a26b0f6-0ccf-46ad-ac58-734054b91977">
|
|
23
|
+
<foaf:isPrimaryTopicOf>
|
|
24
|
+
<rdf:Description>
|
|
25
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#CatalogRecord"/>
|
|
26
|
+
<foaf:primaryTopic rdf:resource="https://catalogue.open-datara.fr/geonetwork/srv/5a26b0f6-0ccf-46ad-ac58-734054b91977"/>
|
|
27
|
+
<dct:conformsTo>
|
|
28
|
+
<dct:Standard rdf:about="http://data.europa.eu/930/"/>
|
|
29
|
+
</dct:conformsTo>
|
|
30
|
+
<dct:language>
|
|
31
|
+
<dct:LinguisticSystem rdf:about="http://publications.europa.eu/resource/authority/language/FRE"/>
|
|
32
|
+
</dct:language>
|
|
33
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2022-03-22T08:51:36</dct:modified>
|
|
34
|
+
<geodcatap:user>
|
|
35
|
+
<rdf:Description>
|
|
36
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
37
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
38
|
+
<foaf:name xml:lang="fr">Administrateur de Données</foaf:name>
|
|
39
|
+
<org:memberOf>
|
|
40
|
+
<foaf:Organization>
|
|
41
|
+
<foaf:name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</foaf:name>
|
|
42
|
+
</foaf:Organization>
|
|
43
|
+
</org:memberOf>
|
|
44
|
+
<foaf:mbox rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
45
|
+
<locn:address>
|
|
46
|
+
<locn:Address>
|
|
47
|
+
<locn:thoroughfare>5 place Jules Ferry</locn:thoroughfare>
|
|
48
|
+
<locn:postName>LYON</locn:postName>
|
|
49
|
+
<locn:postCode>69006</locn:postCode>
|
|
50
|
+
<locn:adminUnitL1>France</locn:adminUnitL1>
|
|
51
|
+
</locn:Address>
|
|
52
|
+
</locn:address>
|
|
53
|
+
</rdf:Description>
|
|
54
|
+
</geodcatap:user>
|
|
55
|
+
<prov:qualifiedAttribution>
|
|
56
|
+
<prov:Attribution>
|
|
57
|
+
<prov:agent>
|
|
58
|
+
<rdf:Description>
|
|
59
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
60
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
61
|
+
<foaf:name xml:lang="fr">Administrateur de Données</foaf:name>
|
|
62
|
+
<org:memberOf>
|
|
63
|
+
<foaf:Organization>
|
|
64
|
+
<foaf:name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</foaf:name>
|
|
65
|
+
</foaf:Organization>
|
|
66
|
+
</org:memberOf>
|
|
67
|
+
<foaf:mbox rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
68
|
+
<locn:address>
|
|
69
|
+
<locn:Address>
|
|
70
|
+
<locn:thoroughfare>5 place Jules Ferry</locn:thoroughfare>
|
|
71
|
+
<locn:postName>LYON</locn:postName>
|
|
72
|
+
<locn:postCode>69006</locn:postCode>
|
|
73
|
+
<locn:adminUnitL1>France</locn:adminUnitL1>
|
|
74
|
+
</locn:Address>
|
|
75
|
+
</locn:address>
|
|
76
|
+
</rdf:Description>
|
|
77
|
+
</prov:agent>
|
|
78
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/user"/>
|
|
79
|
+
<dcat:hadRole>
|
|
80
|
+
<dcat:Role rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/user"/>
|
|
81
|
+
</dcat:hadRole>
|
|
82
|
+
</prov:Attribution>
|
|
83
|
+
</prov:qualifiedAttribution>
|
|
84
|
+
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string">5a26b0f6-0ccf-46ad-ac58-734054b91977</dct:identifier>
|
|
85
|
+
<dct:source rdf:parseType="Resource">
|
|
86
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#CatalogRecord"/>
|
|
87
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2022-03-22T08:51:36</dct:modified>
|
|
88
|
+
<cnt:characterEncoding rdf:datatype="http://www.w3.org/2001/XMLSchema#string">UTF-8</cnt:characterEncoding>
|
|
89
|
+
<dct:conformsTo rdf:parseType="Resource">
|
|
90
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Standard"/>
|
|
91
|
+
<dct:title xml:lang="fr">ISO 19115:2003/19139</dct:title>
|
|
92
|
+
<owl:versionInfo xml:lang="fr">1.0</owl:versionInfo>
|
|
93
|
+
</dct:conformsTo>
|
|
94
|
+
</dct:source>
|
|
95
|
+
</rdf:Description>
|
|
96
|
+
</foaf:isPrimaryTopicOf>
|
|
97
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#Dataset"/>
|
|
98
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResourceType/dataset"/>
|
|
99
|
+
<dct:title xml:lang="fr">Campings issus de la BDTopo de Auvergne Rhône-Alpes</dct:title>
|
|
100
|
+
<dct:description xml:lang="fr">Campings issus de la table des points d'interêts "culture et loisir" de la BDTopo de l'IGN</dct:description>
|
|
101
|
+
<dct:subject rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/TopicCategory/structure"/>
|
|
102
|
+
<dcat:keyword xml:lang="fr">RHONE ALPES</dcat:keyword>
|
|
103
|
+
<dcat:theme rdf:parseType="Resource">
|
|
104
|
+
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
|
|
105
|
+
<skos:prefLabel xml:lang="fr">Gestion des crises et des risques</skos:prefLabel>
|
|
106
|
+
<skos:inScheme>
|
|
107
|
+
<skos:ConceptScheme>
|
|
108
|
+
<dct:title xml:lang="fr">theme.environnement.rdf</dct:title>
|
|
109
|
+
</skos:ConceptScheme>
|
|
110
|
+
</skos:inScheme>
|
|
111
|
+
</dcat:theme>
|
|
112
|
+
<dcat:keyword xml:lang="fr">Culture, Société, Service</dcat:keyword>
|
|
113
|
+
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://catalogue.open-datara.fr/geonetwork/srv/5a26b0f6-0ccf-46ad-ac58-734054b91977</dct:identifier>
|
|
114
|
+
<dct:language>
|
|
115
|
+
<dct:LinguisticSystem rdf:about="http://publications.europa.eu/resource/authority/language/FRE"/>
|
|
116
|
+
</dct:language>
|
|
117
|
+
<dct:spatial rdf:parseType="Resource">
|
|
118
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Location"/>
|
|
119
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"><![CDATA[POLYGON((2.06287814767608 46.8042870493687,7.18556459920588 46.8042870493687,7.18556459920588 44.1154926129761,2.06287814767608 44.1154926129761,2.06287814767608 46.8042870493687))]]></locn:geometry>
|
|
120
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral"><![CDATA[<gml:Envelope srsName="http://www.opengis.net/def/crs/OGC/1.3/CRS84"><gml:lowerCorner>2.06287814767608 44.1154926129761</gml:lowerCorner><gml:upperCorner>7.18556459920588 46.8042870493687</gml:upperCorner></gml:Envelope>]]></locn:geometry>
|
|
121
|
+
<locn:geometry rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"><![CDATA[{"type":"Polygon","coordinates":[[[2.06287814767608,46.8042870493687],[7.18556459920588,46.8042870493687],[7.18556459920588,44.1154926129761],[2.06287814767608,44.1154926129761],[2.06287814767608,46.8042870493687]]]}]]></locn:geometry>
|
|
122
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"><![CDATA[{"type":"Polygon","coordinates":[[[2.06287814767608,46.8042870493687],[7.18556459920588,46.8042870493687],[7.18556459920588,44.1154926129761],[2.06287814767608,44.1154926129761],[2.06287814767608,46.8042870493687]]]}]]></locn:geometry>
|
|
123
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"><![CDATA[POLYGON((2.06287814767608 46.8042870493687,7.18556459920588 46.8042870493687,7.18556459920588 44.1154926129761,2.06287814767608 44.1154926129761,2.06287814767608 46.8042870493687))]]></dcat:bbox>
|
|
124
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral"><![CDATA[<gml:Envelope srsName="http://www.opengis.net/def/crs/OGC/1.3/CRS84"><gml:lowerCorner>2.06287814767608 44.1154926129761</gml:lowerCorner><gml:upperCorner>7.18556459920588 46.8042870493687</gml:upperCorner></gml:Envelope>]]></dcat:bbox>
|
|
125
|
+
<dcat:bbox rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"><![CDATA[{"type":"Polygon","coordinates":[[[2.06287814767608,46.8042870493687],[7.18556459920588,46.8042870493687],[7.18556459920588,44.1154926129761],[2.06287814767608,44.1154926129761],[2.06287814767608,46.8042870493687]]]}]]></dcat:bbox>
|
|
126
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"><![CDATA[{"type":"Polygon","coordinates":[[[2.06287814767608,46.8042870493687],[7.18556459920588,46.8042870493687],[7.18556459920588,44.1154926129761],[2.06287814767608,44.1154926129761],[2.06287814767608,46.8042870493687]]]}]]></dcat:bbox>
|
|
127
|
+
</dct:spatial>
|
|
128
|
+
<dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date"/>
|
|
129
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date"/>
|
|
130
|
+
<dct:provenance>
|
|
131
|
+
<dct:ProvenanceStatement>
|
|
132
|
+
<rdfs:label xml:lang="fr">requête sur le champ nature='Camping' de la table PAI_CULTURE_SERVICE de la BDTopo et agrégation régionale</rdfs:label>
|
|
133
|
+
</dct:ProvenanceStatement>
|
|
134
|
+
</dct:provenance>
|
|
135
|
+
<dct:conformsTo rdf:parseType="Resource">
|
|
136
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Standard"/>
|
|
137
|
+
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
|
|
138
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/glossary/SpatialReferenceSystem"/>
|
|
139
|
+
<dct:title xml:lang="fr">RGF93 / Lambert-93 (EPSG:2154)</dct:title>
|
|
140
|
+
<skos:prefLabel xml:lang="fr">RGF93 / Lambert-93 (EPSG:2154)</skos:prefLabel>
|
|
141
|
+
<skos:inScheme>
|
|
142
|
+
<skos:ConceptScheme>
|
|
143
|
+
<dct:title xml:lang="fr">EPSG</dct:title>
|
|
144
|
+
</skos:ConceptScheme>
|
|
145
|
+
</skos:inScheme>
|
|
146
|
+
<owl:versionInfo xml:lang="fr">7.4</owl:versionInfo>
|
|
147
|
+
</dct:conformsTo>
|
|
148
|
+
<dqv:hasQualityMeasurement>
|
|
149
|
+
<dqv:QualityMeasurement>
|
|
150
|
+
<dqv:isMeasurementOf>
|
|
151
|
+
<dqv:Metric rdf:about="http://data.europa.eu/930/spatialResolutionAsScale"/>
|
|
152
|
+
</dqv:isMeasurementOf>
|
|
153
|
+
<dqv:value rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.0001</dqv:value>
|
|
154
|
+
</dqv:QualityMeasurement>
|
|
155
|
+
</dqv:hasQualityMeasurement>
|
|
156
|
+
<dcat:landingPage>
|
|
157
|
+
<foaf:Document rdf:about="https://carto.open-datara.fr/cgi-bin/mapservwfs?">
|
|
158
|
+
<dct:title xml:lang="fr">CampingsissusdelaBDTopodeRhone</dct:title>
|
|
159
|
+
<dct:description xml:lang="fr">CampingsissusdelaBDTopodeRhone</dct:description>
|
|
160
|
+
</foaf:Document>
|
|
161
|
+
</dcat:landingPage>
|
|
162
|
+
<dcat:distribution>
|
|
163
|
+
<dcat:Distribution>
|
|
164
|
+
<dct:title xml:lang="fr">Accès au téléchargement des données</dct:title>
|
|
165
|
+
<dcat:accessURL rdf:resource="https://telechargement.open-datara.fr/download/5a26b0f6-0ccf-46ad-ac58-734054b91977"/>
|
|
166
|
+
<dct:license>
|
|
167
|
+
<dct:LicenseDocument>
|
|
168
|
+
<rdfs:label xml:lang="fr">Ayant droit IGN Bénéficiaires du RGE</rdfs:label>
|
|
169
|
+
</dct:LicenseDocument>
|
|
170
|
+
</dct:license>
|
|
171
|
+
<adms:representationTechnique rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/SpatialRepresentationType/vector"/>
|
|
172
|
+
<cnt:characterEncoding rdf:datatype="http://www.w3.org/2001/XMLSchema#string">UTF-8</cnt:characterEncoding>
|
|
173
|
+
</dcat:Distribution>
|
|
174
|
+
</dcat:distribution>
|
|
175
|
+
<dcat:landingPage>
|
|
176
|
+
<foaf:Document rdf:about="https://catalogue.open-datara.fr/geosource/consultationWMS?IDT=2429">
|
|
177
|
+
<dct:title xml:lang="fr">Accès à la visualisation des données</dct:title>
|
|
178
|
+
</foaf:Document>
|
|
179
|
+
</dcat:landingPage>
|
|
180
|
+
<dct:rightsHolder>
|
|
181
|
+
<rdf:Description>
|
|
182
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Organization"/>
|
|
183
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
184
|
+
<foaf:name xml:lang="fr">IGN</foaf:name>
|
|
185
|
+
<foaf:mbox rdf:resource="mailto:sav.bd@ign.fr"/>
|
|
186
|
+
</rdf:Description>
|
|
187
|
+
</dct:rightsHolder>
|
|
188
|
+
<prov:qualifiedAttribution>
|
|
189
|
+
<prov:Attribution>
|
|
190
|
+
<prov:agent>
|
|
191
|
+
<rdf:Description>
|
|
192
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Organization"/>
|
|
193
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
194
|
+
<foaf:name xml:lang="fr">IGN</foaf:name>
|
|
195
|
+
<foaf:mbox rdf:resource="mailto:sav.bd@ign.fr"/>
|
|
196
|
+
</rdf:Description>
|
|
197
|
+
</prov:agent>
|
|
198
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/owner"/>
|
|
199
|
+
<dcat:hadRole>
|
|
200
|
+
<dcat:Role rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/owner"/>
|
|
201
|
+
</dcat:hadRole>
|
|
202
|
+
</prov:Attribution>
|
|
203
|
+
</prov:qualifiedAttribution>
|
|
204
|
+
<geodcatap:user>
|
|
205
|
+
<rdf:Description>
|
|
206
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
207
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
208
|
+
<foaf:name xml:lang="fr">Administrateur de Données</foaf:name>
|
|
209
|
+
<org:memberOf>
|
|
210
|
+
<foaf:Organization>
|
|
211
|
+
<foaf:name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</foaf:name>
|
|
212
|
+
</foaf:Organization>
|
|
213
|
+
</org:memberOf>
|
|
214
|
+
<foaf:mbox rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
215
|
+
<locn:address>
|
|
216
|
+
<locn:Address>
|
|
217
|
+
<locn:thoroughfare>5 place Jules Ferry</locn:thoroughfare>
|
|
218
|
+
<locn:postName>LYON</locn:postName>
|
|
219
|
+
<locn:postCode>69006</locn:postCode>
|
|
220
|
+
<locn:adminUnitL1>France</locn:adminUnitL1>
|
|
221
|
+
</locn:Address>
|
|
222
|
+
</locn:address>
|
|
223
|
+
</rdf:Description>
|
|
224
|
+
</geodcatap:user>
|
|
225
|
+
<prov:qualifiedAttribution>
|
|
226
|
+
<prov:Attribution>
|
|
227
|
+
<prov:agent>
|
|
228
|
+
<rdf:Description>
|
|
229
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
230
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
231
|
+
<foaf:name xml:lang="fr">Administrateur de Données</foaf:name>
|
|
232
|
+
<org:memberOf>
|
|
233
|
+
<foaf:Organization>
|
|
234
|
+
<foaf:name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</foaf:name>
|
|
235
|
+
</foaf:Organization>
|
|
236
|
+
</org:memberOf>
|
|
237
|
+
<foaf:mbox rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
238
|
+
<locn:address>
|
|
239
|
+
<locn:Address>
|
|
240
|
+
<locn:thoroughfare>5 place Jules Ferry</locn:thoroughfare>
|
|
241
|
+
<locn:postName>LYON</locn:postName>
|
|
242
|
+
<locn:postCode>69006</locn:postCode>
|
|
243
|
+
<locn:adminUnitL1>France</locn:adminUnitL1>
|
|
244
|
+
</locn:Address>
|
|
245
|
+
</locn:address>
|
|
246
|
+
</rdf:Description>
|
|
247
|
+
</prov:agent>
|
|
248
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/user"/>
|
|
249
|
+
<dcat:hadRole>
|
|
250
|
+
<dcat:Role rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/user"/>
|
|
251
|
+
</dcat:hadRole>
|
|
252
|
+
</prov:Attribution>
|
|
253
|
+
</prov:qualifiedAttribution>
|
|
254
|
+
</rdf:Description>
|
|
255
|
+
</rdf:RDF>
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<rdf:RDF xmlns:adms="http://www.w3.org/ns/adms#"
|
|
3
|
+
xmlns:cnt="http://www.w3.org/2011/content#"
|
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
5
|
+
xmlns:dcat="http://www.w3.org/ns/dcat#"
|
|
6
|
+
xmlns:dct="http://purl.org/dc/terms/"
|
|
7
|
+
xmlns:dctype="http://purl.org/dc/dcmitype/"
|
|
8
|
+
xmlns:dqv="http://www.w3.org/ns/dqv#"
|
|
9
|
+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
|
10
|
+
xmlns:geodcatap="http://data.europa.eu/930/"
|
|
11
|
+
xmlns:gsp="http://www.opengis.net/ont/geosparql#"
|
|
12
|
+
xmlns:locn="http://www.w3.org/ns/locn#"
|
|
13
|
+
xmlns:org="http://www.w3.org/ns/org#"
|
|
14
|
+
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
|
15
|
+
xmlns:prov="http://www.w3.org/ns/prov#"
|
|
16
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
17
|
+
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
|
18
|
+
xmlns:schema="http://schema.org/"
|
|
19
|
+
xmlns:sdmx-attribute="http://purl.org/linked-data/sdmx/2009/attribute#"
|
|
20
|
+
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
|
|
21
|
+
xmlns:vcard="http://www.w3.org/2006/vcard/ns#">
|
|
22
|
+
<rdf:Description rdf:about="https://catalogue.open-datara.fr/geonetwork/srv/f40c3860-7236-4b30-a141-23b8ae33f7b2">
|
|
23
|
+
<foaf:isPrimaryTopicOf>
|
|
24
|
+
<rdf:Description>
|
|
25
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#CatalogRecord"/>
|
|
26
|
+
<foaf:primaryTopic rdf:resource="https://catalogue.open-datara.fr/geonetwork/srv/f40c3860-7236-4b30-a141-23b8ae33f7b2"/>
|
|
27
|
+
<dct:conformsTo>
|
|
28
|
+
<dct:Standard rdf:about="http://data.europa.eu/930/"/>
|
|
29
|
+
</dct:conformsTo>
|
|
30
|
+
<dct:language>
|
|
31
|
+
<dct:LinguisticSystem rdf:about="http://publications.europa.eu/resource/authority/language/FRE"/>
|
|
32
|
+
</dct:language>
|
|
33
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2025-06-23T06:57:04.90887Z</dct:modified>
|
|
34
|
+
<dcat:contactPoint>
|
|
35
|
+
<rdf:Description>
|
|
36
|
+
<rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Individual"/>
|
|
37
|
+
<vcard:fn xml:lang="fr">Administrateur de Données</vcard:fn>
|
|
38
|
+
<vcard:organization-name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</vcard:organization-name>
|
|
39
|
+
<vcard:hasEmail rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
40
|
+
</rdf:Description>
|
|
41
|
+
</dcat:contactPoint>
|
|
42
|
+
<prov:qualifiedAttribution>
|
|
43
|
+
<prov:Attribution>
|
|
44
|
+
<prov:agent>
|
|
45
|
+
<rdf:Description>
|
|
46
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
47
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
48
|
+
<foaf:name xml:lang="fr">Administrateur de Données</foaf:name>
|
|
49
|
+
<org:memberOf>
|
|
50
|
+
<foaf:Organization>
|
|
51
|
+
<foaf:name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</foaf:name>
|
|
52
|
+
</foaf:Organization>
|
|
53
|
+
</org:memberOf>
|
|
54
|
+
<foaf:mbox rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
55
|
+
</rdf:Description>
|
|
56
|
+
</prov:agent>
|
|
57
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/pointOfContact"/>
|
|
58
|
+
<dcat:hadRole>
|
|
59
|
+
<dcat:Role rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/pointOfContact"/>
|
|
60
|
+
</dcat:hadRole>
|
|
61
|
+
</prov:Attribution>
|
|
62
|
+
</prov:qualifiedAttribution>
|
|
63
|
+
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string">f40c3860-7236-4b30-a141-23b8ae33f7b2</dct:identifier>
|
|
64
|
+
<dct:source rdf:parseType="Resource">
|
|
65
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#CatalogRecord"/>
|
|
66
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2025-06-23T06:57:04.90887Z</dct:modified>
|
|
67
|
+
<cnt:characterEncoding rdf:datatype="http://www.w3.org/2001/XMLSchema#string">UTF-8</cnt:characterEncoding>
|
|
68
|
+
<dct:conformsTo rdf:parseType="Resource">
|
|
69
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Standard"/>
|
|
70
|
+
<dct:title xml:lang="fr">ISO 19115:2003/19139</dct:title>
|
|
71
|
+
<owl:versionInfo xml:lang="fr">1.0</owl:versionInfo>
|
|
72
|
+
</dct:conformsTo>
|
|
73
|
+
</dct:source>
|
|
74
|
+
</rdf:Description>
|
|
75
|
+
</foaf:isPrimaryTopicOf>
|
|
76
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#Dataset"/>
|
|
77
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResourceType/dataset"/>
|
|
78
|
+
<dct:title xml:lang="fr">Couche relevés de végétations patrimoniales. PRFB. 2020</dct:title>
|
|
79
|
+
<dct:description xml:lang="fr">Cette couche présente pour les départements ex Rhône-Alpes; les données ponctuelles d’occurrences de végétations rattachées au prodrome des végétations ou au référentiel syntaxonomique du CBNA. A ces informations d’occurences, ont été ajoutées par jointure spatiale les informations des couches départementales "formation_vegetale_bdf".</dct:description>
|
|
80
|
+
<dct:subject rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/TopicCategory/biota"/>
|
|
81
|
+
<dcat:keyword xml:lang="fr">Flore</dcat:keyword>
|
|
82
|
+
<dcat:theme rdf:parseType="Resource">
|
|
83
|
+
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
|
|
84
|
+
<skos:prefLabel xml:lang="fr">AUVERGNE-RHONE-ALPES</skos:prefLabel>
|
|
85
|
+
<skos:inScheme>
|
|
86
|
+
<skos:ConceptScheme>
|
|
87
|
+
<dct:title xml:lang="fr">NouvellesRegionAdminExpress</dct:title>
|
|
88
|
+
<dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2006-09-22</dct:issued>
|
|
89
|
+
</skos:ConceptScheme>
|
|
90
|
+
</skos:inScheme>
|
|
91
|
+
</dcat:theme>
|
|
92
|
+
<dcat:theme rdf:parseType="Resource">
|
|
93
|
+
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
|
|
94
|
+
<skos:prefLabel xml:lang="fr">Habitats et biotopes</skos:prefLabel>
|
|
95
|
+
<skos:inScheme>
|
|
96
|
+
<skos:ConceptScheme>
|
|
97
|
+
<dct:title xml:lang="fr">GEMET - INSPIRE themes, version 1.0</dct:title>
|
|
98
|
+
<dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2008-06-01</dct:issued>
|
|
99
|
+
</skos:ConceptScheme>
|
|
100
|
+
</skos:inScheme>
|
|
101
|
+
</dcat:theme>
|
|
102
|
+
<dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://catalogue.open-datara.fr/geonetwork/srv/f40c3860-7236-4b30-a141-23b8ae33f7b2</dct:identifier>
|
|
103
|
+
<dct:language>
|
|
104
|
+
<dct:LinguisticSystem rdf:about="http://publications.europa.eu/resource/authority/language/FRE"/>
|
|
105
|
+
</dct:language>
|
|
106
|
+
<dct:spatial rdf:parseType="Resource">
|
|
107
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Location"/>
|
|
108
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"><![CDATA[POLYGON((2.0629141330719 46.8040313720703,7.18588781356812 46.8040313720703,7.18588781356812 44.1153793334961,2.0629141330719 44.1153793334961,2.0629141330719 46.8040313720703))]]></locn:geometry>
|
|
109
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral"><![CDATA[<gml:Envelope srsName="http://www.opengis.net/def/crs/OGC/1.3/CRS84"><gml:lowerCorner>2.0629141330719 44.1153793334961</gml:lowerCorner><gml:upperCorner>7.18588781356812 46.8040313720703</gml:upperCorner></gml:Envelope>]]></locn:geometry>
|
|
110
|
+
<locn:geometry rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></locn:geometry>
|
|
111
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></locn:geometry>
|
|
112
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"><![CDATA[POLYGON((2.0629141330719 46.8040313720703,7.18588781356812 46.8040313720703,7.18588781356812 44.1153793334961,2.0629141330719 44.1153793334961,2.0629141330719 46.8040313720703))]]></dcat:bbox>
|
|
113
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral"><![CDATA[<gml:Envelope srsName="http://www.opengis.net/def/crs/OGC/1.3/CRS84"><gml:lowerCorner>2.0629141330719 44.1153793334961</gml:lowerCorner><gml:upperCorner>7.18588781356812 46.8040313720703</gml:upperCorner></gml:Envelope>]]></dcat:bbox>
|
|
114
|
+
<dcat:bbox rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></dcat:bbox>
|
|
115
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></dcat:bbox>
|
|
116
|
+
</dct:spatial>
|
|
117
|
+
<dct:spatial rdf:parseType="Resource">
|
|
118
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Location"/>
|
|
119
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"><![CDATA[POLYGON((2.0629141330719 46.8040313720703,7.18588781356812 46.8040313720703,7.18588781356812 44.1153793334961,2.0629141330719 44.1153793334961,2.0629141330719 46.8040313720703))]]></locn:geometry>
|
|
120
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral"><![CDATA[<gml:Envelope srsName="http://www.opengis.net/def/crs/OGC/1.3/CRS84"><gml:lowerCorner>2.0629141330719 44.1153793334961</gml:lowerCorner><gml:upperCorner>7.18588781356812 46.8040313720703</gml:upperCorner></gml:Envelope>]]></locn:geometry>
|
|
121
|
+
<locn:geometry rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></locn:geometry>
|
|
122
|
+
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></locn:geometry>
|
|
123
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"><![CDATA[POLYGON((2.0629141330719 46.8040313720703,7.18588781356812 46.8040313720703,7.18588781356812 44.1153793334961,2.0629141330719 44.1153793334961,2.0629141330719 46.8040313720703))]]></dcat:bbox>
|
|
124
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral"><![CDATA[<gml:Envelope srsName="http://www.opengis.net/def/crs/OGC/1.3/CRS84"><gml:lowerCorner>2.0629141330719 44.1153793334961</gml:lowerCorner><gml:upperCorner>7.18588781356812 46.8040313720703</gml:upperCorner></gml:Envelope>]]></dcat:bbox>
|
|
125
|
+
<dcat:bbox rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></dcat:bbox>
|
|
126
|
+
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"><![CDATA[{"type":"Polygon","coordinates":[[[2.0629141330719,46.8040313720703],[7.18588781356812,46.8040313720703],[7.18588781356812,44.1153793334961],[2.0629141330719,44.1153793334961],[2.0629141330719,46.8040313720703]]]}]]></dcat:bbox>
|
|
127
|
+
</dct:spatial>
|
|
128
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date"/>
|
|
129
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-01-27</dct:modified>
|
|
130
|
+
<dct:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2020-09-08</dct:created>
|
|
131
|
+
<dct:provenance>
|
|
132
|
+
<dct:ProvenanceStatement>
|
|
133
|
+
<rdfs:label xml:lang="fr">agrégation des 3 couches transmises par les CBN Alpin et Massif Central pour le PRFB. pour le CBNA : donnees_flore_prodrome_point.shp / donnees_flore_syntaxon obtenues par extraction de la base flore CBNA et jointure spatiale avec les couches départementales "formation_vegetale_bdf". Pour le CBNMC : releves_vegetations_patrimoniales_Massif_central.shp</rdfs:label>
|
|
134
|
+
</dct:ProvenanceStatement>
|
|
135
|
+
</dct:provenance>
|
|
136
|
+
<dct:conformsTo rdf:parseType="Resource">
|
|
137
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Standard"/>
|
|
138
|
+
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
|
|
139
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/glossary/SpatialReferenceSystem"/>
|
|
140
|
+
<dct:title xml:lang="fr">RGF93 / Lambert-93 (EPSG:2154)</dct:title>
|
|
141
|
+
<skos:prefLabel xml:lang="fr">RGF93 / Lambert-93 (EPSG:2154)</skos:prefLabel>
|
|
142
|
+
<skos:inScheme>
|
|
143
|
+
<skos:ConceptScheme>
|
|
144
|
+
<dct:title xml:lang="fr">EPSG</dct:title>
|
|
145
|
+
</skos:ConceptScheme>
|
|
146
|
+
</skos:inScheme>
|
|
147
|
+
<owl:versionInfo xml:lang="fr">7.4</owl:versionInfo>
|
|
148
|
+
</dct:conformsTo>
|
|
149
|
+
<dqv:hasQualityMeasurement>
|
|
150
|
+
<dqv:QualityMeasurement>
|
|
151
|
+
<dqv:isMeasurementOf>
|
|
152
|
+
<dqv:Metric rdf:about="http://data.europa.eu/930/spatialResolutionAsScale"/>
|
|
153
|
+
</dqv:isMeasurementOf>
|
|
154
|
+
<dqv:value rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.0002</dqv:value>
|
|
155
|
+
</dqv:QualityMeasurement>
|
|
156
|
+
</dqv:hasQualityMeasurement>
|
|
157
|
+
<dct:conformsTo rdf:parseType="Resource">
|
|
158
|
+
<rdf:type rdf:resource="http://purl.org/dc/terms/Standard"/>
|
|
159
|
+
<dct:title xml:lang="fr">COMMISSION REGULATION (EU) No 1089/2010 of 23 November 2010 implementing Directive 2007/2/EC of the European Parliament and of the Council as regards interoperability of spatial data sets and services</dct:title>
|
|
160
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date"/>
|
|
161
|
+
</dct:conformsTo>
|
|
162
|
+
<prov:wasUsedBy>
|
|
163
|
+
<prov:Activity>
|
|
164
|
+
<prov:used>
|
|
165
|
+
<prov:Entity rdf:about="https://catalogue.open-datara.fr/geonetwork/srv/f40c3860-7236-4b30-a141-23b8ae33f7b2"/>
|
|
166
|
+
</prov:used>
|
|
167
|
+
<prov:qualifiedAssociation rdf:parseType="Resource">
|
|
168
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Association"/>
|
|
169
|
+
<prov:hadPlan rdf:parseType="Resource">
|
|
170
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Plan"/>
|
|
171
|
+
<prov:wasDerivedFrom rdf:parseType="Resource">
|
|
172
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Entity"/>
|
|
173
|
+
<dct:title xml:lang="fr">COMMISSION REGULATION (EU) No 1089/2010 of 23 November 2010 implementing Directive 2007/2/EC of the European Parliament and of the Council as regards interoperability of spatial data sets and services</dct:title>
|
|
174
|
+
<dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date"/>
|
|
175
|
+
</prov:wasDerivedFrom>
|
|
176
|
+
</prov:hadPlan>
|
|
177
|
+
</prov:qualifiedAssociation>
|
|
178
|
+
<prov:generated rdf:parseType="Resource">
|
|
179
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Entity"/>
|
|
180
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/DegreeOfConformity/conformant"/>
|
|
181
|
+
<dct:description xml:lang="fr">etc</dct:description>
|
|
182
|
+
</prov:generated>
|
|
183
|
+
</prov:Activity>
|
|
184
|
+
</prov:wasUsedBy>
|
|
185
|
+
<dct:rightsHolder>
|
|
186
|
+
<rdf:Description>
|
|
187
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
188
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
189
|
+
<foaf:name xml:lang="fr">Jean-Michel GENIS</foaf:name>
|
|
190
|
+
<org:memberOf>
|
|
191
|
+
<foaf:Organization>
|
|
192
|
+
<foaf:name xml:lang="fr">Conservatoire Botanique National Alpin</foaf:name>
|
|
193
|
+
</foaf:Organization>
|
|
194
|
+
</org:memberOf>
|
|
195
|
+
<foaf:mbox rdf:resource="mailto:jm.genis@cbn-alpin.fr"/>
|
|
196
|
+
</rdf:Description>
|
|
197
|
+
</dct:rightsHolder>
|
|
198
|
+
<prov:qualifiedAttribution>
|
|
199
|
+
<prov:Attribution>
|
|
200
|
+
<prov:agent>
|
|
201
|
+
<rdf:Description>
|
|
202
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
203
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
204
|
+
<foaf:name xml:lang="fr">Jean-Michel GENIS</foaf:name>
|
|
205
|
+
<org:memberOf>
|
|
206
|
+
<foaf:Organization>
|
|
207
|
+
<foaf:name xml:lang="fr">Conservatoire Botanique National Alpin</foaf:name>
|
|
208
|
+
</foaf:Organization>
|
|
209
|
+
</org:memberOf>
|
|
210
|
+
<foaf:mbox rdf:resource="mailto:jm.genis@cbn-alpin.fr"/>
|
|
211
|
+
</rdf:Description>
|
|
212
|
+
</prov:agent>
|
|
213
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/owner"/>
|
|
214
|
+
<dcat:hadRole>
|
|
215
|
+
<dcat:Role rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/owner"/>
|
|
216
|
+
</dcat:hadRole>
|
|
217
|
+
</prov:Attribution>
|
|
218
|
+
</prov:qualifiedAttribution>
|
|
219
|
+
<dct:rightsHolder>
|
|
220
|
+
<rdf:Description>
|
|
221
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Organization"/>
|
|
222
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
223
|
+
<foaf:name xml:lang="fr">Conservatoire Botanique National Massif Central</foaf:name>
|
|
224
|
+
<foaf:mbox rdf:resource="mailto:Benoit.Renaux@cbnmc.fr"/>
|
|
225
|
+
</rdf:Description>
|
|
226
|
+
</dct:rightsHolder>
|
|
227
|
+
<prov:qualifiedAttribution>
|
|
228
|
+
<prov:Attribution>
|
|
229
|
+
<prov:agent>
|
|
230
|
+
<rdf:Description>
|
|
231
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Organization"/>
|
|
232
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
233
|
+
<foaf:name xml:lang="fr">Conservatoire Botanique National Massif Central</foaf:name>
|
|
234
|
+
<foaf:mbox rdf:resource="mailto:Benoit.Renaux@cbnmc.fr"/>
|
|
235
|
+
</rdf:Description>
|
|
236
|
+
</prov:agent>
|
|
237
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/owner"/>
|
|
238
|
+
<dcat:hadRole>
|
|
239
|
+
<dcat:Role rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/owner"/>
|
|
240
|
+
</dcat:hadRole>
|
|
241
|
+
</prov:Attribution>
|
|
242
|
+
</prov:qualifiedAttribution>
|
|
243
|
+
<dcat:contactPoint>
|
|
244
|
+
<rdf:Description>
|
|
245
|
+
<rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Individual"/>
|
|
246
|
+
<vcard:fn xml:lang="fr">Administrateur de Données</vcard:fn>
|
|
247
|
+
<vcard:organization-name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</vcard:organization-name>
|
|
248
|
+
<vcard:hasEmail rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
249
|
+
<vcard:hasAddress>
|
|
250
|
+
<vcard:Address>
|
|
251
|
+
<vcard:street-address>5 place Jules Ferry</vcard:street-address>
|
|
252
|
+
<vcard:locality>LYON</vcard:locality>
|
|
253
|
+
<vcard:postal-code>69006</vcard:postal-code>
|
|
254
|
+
<vcard:country-name>France</vcard:country-name>
|
|
255
|
+
</vcard:Address>
|
|
256
|
+
</vcard:hasAddress>
|
|
257
|
+
</rdf:Description>
|
|
258
|
+
</dcat:contactPoint>
|
|
259
|
+
<prov:qualifiedAttribution>
|
|
260
|
+
<prov:Attribution>
|
|
261
|
+
<prov:agent>
|
|
262
|
+
<rdf:Description>
|
|
263
|
+
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
|
|
264
|
+
<rdf:type rdf:resource="http://www.w3.org/ns/prov#Agent"/>
|
|
265
|
+
<foaf:name xml:lang="fr">Administrateur de Données</foaf:name>
|
|
266
|
+
<org:memberOf>
|
|
267
|
+
<foaf:Organization>
|
|
268
|
+
<foaf:name xml:lang="fr">Direction Régionale de l’Environnement de l’Aménagement et du Logement d'Auvergne-Rhône-Alpes (DREAL Auvergne-Rhône-Alpes)</foaf:name>
|
|
269
|
+
</foaf:Organization>
|
|
270
|
+
</org:memberOf>
|
|
271
|
+
<foaf:mbox rdf:resource="mailto:sig.dreal-ara@developpement-durable.gouv.fr"/>
|
|
272
|
+
<locn:address>
|
|
273
|
+
<locn:Address>
|
|
274
|
+
<locn:thoroughfare>5 place Jules Ferry</locn:thoroughfare>
|
|
275
|
+
<locn:postName>LYON</locn:postName>
|
|
276
|
+
<locn:postCode>69006</locn:postCode>
|
|
277
|
+
<locn:adminUnitL1>France</locn:adminUnitL1>
|
|
278
|
+
</locn:Address>
|
|
279
|
+
</locn:address>
|
|
280
|
+
</rdf:Description>
|
|
281
|
+
</prov:agent>
|
|
282
|
+
<dct:type rdf:resource="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/pointOfContact"/>
|
|
283
|
+
<dcat:hadRole>
|
|
284
|
+
<dcat:Role rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/pointOfContact"/>
|
|
285
|
+
</dcat:hadRole>
|
|
286
|
+
</prov:Attribution>
|
|
287
|
+
</prov:qualifiedAttribution>
|
|
288
|
+
</rdf:Description>
|
|
289
|
+
</rdf:RDF>
|
udata/harvest/tests/factories.py
CHANGED
|
@@ -79,4 +79,4 @@ class MockBackendsMixin(object):
|
|
|
79
79
|
@pytest.fixture(autouse=True)
|
|
80
80
|
def mock_backend(self, mocker):
|
|
81
81
|
return_value = {"factory": FactoryBackend}
|
|
82
|
-
mocker.patch("udata.harvest.backends.
|
|
82
|
+
mocker.patch("udata.harvest.backends.get_all_backends", return_value=return_value)
|
|
@@ -15,12 +15,14 @@ from udata.core.dataset.factories import DatasetFactory
|
|
|
15
15
|
from udata.core.dataset.models import HarvestDatasetMetadata
|
|
16
16
|
from udata.core.organization.factories import OrganizationFactory
|
|
17
17
|
from udata.core.user.factories import UserFactory
|
|
18
|
+
from udata.harvest.backends import get_enabled_backends
|
|
19
|
+
from udata.harvest.backends.base import BaseBackend
|
|
18
20
|
from udata.models import Dataset, PeriodicTask
|
|
21
|
+
from udata.tests.api import PytestOnlyDBTestCase
|
|
19
22
|
from udata.tests.helpers import assert_emit, assert_equal_dates, assert_not_emit
|
|
20
23
|
from udata.utils import faker
|
|
21
24
|
|
|
22
25
|
from .. import actions, signals
|
|
23
|
-
from ..backends import BaseBackend
|
|
24
26
|
from ..models import (
|
|
25
27
|
VALIDATION_ACCEPTED,
|
|
26
28
|
VALIDATION_PENDING,
|
|
@@ -40,14 +42,11 @@ from .factories import (
|
|
|
40
42
|
|
|
41
43
|
log = logging.getLogger(__name__)
|
|
42
44
|
|
|
43
|
-
pytestmark = [
|
|
44
|
-
pytest.mark.usefixtures("clean_db"),
|
|
45
|
-
]
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
class HarvestActionsTest:
|
|
46
|
+
class HarvestActionsTest(MockBackendsMixin, PytestOnlyDBTestCase):
|
|
49
47
|
def test_list_backends(self):
|
|
50
|
-
|
|
48
|
+
assert len(get_enabled_backends()) > 0
|
|
49
|
+
for backend in get_enabled_backends().values():
|
|
51
50
|
assert issubclass(backend, BaseBackend)
|
|
52
51
|
|
|
53
52
|
def test_list_sources(self):
|
|
@@ -453,7 +452,10 @@ class HarvestActionsTest:
|
|
|
453
452
|
assert result.errors == 1
|
|
454
453
|
|
|
455
454
|
|
|
456
|
-
class ExecutionTestMixin(MockBackendsMixin):
|
|
455
|
+
class ExecutionTestMixin(MockBackendsMixin, PytestOnlyDBTestCase):
|
|
456
|
+
def action(self, *args, **kwargs):
|
|
457
|
+
raise NotImplementedError
|
|
458
|
+
|
|
457
459
|
def test_default(self):
|
|
458
460
|
org = OrganizationFactory()
|
|
459
461
|
source = HarvestSourceFactory(backend="factory", organization=org)
|
|
@@ -610,7 +612,7 @@ class HarvestRunTest(ExecutionTestMixin):
|
|
|
610
612
|
return actions.run(*args, **kwargs)
|
|
611
613
|
|
|
612
614
|
|
|
613
|
-
class HarvestPreviewTest(MockBackendsMixin):
|
|
615
|
+
class HarvestPreviewTest(MockBackendsMixin, PytestOnlyDBTestCase):
|
|
614
616
|
def test_preview(self):
|
|
615
617
|
org = OrganizationFactory()
|
|
616
618
|
source = HarvestSourceFactory(backend="factory", organization=org)
|