Skip to content

Asset URL encoding of "space" character #804

@drandyziegler

Description

@drandyziegler

While the asset part in the STAC Item json looks like this

assets": {
    "latest_data": {
      "href": ["http://hilltop.gw.govt.nz/data.hts?Service=Hilltop&Request=GetData&Site=Abbots%20Creek%20at%20Featherston&Measurement=Daily%20Rainfall%20%5BRainfall%5D"](http://hilltop.gw.govt.nz/data.hts?Service=Hilltop&Request=GetData&Site=Abbots%20Creek%20at%20Featherston&Measurement=Daily%20Rainfall%20%5BRainfall%5D),
      "type": "application/xml",
      "roles": [
        "data"
      ],
      "title": "Hilltop GetData (latest): Abbots Creek at Featherston / Daily Rainfall [Rainfall]"
    }
  },

I get the following when hovering over the "Download" or "Copy URL" buttons in STAC browser, as well as when I click on it
https://[hilltop.gw.govt.nz/data.hts?Service=Hilltop&Request=GetData&Site=Abbots+Creek+at+Featherston&Measurement=Daily+Rainfall+%5BRainfall%5D

Latter URL from STAC browser does not work, the URL as present in the asset definition is fine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions