How can i decode the base64 string between the ... tags?
Hi @JuKu. Under what conditions are trying to decode? For instance, if were decoding a base64 string in a C# application then I'd use Convert.FromBase64String()
.
Depending on what tools or framework you're using this may be a better question for StackOverflow.
Right, closing this since it's better to search for this online and include whatever programming language or framework you're using.
@Seanba @bjorn The question is more what i have to do with the decoded base64 string.
Without base64 encoding there are xml tags, but with, there aren't any tags? Are there only the tileIDs?
@JuKu The base64 encoding is used because the data is binary, which indeed consists only of 32-bit global tile IDs. See this part of the documentation for details.
@JuKu once you have the base64 string converted to an array of bytes then every 4 bytes in that array make up a single tileID.
Thanks! The junit tests have passed, so it think it works now.