c |
<flask.g of 'ckan.config.middleware.flask_app'> |
current_resource_view |
{'id': '49cb0403-85d1-4e4f-a098-ea1d7008a93b', 'resource_id': 'random_points_1024_xlsx', 'title': 'Data Explorer', 'description': '', 'view_type': 'recline_view', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd'} |
dataset_type |
'dataset' |
g |
<flask.g of 'ckan.config.middleware.flask_app'> |
h |
{'redirect_to': <function redirect_to at 0x7f60d45d9550>, 'url': <function url at 0x7f60d45d9670>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7f60d45d95e0>, 'url_for': <function url_for at 0x7f60d45d9820>, 'url_for_static': <function url_for_static at 0x7f60d45d99d0>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7f60d45d9a60>, 'is_url': <function is_url at 0x7f60d45d9af0>, 'url_is_local': <function url_is_local at 0x7f60d45d9c10>, 'full_current_url': <function full_current_url at 0x7f60d45d9ca0>, 'current_url': <function current_url at 0x7f60d45d9d30>, 'lang': <function lang at 0x7f60d45d9dc0>, 'ckan_version': <function ckan_version at 0x7f60d45d9e50>, 'lang_native_name': <function lang_native_name at 0x7f60d45d9ee0>, 'is_rtl_language': <function is_rtl_language at 0x7f60d45d9f70>, 'get_rtl_theme': <function get_rtl_theme at 0x7f60d45da040>, 'get_rtl_css': <function get_rtl_css at 0x7f60d45da0d0>, 'flash_notice': <function flash_notice at 0x7f60d45da160>, 'flash_error': <function flash_error at 0x7f60d45da5e0>, 'flash_success': <function flash_success at 0x7f60d45da670>, 'are_there_flash_messages': <function are_there_flash_messages at 0x7f60d45da700>, 'link_to': <function link_to at 0x7f60d45dab80>, 'file': <function file at 0x7f60d45dac10>, 'submit': <function submit at 0x7f60d45daca0>, 'nav_link': <function nav_link at 0x7f60d45dad30>, 'nav_named_link': <function nav_named_link at 0x7f60d45db040>, 'subnav_link': <function subnav_link at 0x7f60d45db160>, 'subnav_named_route': <function subnav_named_route at 0x7f60d45db280>, 'build_nav_main': <function build_nav_main at 0x7f60d45daee0>, 'build_nav_icon': <function build_nav_icon at 0x7f60d45db310>, 'build_nav': <function build_nav at 0x7f60d45db3a0>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7f60d45db4c0>, 'default_group_type': <function default_group_type at 0x7f60d45db5e0>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7f60d45db670>, 'has_more_facets': <function has_more_facets at 0x7f60d45db700>, 'unselected_facet_items': <function unselected_facet_items at 0x7f60d45db790>, 'get_facet_title': <function get_facet_title at 0x7f60d45db940>, 'get_param_int': <function get_param_int at 0x7f60d45db820>, 'sorted_extras': <function sorted_extras at 0x7f60d45dba60>, 'check_access': <function check_access at 0x7f60d45dbaf0>, 'get_action': <function get_action at 0x7f60d45dbca0>, 'linked_user': <function linked_user at 0x7f60d45dbb80>, 'group_name_to_title': <function group_name_to_title at 0x7f60d45dbd30>, 'truncate': <function truncate at 0x7f60d45dbdc0>, 'markdown_extract': <function markdown_extract at 0x7f60d45dbe50>, 'icon_url': <function icon_url at 0x7f60d45dbee0>, 'icon_html': <function icon_html at 0x7f60d45dbf70>, 'icon': <function icon at 0x7f60d45dc040>, 'resource_icon': <function resource_icon at 0x7f60d45dc0d0>, 'format_icon': <function format_icon at 0x7f60d45dc160>, 'dict_list_reduce': <function dict_list_reduce at 0x7f60d45dc1f0>, 'gravatar': <function gravatar at 0x7f60d45dc280>, 'sanitize_url': <function sanitize_url at 0x7f60d45dc310>, 'user_image': <function user_image at 0x7f60d45dc3a0>, 'pager_url': <function pager_url at 0x7f60d45dc430>, 'get_page_number': <function get_page_number at 0x7f60d45dc4c0>, 'get_display_timezone': <function get_display_timezone at 0x7f60d45dc550>, 'render_datetime': <function render_datetime at 0x7f60d45dc5e0>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7f60d45dc670>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7f60d45dc700>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7f60d45dc790>, 'button_attr': <function button_attr at 0x7f60d45dca60>, 'dataset_display_name': <function dataset_display_name at 0x7f60d45dcaf0>, 'dataset_link': <function dataset_link at 0x7f60d45dcb80>, 'resource_display_name': <function resource_display_name at 0x7f60d45dcc10>, 'resource_link': <function resource_link at 0x7f60d45dcca0>, 'tag_link': <function tag_link at 0x7f60d45dcd30>, 'group_link': <function group_link at 0x7f60d45dcdc0>, 'organization_link': <function organization_link at 0x7f60d45dce50>, 'dump_json': <function dump_json at 0x7f60d45dcee0>, 'auto_log_message': <function auto_log_message at 0x7f60d45dcf70>, 'activity_div': <function activity_div at 0x7f60d45de040>, 'snippet': <function snippet at 0x7f60d45de0d0>, 'convert_to_dict': <function convert_to_dict at 0x7f60d45de160>, 'follow_button': <function follow_button at 0x7f60d45de1f0>, 'follow_count': <function follow_count at 0x7f60d45de280>, 'add_url_param': <function add_url_param at 0x7f60d45de3a0>, 'remove_url_param': <function remove_url_param at 0x7f60d45de430>, 'include_resource': <function include_resource at 0x7f60d45de4c0>, 'urls_for_resource': <function urls_for_resource at 0x7f60d45de550>, 'debug_inspect': <function debug_inspect at 0x7f60d45de5e0>, 'popular': <function popular at 0x7f60d45de670>, 'groups_available': <function groups_available at 0x7f60d45de700>, 'organizations_available': <function organizations_available at 0x7f60d45de790>, 'roles_translated': <function roles_translated at 0x7f60d45de820>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7f60d45de8b0>, 'dashboard_activity_stream': <function dashboard_activity_stream at 0x7f60d45de940>, 'recently_changed_packages_activity_stream': <function recently_changed_packages_activity_stream at 0x7f60d45de9d0>, 'escape_js': <function escape_js at 0x7f60d45dea60>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7f60d45deaf0>, 'get_request_param': <function get_request_param at 0x7f60d45deb80>, 'html_auto_link': <function html_auto_link at 0x7f60d45dec10>, 'render_markdown': <function render_markdown at 0x7f60d45deca0>, 'format_resource_items': <function format_resource_items at 0x7f60d45ded30>, 'resource_preview': <function resource_preview at 0x7f60d45dedc0>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7f60d45dee50>, 'rendered_resource_view': <function rendered_resource_view at 0x7f60d45deee0>, 'view_resource_url': <bound method ResourceProxy.view_resource_url of <Plugin ResourceProxy 'resource_proxy'>>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7f60d45df040>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7f60d45df0d0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7f60d45df160>, 'resource_view_icon': <function resource_view_icon at 0x7f60d45df1f0>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7f60d45df280>, 'resource_view_full_page': <function resource_view_full_page at 0x7f60d45df310>, 'remove_linebreaks': <function remove_linebreaks at 0x7f60d45df3a0>, 'list_dict_filter': <function list_dict_filter at 0x7f60d45df430>, 'SI_number_span': <function SI_number_span at 0x7f60d45df4c0>, 'new_activities': <function new_activities at 0x7f60d45df550>, 'uploads_enabled': <function uploads_enabled at 0x7f60d45df5e0>, 'get_featured_organizations': <function get_featured_organizations at 0x7f60d45df670>, 'get_featured_groups': <function get_featured_groups at 0x7f60d45df700>, 'featured_group_org': <function featured_group_org at 0x7f60d45df790>, 'get_site_statistics': <function get_site_statistics at 0x7f60d45df820>, 'resource_formats': <function resource_formats at 0x7f60d45df8b0>, 'unified_resource_format': <function unified_resource_format at 0x7f60d45df940>, 'check_config_permission': <function check_config_permission at 0x7f60d45df9d0>, 'get_boolean_config_option': <function get_boolean_config_option at 0x7f60d45dfa60>, 'get_organization': <function get_organization at 0x7f60d45dfaf0>, 'license_options': <function license_options at 0x7f60d45dfb80>, 'get_translated': <function get_translated at 0x7f60d45dfc10>, 'facets': <function facets at 0x7f60d45dfca0>, 'mail_to': <function mail_to at 0x7f60d45dfd30>, 'radio': <function radio at 0x7f60d45dfdc0>, 'clean_html': <function clean_html at 0x7f60d45dfe50>, 'flash': <ckan.lib.helpers._Flash object at 0x7f60d46fd1f0>, 'localised_number': <function localised_number at 0x7f60d4731f70>, 'localised_SI_number': <function localised_SI_number at 0x7f60d47470d0>, 'localised_nice_date': <function localised_nice_date at 0x7f60d4731dc0>, 'localised_filesize': <function localised_filesize at 0x7f60d4747040>, 'get_available_locales': <function get_available_locales at 0x7f60d5baaf70>, 'get_locales_dict': <function get_locales_dict at 0x7f60d5baaee0>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7f60d600a3a0>, 'urlencode': <function urlencode at 0x7f60d6eb50d0>, 'include_asset': <function include_asset at 0x7f60d45d9040>, 'render_assets': <function render_assets at 0x7f60d45d9160>, 'sanitize_id': <function sanitize_id at 0x7f60c588c0d0>, 'compare_pkg_dicts': <function compare_pkg_dicts at 0x7f60d45e0040>, 'activity_list_select': <function activity_list_select at 0x7f60d45e00d0>, 'get_collaborators': <function get_collaborators at 0x7f60d45e0160>, 'can_update_owner_org': <function can_update_owner_org at 0x7f60d45e01f0>, 'check_ckan_version': <function check_ckan_version at 0x7f60d45e0280>, 'csrf_input': <function csrf_input at 0x7f60d45e0310>, 'civity_group_list': <function group_list at 0x7f60c58fdb80>, 'civity_choices_to_json': <function choices_to_json at 0x7f60c58fdc10>, 'civity_donl_theme_list_choices': <function donl_theme_list_choices at 0x7f60c588b670>, 'civity_donl_authority_list_choices': <function donl_authority_list_choices at 0x7f60c588b700>, 'civity_donl_language_list_choices': <function donl_language_list_choices at 0x7f60c588b5e0>, 'civity_donl_spatial_scheme_list_choices': <function donl_spatial_scheme_list_choices at 0x7f60c588b790>, 'civity_donl_spatial_value_list_choices': <function donl_spatial_value_list_choices at 0x7f60c588b820>, 'sweden_theme_list_choices': <function sweden_theme_list_choices at 0x7f60c588b8b0>, 'civity_get_matomo_id': <function get_matomo_id at 0x7f60c588b940>, 'civity_get_matomo_url': <function get_matomo_url at 0x7f60c588b9d0>, 'civity_get_matomo_custom_url': <function get_matomo_custom_url at 0x7f60c588ba60>, 'civity_get_siteimprove_src': <function get_siteimprove_src at 0x7f60c588baf0>, 'civity_get_scheming_package_types_list': <function get_scheming_package_types_list at 0x7f60c588bdc0>, 'civity_get_now_date': <function get_now_date at 0x7f60c588be50>, 'civity_get_package_title': <function get_package_title at 0x7f60c588bee0>, 'civity_get_package_notes': <function get_package_notes at 0x7f60c588bf70>, 'civity_i18n_error_document': <function i18n_error_document at 0x7f60c588c160>, 'package_rating': <function rating_package_get at 0x7f60c58eddc0>, 'get_user_rating': <function get_user_rating at 0x7f60c58ede50>, 'show_rating_in_type': <function show_rating_in_type at 0x7f60c58edee0>, 'get_trackers': <bound method TrackerBackend.get_trackers of <class 'ckanext.tracker_base.backend.TrackerBackend'>>, 'get_tracker_badges': <function get_tracker_badges at 0x7f60c596c8b0>, 'get_tracker_statuses': <function get_tracker_statuses at 0x7f60c596c820>, 'get_tracker_activities': <function get_tracker_activities at 0x7f60c5985e50>, 'get_tracker_activities_stream': <function get_tracker_activities_stream at 0x7f60c5966ee0>, 'get_tracker_queues': <function get_tracker_queues at 0x7f60c5966e50>, 'hash': <function hash at 0x7f60c596caf0>, 'helper_available': <function helper_available at 0x7f60c7678b80>, 'dcat_get_endpoint': <function get_endpoint at 0x7f60c7607430>, 'package_list_for_source': <function package_list_for_source at 0x7f60c52f1c10>, 'package_count_for_source': <function package_count_for_source at 0x7f60c52f1ca0>, 'harvesters_info': <function harvesters_info at 0x7f60c52f1d30>, 'harvester_types': <function harvester_types at 0x7f60c52f1dc0>, 'harvest_frequencies': <function harvest_frequencies at 0x7f60c52f1e50>, 'link_for_harvest_object': <function link_for_harvest_object at 0x7f60c52f1ee0>, 'harvest_source_extra_fields': <function harvest_source_extra_fields at 0x7f60c52f1f70>, 'get_harvest_source': <function get_harvest_source at 0x7f60c52f1b80>, 'get_common_map_config_shp': <function get_common_map_config at 0x7f60c76b1430>, 'get_shapefile_viewer_config': <function get_shapefile_viewer_config at 0x7f60c76b14c0>, 'get_common_map_config_wmts': <function get_common_map_config at 0x7f60c76b1430>, 'get_common_map_config_geojson': <function get_common_map_config at 0x7f60c76b1430>, 'geojson_get_max_file_size': <function get_max_file_size at 0x7f60c76b1550>, 'get_common_map_config_geoviews': <function get_common_map_config at 0x7f60c76b1430>, 'get_openlayers_viewer_config': <function get_openlayers_viewer_config at 0x7f60c76b15e0>, 'get_map_config': <function get_mapview_config at 0x7f60c76a71f0>, 'get_dataproxy_url': <function get_dataproxy_url at 0x7f60c76a7430>, 'datastore_dictionary': <function datastore_dictionary at 0x7f60c76c7700>, 'scheming_language_text': <function scheming_language_text at 0x7f60c7800ee0>, 'scheming_field_choices': <function scheming_field_choices at 0x7f60c7800e50>, 'scheming_choices_label': <function scheming_choices_label at 0x7f60c7800ca0>, 'scheming_datastore_choices': <function scheming_datastore_choices at 0x7f60c7800b80>, 'scheming_field_required': <function scheming_field_required at 0x7f60c7800af0>, 'scheming_dataset_schemas': <function scheming_dataset_schemas at 0x7f60c7800c10>, 'scheming_get_presets': <function scheming_get_presets at 0x7f60c7800a60>, 'scheming_get_preset': <function scheming_get_preset at 0x7f60c7800940>, 'scheming_get_dataset_schema': <function scheming_get_dataset_schema at 0x7f60c78008b0>, 'scheming_get_dataset_form_pages': <function scheming_get_dataset_form_pages at 0x7f60c78009d0>, 'scheming_group_schemas': <function scheming_group_schemas at 0x7f60c7800820>, 'scheming_get_group_schema': <function scheming_get_group_schema at 0x7f60c7800700>, 'scheming_organization_schemas': <function scheming_organization_schemas at 0x7f60c7800040>, 'scheming_get_organization_schema': <function scheming_get_organization_schema at 0x7f60c7800790>, 'scheming_get_schema': <function scheming_get_schema at 0x7f60c78001f0>, 'scheming_field_by_name': <function scheming_field_by_name at 0x7f60c7800160>, 'scheming_datetime_to_utc': <function scheming_datetime_to_utc at 0x7f60c78000d0>, 'scheming_datetime_to_tz': <function scheming_datetime_to_tz at 0x7f60c7800430>, 'scheming_get_timezones': <function scheming_get_timezones at 0x7f60c78003a0>, 'scheming_display_json_value': <function scheming_display_json_value at 0x7f60c78004c0>, 'scheming_render_from_string': <function scheming_render_from_string at 0x7f60c7800310>, 'scheming_flatten_subfield': <function scheming_flatten_subfield at 0x7f60c774c700>, 'scheming_package_type_list': <function scheming_package_type_list at 0x7f60c774c820>} |
is_activity_archive |
True |
package |
{'access_rights': 'http://publications.europa.eu/resource/authority/access-right/PUBLIC', 'author': None, 'author_email': None, 'authority': 'http://standaarden.overheid.nl/owms/terms/nstroom', 'bounding_box': '', 'carousel_active': '', 'carousel_image': '', 'carousel_text': '', 'changetype': '', 'contact_point_email': 'servicedesk@civity.nl', 'contact_point_name': 'Servicedesk', 'contact_point_phone': '', 'contact_point_type': 'organization', 'creator_user_id': '2da92da4-b919-40d6-9afe-60b6fa1310a9', 'dataset_status': '', 'definition': '', 'denominator': '', 'donl_link_enabled': 'False', 'geo_ref_system': '', 'geonetwork_link_enabled': 'False', 'geoserver_link_enabled': 'True', 'id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'isopen': False, 'language': 'http://publications.europa.eu/resource/authority/language/ENG', 'license_id': 'notspecified', 'license_title': 'Licentie is niet gespecificeerd', 'maintainer': None, 'maintainer_email': None, 'metadata_created': '2024-10-28T12:59:49.415692', 'metadata_language': 'http://publications.europa.eu/resource/authority/language/ENG', 'metadata_modified': '2024-10-28T15:04:53.718689', 'name': 'data-trial', 'notes': 'What could possibly go wrong? Well, when working with heterogeneous datasets datasets quite a lot actually. This dataset provides examples on what does work and what does not.', 'num_resources': 12, 'num_tags': 1, 'organization': {'id': '0fdccb62-33e0-40d8-bd89-44629c8afd42', 'name': 'alpha-testers', 'title': 'Alpha Testers', 'type': 'organization', 'description': '', 'image_url': '2023-06-08-141846.746908alpha.png', 'created': '2023-06-08T16:17:58.580315', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': '0fdccb62-33e0-40d8-bd89-44629c8afd42', 'private': False, 'publisher': 'http://standaarden.overheid.nl/owms/terms/nstroom', 'resolution': '', 'spatial_scheme': 'http://standaarden.overheid.nl/owms/4.0/doc/waardelijsten/overheid.koninkrijksdeel', 'spatial_value': 'http://standaarden.overheid.nl/owms/terms/Nederland', 'state': 'active', 'subtheme': '', 'theme': 'geen-thema', 'title': 'Data Trial', 'type': 'dataset', 'update_frequency': 'voortdurend geactualiseerd', 'url': None, 'version': '', 'version_notes': '', 'groups': [{'description': '', 'display_name': 'Geen Thema', 'id': '58b20a9f-bd14-40ee-aa9a-bd71c850550d', 'image_display_url': 'https://tst-ckan.dataplatform.nl/uploads/group/2020-10-27-090826.8886672020-08-17-081607.0739812ba77de4c93153606635928e5686cc44.png', 'name': 'geen-thema', 'title': 'Geen Thema'}], 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:23:43.859946', 'datastore_active': False, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of hexagons.\n** Contents ** This GeoPackage resource contains hexogon polygons.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Publishing in GeoServer should work as well.\n** Spatial information ** The GeoPackage file can contain information regarding the spatial extent or coordinate reference system. If this information is present in the GeoPackage, it does not have to be added manually in the resource.', 'format': 'GPKG', 'hash': '', 'id': 'hexagons_gpkg', 'last_modified': '2024-10-28T13:23:43.407015', 'metadata_modified': '2024-10-28T13:23:45.294030', 'mimetype': 'application/geopackage+sqlite3', 'mimetype_inner': None, 'name': 'Hexagons (CSV)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 0, 'resource_type': None, 'size': 270336, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/hexagons_gpkg/download/hexagons.gpkg', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:23:56.741611', 'datastore_active': True, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of 1024 random points.\n** Contents ** This GeoPackage resource contains random strings, numbers, date/times and geometries.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Publishing this resource in GeoServer should work as well.\n** Spatial information ** The GeoPackage file can contain information regarding the spatial extent or coordinate reference system. If this information is present in the GeoPackage, it does not have to be added manually in the resource.', 'format': 'GPKG', 'hash': '', 'id': 'random_points_1024_gpkg', 'last_modified': '2024-10-28T13:23:56.468802', 'layer_extent': [585.4936343090193, 306754.771228742, 284112.79563641903, 636715.8132705259], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:25:37.418623', 'mimetype': 'application/geopackage+sqlite3', 'mimetype_inner': None, 'name': '1024 random points (GeoPackage)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 1, 'resource_type': None, 'size': 413696, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_gpkg/download/random_points_1024.gpkg', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:24:09.494715', 'datastore_active': True, 'description': '** Status ** Data store: error, GeoServer: error.\n** Title ** A collection of 1024 random points and a collection of 2048 random points.\n** Contents ** This GeoPackage resource contains random strings, numbers, date/times and geometries.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should fail since the GeoPackage contains multiple layers whereas only GeoPackages with one layer are supported.\n** GeoServer ** Publishing this resource in GeoServer should fail since the resource is not pushed to the data store.\n** Spatial information ** The GeoPackage file can contain information regarding the spatial extent or coordinate reference system. If this information is present in the GeoPackage, it does not have to be added manually in the resource.', 'format': 'GPKG', 'hash': '', 'id': 'random_points_1024_2048_gpkg', 'last_modified': '2024-10-28T13:24:09.062923', 'layer_extent': [585.4936343090193, 306754.771228742, 284123.3812653209, 636715.8132705259], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:25:57.407034', 'mimetype': 'application/geopackage+sqlite3', 'mimetype_inner': None, 'name': '1024 and 2048 random points (GeoPackage)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 2, 'resource_type': None, 'size': 1064960, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_2048_gpkg/download/random_points_1024_2048.gpkg', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T12:50:12.258893', 'datastore_active': True, 'description': 'A collection of 1024 random points. This Excel resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns. Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names without any laundering actions. Uploading this resource to the CKAN data store should therefore not be a problem. The coordinates should be converted to a PostGIS spatial column and publishing in GeoServer should work as well. However, the Excel file does not contain information regarding the spatial extent or coordinate reference system, so this information has to be added manually in the resource.', 'format': 'XLSX', 'hash': '', 'id': 'random_points_1024_xlsx', 'last_modified': '2024-10-28T13:24:23.458027', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:26:15.235873', 'mimetype': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'mimetype_inner': None, 'name': '1024 random points (Excel)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 3, 'resource_type': None, 'size': 136214, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_xlsx/download/random_points_1024.xlsx', 'url_type': 'upload', 'has_views': True}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:24:37.184587', 'datastore_active': True, 'description': '** Status ** Data store: ?, GeoServer: ?.\n** Title ** Water lines in the City of Malmö.\n** Contents ** This GeoJSON resource contains water lines in the City of Malmö with geometries and two attributes.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Publishing this resource in GeoServer should work once the resource is properly pushed to the data store.\n** Spatial information ** The GeoJSON file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'GeoJSON', 'hash': '', 'id': 'vatten_linjer_json', 'last_modified': '2024-10-28T13:24:36.920486', 'layer_extent': [12.9200179333, 55.5033491284, 13.1528176985, 55.6380426291], 'layer_srid': 4326, 'metadata_modified': '2024-10-28T13:26:31.760125', 'mimetype': 'application/json', 'mimetype_inner': None, 'name': 'Water lines Malmö', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 4, 'resource_type': None, 'size': 146546, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/vatten_linjer_json/download/vatten_linjer.json', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:24:52.118056', 'datastore_active': True, 'description': '** Status ** Data store: depending on the configuration, GeoServer: depending on configuration.\n** Title ** Duth municipalities.\n** Contents ** This shape file resource contains Dutch municipalities with a lot of attributes and geometries.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work depending on the configuration: for indexing purposes, data are stored in a tsvector field which can only accommodate for a certain size. If the geometry field is not excluded from indexing, updating the index (and thus pushing to the data store) will fail.\n** GeoServer ** Publishing this resource in GeoServer should work once the resource is properly pushed to the data store.\n** Spatial information ** The shape file can contain information regarding the spatial extent and coordinate reference system. If this information is present in the shape file, it does not have to be added manually in the resource.', 'format': 'SHAPE/ZIP', 'hash': '', 'id': 'gemeenten_2022_v2_zip', 'last_modified': '2024-10-28T13:24:51.820495', 'layer_extent': [10425.155999999493, 306846.1979999989, 278026.08999999985, 621876.3000000007], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:26:59.604344', 'mimetype': 'application/zip', 'mimetype_inner': None, 'name': 'Dutch municipalities', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 5, 'resource_type': None, 'size': 17682761, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/gemeenten_2022_v2_zip/download/gemeenten_2022_v2.zip', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T12:49:52.175972', 'datastore_active': True, 'description': '** Status ** Data store: error, GeoServer: OK.\n** Title ** A collection of hexagons.\n** Contents ** This CSV resource contains hexagon polygons encoded as WKT in a column starting with "geom".\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work. The WKT polygons should be converted to a PostGIS spatial column. However, this column does not have a spatial reference ID.\n** GeoServer ** Publishing in GeoServer should work as well.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.\n** To do ** Set spatial reference ID for spatial column', 'format': 'CSV', 'hash': '', 'id': 'hexagons_csv', 'last_modified': '2024-10-28T15:03:26.337081', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:03:40.448515', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Hexagons (CSV with WKT geometry column)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 6, 'resource_type': None, 'size': 76497, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/hexagons_csv/download/hexagons.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:03:47.938066', 'datastore_active': False, 'description': '* ** Status ** Data store: error, GeoServer: OK.\n* ** Title ** A collection of 1024 random points.\n* ** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n* ** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n* ** Data store ** Uploading this resource to the CKAN data store should work. The coordinates should be converted to a PostGIS spatial column. However, this column does not have a spatial reference ID.\n* ** GeoServer ** Publishing in GeoServer should work as well.\n* ** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.\n* ** To do **\n** Set spatial reference ID for spatial column', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_csv', 'last_modified': '2024-10-28T15:03:47.507427', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:11.004886', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': '1024 random points (CSV with lon/lat columns)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 7, 'resource_type': None, 'size': 199690, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_csv/download/random_points_1024.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T14:57:49.949770', 'datastore_active': True, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be modified: case is not preserved.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** The coordinates should be converted to a PostGIS spatial column and publishing in GeoServer should work as well.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_camel_case_csv', 'last_modified': '2024-10-28T15:04:02.348000', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:31.034444', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'camelCase/UPPERCASE column name', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 8, 'resource_type': None, 'size': 211888, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_camel_case_csv/download/random_points_1024_camel_case.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:04:19.046053', 'datastore_active': True, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be modified: the dash - character should be replaced by an underscore _ character.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** The coordinates should be converted to a PostGIS spatial column and publishing in GeoServer should work as well.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_dash_csv', 'last_modified': '2024-10-28T15:04:18.773613', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:49.998936', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Column name with a dash', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 9, 'resource_type': None, 'size': 211876, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_dash_csv/download/random_points_1024_dash.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:04:36.369059', 'datastore_active': False, 'description': '** Status ** Data store: OK, GeoServer: error.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be - but are not being - modified: column names cannot contain spaces.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Column names in PostgreSQL/GeoServer cannot contain spaces, therefore publishing in GeoServer should fail.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_space_csv', 'last_modified': '2024-10-28T15:04:36.050715', 'layer_extent': '[482.06, 306602.42, 284182.97, 637049.52]', 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:39.027008', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Column name with spaces', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 10, 'resource_type': None, 'size': 233495, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_space_csv/download/random_points_1024_space.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:04:52.167535', 'datastore_active': False, 'description': '** Status ** Data store: OK, GeoServer: error.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be - but are not being - modified: column names cannot contain special characters, these cause a problem in GeoServer.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Column names in PostgreSQL/GeoServer cannot contain special characters, therefore publishing in GeoServer should fail.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_special_character_csv', 'last_modified': '2024-10-28T15:04:51.868113', 'layer_extent': '[482.06, 306602.42, 284182.97, 637049.52]', 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:53.730233', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Column names with special characters', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 11, 'resource_type': None, 'size': 251950, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_special_character_csv/download/random_points_1024_special_character.csv', 'url_type': 'upload'}], 'tags': [{'display_name': 'Just testing...', 'id': 'b36a1734-8176-4f14-8537-85a64a65a5ba', 'name': 'Just testing...', 'state': 'active', 'vocabulary_id': None}], 'relationships_as_subject': [], 'relationships_as_object': [], 'civity_metadataquality': {'total': {'score': 0.5263157894736842, 'number': 38, 'valid': 20}, 'mandatory': {'score': 1.0, 'number': 17, 'valid': 17}, 'optional': {'score': 0.14285714285714285, 'number': 21, 'valid': 3}}} |
pkg |
<Package id=47524b3f-3dd0-4afd-8d67-f4968db6e3dd name=data-trial title=Data Trial version= url=None author=None author_email=None maintainer=None maintainer_email=None notes=What could possibly go wrong? Well, when working with heterogeneous datasets datasets quite a lot actually. This dataset provides examples on what does work and what does not. license_id=notspecified type=dataset owner_org=0fdccb62-33e0-40d8-bd89-44629c8afd42 creator_user_id=2da92da4-b919-40d6-9afe-60b6fa1310a9 metadata_created=2024-10-28 12:59:49.415692 metadata_modified=2024-10-29 11:24:04.769442 private=False state=active> |
pkg_dict |
{'access_rights': 'http://publications.europa.eu/resource/authority/access-right/PUBLIC', 'author': None, 'author_email': None, 'authority': 'http://standaarden.overheid.nl/owms/terms/nstroom', 'bounding_box': '', 'carousel_active': '', 'carousel_image': '', 'carousel_text': '', 'changetype': '', 'contact_point_email': 'servicedesk@civity.nl', 'contact_point_name': 'Servicedesk', 'contact_point_phone': '', 'contact_point_type': 'organization', 'creator_user_id': '2da92da4-b919-40d6-9afe-60b6fa1310a9', 'dataset_status': '', 'definition': '', 'denominator': '', 'donl_link_enabled': 'False', 'geo_ref_system': '', 'geonetwork_link_enabled': 'False', 'geoserver_link_enabled': 'True', 'id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'isopen': False, 'language': 'http://publications.europa.eu/resource/authority/language/ENG', 'license_id': 'notspecified', 'license_title': 'Licentie is niet gespecificeerd', 'maintainer': None, 'maintainer_email': None, 'metadata_created': '2024-10-28T12:59:49.415692', 'metadata_language': 'http://publications.europa.eu/resource/authority/language/ENG', 'metadata_modified': '2024-10-28T15:04:53.718689', 'name': 'data-trial', 'notes': 'What could possibly go wrong? Well, when working with heterogeneous datasets datasets quite a lot actually. This dataset provides examples on what does work and what does not.', 'num_resources': 12, 'num_tags': 1, 'organization': {'id': '0fdccb62-33e0-40d8-bd89-44629c8afd42', 'name': 'alpha-testers', 'title': 'Alpha Testers', 'type': 'organization', 'description': '', 'image_url': '2023-06-08-141846.746908alpha.png', 'created': '2023-06-08T16:17:58.580315', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': '0fdccb62-33e0-40d8-bd89-44629c8afd42', 'private': False, 'publisher': 'http://standaarden.overheid.nl/owms/terms/nstroom', 'resolution': '', 'spatial_scheme': 'http://standaarden.overheid.nl/owms/4.0/doc/waardelijsten/overheid.koninkrijksdeel', 'spatial_value': 'http://standaarden.overheid.nl/owms/terms/Nederland', 'state': 'active', 'subtheme': '', 'theme': 'geen-thema', 'title': 'Data Trial', 'type': 'dataset', 'update_frequency': 'voortdurend geactualiseerd', 'url': None, 'version': '', 'version_notes': '', 'groups': [{'description': '', 'display_name': 'Geen Thema', 'id': '58b20a9f-bd14-40ee-aa9a-bd71c850550d', 'image_display_url': 'https://tst-ckan.dataplatform.nl/uploads/group/2020-10-27-090826.8886672020-08-17-081607.0739812ba77de4c93153606635928e5686cc44.png', 'name': 'geen-thema', 'title': 'Geen Thema'}], 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:23:43.859946', 'datastore_active': False, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of hexagons.\n** Contents ** This GeoPackage resource contains hexogon polygons.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Publishing in GeoServer should work as well.\n** Spatial information ** The GeoPackage file can contain information regarding the spatial extent or coordinate reference system. If this information is present in the GeoPackage, it does not have to be added manually in the resource.', 'format': 'GPKG', 'hash': '', 'id': 'hexagons_gpkg', 'last_modified': '2024-10-28T13:23:43.407015', 'metadata_modified': '2024-10-28T13:23:45.294030', 'mimetype': 'application/geopackage+sqlite3', 'mimetype_inner': None, 'name': 'Hexagons (CSV)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 0, 'resource_type': None, 'size': 270336, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/hexagons_gpkg/download/hexagons.gpkg', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:23:56.741611', 'datastore_active': True, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of 1024 random points.\n** Contents ** This GeoPackage resource contains random strings, numbers, date/times and geometries.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Publishing this resource in GeoServer should work as well.\n** Spatial information ** The GeoPackage file can contain information regarding the spatial extent or coordinate reference system. If this information is present in the GeoPackage, it does not have to be added manually in the resource.', 'format': 'GPKG', 'hash': '', 'id': 'random_points_1024_gpkg', 'last_modified': '2024-10-28T13:23:56.468802', 'layer_extent': [585.4936343090193, 306754.771228742, 284112.79563641903, 636715.8132705259], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:25:37.418623', 'mimetype': 'application/geopackage+sqlite3', 'mimetype_inner': None, 'name': '1024 random points (GeoPackage)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 1, 'resource_type': None, 'size': 413696, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_gpkg/download/random_points_1024.gpkg', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:24:09.494715', 'datastore_active': True, 'description': '** Status ** Data store: error, GeoServer: error.\n** Title ** A collection of 1024 random points and a collection of 2048 random points.\n** Contents ** This GeoPackage resource contains random strings, numbers, date/times and geometries.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should fail since the GeoPackage contains multiple layers whereas only GeoPackages with one layer are supported.\n** GeoServer ** Publishing this resource in GeoServer should fail since the resource is not pushed to the data store.\n** Spatial information ** The GeoPackage file can contain information regarding the spatial extent or coordinate reference system. If this information is present in the GeoPackage, it does not have to be added manually in the resource.', 'format': 'GPKG', 'hash': '', 'id': 'random_points_1024_2048_gpkg', 'last_modified': '2024-10-28T13:24:09.062923', 'layer_extent': [585.4936343090193, 306754.771228742, 284123.3812653209, 636715.8132705259], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:25:57.407034', 'mimetype': 'application/geopackage+sqlite3', 'mimetype_inner': None, 'name': '1024 and 2048 random points (GeoPackage)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 2, 'resource_type': None, 'size': 1064960, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_2048_gpkg/download/random_points_1024_2048.gpkg', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T12:50:12.258893', 'datastore_active': True, 'description': 'A collection of 1024 random points. This Excel resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns. Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names without any laundering actions. Uploading this resource to the CKAN data store should therefore not be a problem. The coordinates should be converted to a PostGIS spatial column and publishing in GeoServer should work as well. However, the Excel file does not contain information regarding the spatial extent or coordinate reference system, so this information has to be added manually in the resource.', 'format': 'XLSX', 'hash': '', 'id': 'random_points_1024_xlsx', 'last_modified': '2024-10-28T13:24:23.458027', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:26:15.235873', 'mimetype': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'mimetype_inner': None, 'name': '1024 random points (Excel)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 3, 'resource_type': None, 'size': 136214, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_xlsx/download/random_points_1024.xlsx', 'url_type': 'upload', 'has_views': True}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:24:37.184587', 'datastore_active': True, 'description': '** Status ** Data store: ?, GeoServer: ?.\n** Title ** Water lines in the City of Malmö.\n** Contents ** This GeoJSON resource contains water lines in the City of Malmö with geometries and two attributes.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Publishing this resource in GeoServer should work once the resource is properly pushed to the data store.\n** Spatial information ** The GeoJSON file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'GeoJSON', 'hash': '', 'id': 'vatten_linjer_json', 'last_modified': '2024-10-28T13:24:36.920486', 'layer_extent': [12.9200179333, 55.5033491284, 13.1528176985, 55.6380426291], 'layer_srid': 4326, 'metadata_modified': '2024-10-28T13:26:31.760125', 'mimetype': 'application/json', 'mimetype_inner': None, 'name': 'Water lines Malmö', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 4, 'resource_type': None, 'size': 146546, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/vatten_linjer_json/download/vatten_linjer.json', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T13:24:52.118056', 'datastore_active': True, 'description': '** Status ** Data store: depending on the configuration, GeoServer: depending on configuration.\n** Title ** Duth municipalities.\n** Contents ** This shape file resource contains Dutch municipalities with a lot of attributes and geometries.\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work depending on the configuration: for indexing purposes, data are stored in a tsvector field which can only accommodate for a certain size. If the geometry field is not excluded from indexing, updating the index (and thus pushing to the data store) will fail.\n** GeoServer ** Publishing this resource in GeoServer should work once the resource is properly pushed to the data store.\n** Spatial information ** The shape file can contain information regarding the spatial extent and coordinate reference system. If this information is present in the shape file, it does not have to be added manually in the resource.', 'format': 'SHAPE/ZIP', 'hash': '', 'id': 'gemeenten_2022_v2_zip', 'last_modified': '2024-10-28T13:24:51.820495', 'layer_extent': [10425.155999999493, 306846.1979999989, 278026.08999999985, 621876.3000000007], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:26:59.604344', 'mimetype': 'application/zip', 'mimetype_inner': None, 'name': 'Dutch municipalities', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 5, 'resource_type': None, 'size': 17682761, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/gemeenten_2022_v2_zip/download/gemeenten_2022_v2.zip', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T12:49:52.175972', 'datastore_active': True, 'description': '** Status ** Data store: error, GeoServer: OK.\n** Title ** A collection of hexagons.\n** Contents ** This CSV resource contains hexagon polygons encoded as WKT in a column starting with "geom".\n** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n** Data store ** Uploading this resource to the CKAN data store should work. The WKT polygons should be converted to a PostGIS spatial column. However, this column does not have a spatial reference ID.\n** GeoServer ** Publishing in GeoServer should work as well.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.\n** To do ** Set spatial reference ID for spatial column', 'format': 'CSV', 'hash': '', 'id': 'hexagons_csv', 'last_modified': '2024-10-28T15:03:26.337081', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:03:40.448515', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Hexagons (CSV with WKT geometry column)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 6, 'resource_type': None, 'size': 76497, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/hexagons_csv/download/hexagons.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:03:47.938066', 'datastore_active': False, 'description': '* ** Status ** Data store: error, GeoServer: OK.\n* ** Title ** A collection of 1024 random points.\n* ** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n* ** Laundering ** Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names as is.\n* ** Data store ** Uploading this resource to the CKAN data store should work. The coordinates should be converted to a PostGIS spatial column. However, this column does not have a spatial reference ID.\n* ** GeoServer ** Publishing in GeoServer should work as well.\n* ** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.\n* ** To do **\n** Set spatial reference ID for spatial column', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_csv', 'last_modified': '2024-10-28T15:03:47.507427', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:11.004886', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': '1024 random points (CSV with lon/lat columns)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 7, 'resource_type': None, 'size': 199690, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_csv/download/random_points_1024.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T14:57:49.949770', 'datastore_active': True, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be modified: case is not preserved.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** The coordinates should be converted to a PostGIS spatial column and publishing in GeoServer should work as well.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_camel_case_csv', 'last_modified': '2024-10-28T15:04:02.348000', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:31.034444', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'camelCase/UPPERCASE column name', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 8, 'resource_type': None, 'size': 211888, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_camel_case_csv/download/random_points_1024_camel_case.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:04:19.046053', 'datastore_active': True, 'description': '** Status ** Data store: OK, GeoServer: OK.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be modified: the dash - character should be replaced by an underscore _ character.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** The coordinates should be converted to a PostGIS spatial column and publishing in GeoServer should work as well.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_dash_csv', 'last_modified': '2024-10-28T15:04:18.773613', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:49.998936', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Column name with a dash', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 9, 'resource_type': None, 'size': 211876, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_dash_csv/download/random_points_1024_dash.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:04:36.369059', 'datastore_active': False, 'description': '** Status ** Data store: OK, GeoServer: error.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be - but are not being - modified: column names cannot contain spaces.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Column names in PostgreSQL/GeoServer cannot contain spaces, therefore publishing in GeoServer should fail.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_space_csv', 'last_modified': '2024-10-28T15:04:36.050715', 'layer_extent': '[482.06, 306602.42, 284182.97, 637049.52]', 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:39.027008', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Column name with spaces', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 10, 'resource_type': None, 'size': 233495, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_space_csv/download/random_points_1024_space.csv', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T15:04:52.167535', 'datastore_active': False, 'description': '** Status ** Data store: OK, GeoServer: error.\n** Title ** A collection of 1024 random points.\n** Contents ** This CSV resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns.\n** Laundering ** Column names in this resource should be - but are not being - modified: column names cannot contain special characters, these cause a problem in GeoServer.\n** Data store ** Uploading this resource to the CKAN data store should work.\n** GeoServer ** Column names in PostgreSQL/GeoServer cannot contain special characters, therefore publishing in GeoServer should fail.\n** Spatial information ** The CSV file does not contain information regarding the spatial extent or coordinate reference system, so this information must be added manually in the resource.', 'format': 'CSV', 'hash': '', 'id': 'random_points_1024_special_character_csv', 'last_modified': '2024-10-28T15:04:51.868113', 'layer_extent': '[482.06, 306602.42, 284182.97, 637049.52]', 'layer_srid': 28992, 'metadata_modified': '2024-10-28T15:04:53.730233', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'Column names with special characters', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 11, 'resource_type': None, 'size': 251950, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_special_character_csv/download/random_points_1024_special_character.csv', 'url_type': 'upload'}], 'tags': [{'display_name': 'Just testing...', 'id': 'b36a1734-8176-4f14-8537-85a64a65a5ba', 'name': 'Just testing...', 'state': 'active', 'vocabulary_id': None}], 'relationships_as_subject': [], 'relationships_as_object': [], 'civity_metadataquality': {'total': {'score': 0.5263157894736842, 'number': 38, 'valid': 20}, 'mandatory': {'score': 1.0, 'number': 17, 'valid': 17}, 'optional': {'score': 0.14285714285714285, 'number': 21, 'valid': 3}}} |
request |
<Request 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_xlsx?activity_id=f8974b2f-5e4a-4dda-98bf-7ac98bd1dbb0' [GET]> |
resource |
{'cache_last_updated': None, 'cache_url': None, 'created': '2024-10-28T12:50:12.258893', 'datastore_active': True, 'description': 'A collection of 1024 random points. This Excel resource contains random strings, numbers, date/times and coordinates in longitude/latitude columns. Column names in this resource should not be modified: both PostgreSQL and GeoServer should be able to use these column names without any laundering actions. Uploading this resource to the CKAN data store should therefore not be a problem. The coordinates should be converted to a PostGIS spatial column and publishing in GeoServer should work as well. However, the Excel file does not contain information regarding the spatial extent or coordinate reference system, so this information has to be added manually in the resource.', 'format': 'XLSX', 'hash': '', 'id': 'random_points_1024_xlsx', 'last_modified': '2024-10-28T13:24:23.458027', 'layer_extent': [482.06, 306602.42, 284182.97, 637049.52], 'layer_srid': 28992, 'metadata_modified': '2024-10-28T13:26:15.235873', 'mimetype': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'mimetype_inner': None, 'name': '1024 random points (Excel)', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd', 'position': 3, 'resource_type': None, 'size': 136214, 'state': 'active', 'url': 'https://tst-ckan.dataplatform.nl/dataset/47524b3f-3dd0-4afd-8d67-f4968db6e3dd/resource/random_points_1024_xlsx/download/random_points_1024.xlsx', 'url_type': 'upload', 'has_views': True} |
resource_views |
[{'id': '49cb0403-85d1-4e4f-a098-ea1d7008a93b', 'resource_id': 'random_points_1024_xlsx', 'title': 'Data Explorer', 'description': '', 'view_type': 'recline_view', 'package_id': '47524b3f-3dd0-4afd-8d67-f4968db6e3dd'}] |
session |
{'_domain': None, '_path': '/', '_id': '5409fde9c07d4e37924bee7c359b830a'} |
ungettext |
<function ungettext at 0x7f60d6018af0> |