May I ask how to parse PBF files as text. I need to upload it through a HTTP requester using PUT command. However, it only supports plain text body, without any file format support. Thanks asked 07 Dec '16, 16:24 Wetitpig0 |
2 Answers:
You could try to upload a base64 encoded PBF file. answered 07 Dec '16, 18:21 scai ♦ How! How can a plain text request upload a file in Ubuntu? (07 Dec '16, 23:27) Wetitpig0 1 On Ubuntu use To transform any file into a base64 encoded ASCII file run (08 Dec '16, 08:28) scai ♦ |
The first web search result after the adverts is this. Does that help? answered 07 Dec '16, 16:30 SomeoneElse ♦ edited 07 Dec '16, 16:31 No, it suggests parsing into an OSM XML file, but that would be too large for my computer. (07 Dec '16, 23:27) Wetitpig0 |
Can you explain what you are trying to do in a few more words? Why do you need to upload a plain text file?