Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download Links in Harvested Records - Unwanted downloads #19

Open
srappel opened this issue May 30, 2024 · 4 comments
Open

Download Links in Harvested Records - Unwanted downloads #19

srappel opened this issue May 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@srappel
Copy link
Member

srappel commented May 30, 2024

This record links directly to a download. Probably not what people want to happen. I will have to check this out.

image

@srappel srappel added the bug Something isn't working label May 30, 2024
@srappel
Copy link
Member Author

srappel commented Jun 4, 2024

This will probably require changes in the DCAT harvester script, so this issue should really be over in GeoDiscovery-Utils.

@srappel srappel transferred this issue from UWM-Libraries/GeoDiscovery Jun 4, 2024
@srappel srappel changed the title Waupaca County Download Links Download Links in Harvested Records - Unwanted downloads Jun 4, 2024
@srappel
Copy link
Member Author

srappel commented Jun 10, 2024

https://data2017-04-05t135915451z-waupacacounty.opendata.arcgis.com/documents/waupacacounty::2018-contours-north-eastern-quadrant-shp/about

Another example from Waupaca.

We could look in the DCAT to see if the Landing Page URL matches the Distribution > Shapefile > accessURL link?

"@type": "dcat:Dataset",
			"identifier": "https://www.arcgis.com/home/item.html?id=de17272ab3e6434f950e4b8b17908bc8",
			"landingPage": "https://data2017-04-05t135915451z-waupacacounty.opendata.arcgis.com/documents/waupacacounty::2018-contours-north-eastern-quadrant-shp",
			"title": "2018 Contours - North Eastern Quadrant (.shp)",
			"description": "<span style='overflow: auto;'><span><span style='color: rgb(0, 0, 205);'><font size='4'><span style='font-weight: bold;'>703 MB ZIP FILE Contains Shapefiles.  </span></font></span></span></span><font size='3'><span style='color: rgb(0, 0, 0);'><span style='overflow: auto;'><span><span style='overflow: auto;'><span>Elevation </span></span><span style='overflow: auto;'><span><span style='overflow: auto;'><span><span style='overflow: auto;'><span>values are referenced to NADV88.  </span></span></span></span></span></span></span></span></span></font><font size='3'><span style='color: rgb(0, 0, 0);'><span style='overflow: auto;'><span><span style='overflow: auto;'><span><span style='overflow: auto;'><span><span style='overflow: auto;'><span><span style='overflow: auto;'><span><span style='overflow: auto;'><span><span style='overflow: auto;'><span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></font>",
			"keyword": [
				"Open Data",
				"Elevation"
			],
			"issued": "2019-07-09T16:54:00.000Z",
			"modified": "2019-07-12T20:37:31.000Z",
			"publisher": {
				"name": "Waupaca County Land Information"
			},
			"contactPoint": {
				"@type": "vcard:Contact",
				"fn": "WaupacaCounty_LIO",
				"hasEmail": "mailto:[email protected]"
			},
			"accessLevel": "public",
			"spatial": "-89.3348,44.2259,-88.3440,44.6891",
			"license": "http://creativecommons.org/licenses/by/4.0",
			"distribution": [
				{
					"@type": "dcat:Distribution",
					"title": "ArcGIS Hub Dataset",
					"format": "Web Page",
					"mediaType": "text/html",
					"accessURL": "https://data2017-04-05t135915451z-waupacacounty.opendata.arcgis.com/documents/waupacacounty::2018-contours-north-eastern-quadrant-shp"
				},
				{
					"@type": "dcat:Distribution",
					"title": "ArcGIS GeoService",
					"format": "ArcGIS GeoServices REST API",
					"mediaType": "application/json",
					"accessURL": "https://wclio-lidar-2018.s3.amazonaws.com/Contours/shp/WCGIS_2018_Contours_ne_shp.zip"
				}
			],
			"theme": [
				"geospatial"

@srappel
Copy link
Member Author

srappel commented Jun 10, 2024

In all honesty, this isn't a huge issue. Here is the above dataset on Geodata@Wisconsin... it does the same thing:

https://geodata.wisc.edu/catalog/WaukeshaCounty-8218c3405342459c8513143c2f5239e4

@srappel
Copy link
Member Author

srappel commented Jul 16, 2024

BTAA handles links really well:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To be assessed
Development

No branches or pull requests

1 participant