اوپن سٹریٹ میپ دا لوگو اوپن سٹریٹ میپ

لیکھ When Comment
RoboSat ❤️ Tanzania

Ah - thank you. I had a feeling that was where the disconnect was. So, in your example, .results (or .results[]) is the file you created with the JSON output from http? If piping directly into jq, do I use .results[] or simply .[]?

RoboSat ❤️ Tanzania

Hi, I’m back. I think I sorted out my issues with osmium and all of that, but now I’m going back and I’m stuck at the following section (is it even necessary)?

jq ‘.results[] select(.user.name == “ZANZIBAR MAPPING INITIATIVE”) {user: .user.name, date: .acquisition_start, uuid: .uuid}’

When I enter that command after entering the previous http command (using httpie), my terminal just hangs and doesn’t appear to be doing anything. Is this normal behavior? i.e. is it actually working, but the output takes a really long time? What am I missing here?

RoboSat ❤️ Tanzania

Well, I was about to clip the map using osmconvert, then ran into the issue with robosat where you have to uninstall and reinstall osmium to work with python 3.6. Ran rs extract again and got 38-40 Warning: Invalid feature: links (which seem to open maps with building polygons on them). After that, it bombed out with a traceback ending with osmium._osmium.InvalidLocationError: Invalid location. I’m bummed. I made a leap forward this weekend (tough finding time with an 18-month-old in the house), but hit another wall. Any help you can offer would be appreciated. I’m sure part of my difficulties lie in not being able to devote a lot of time to learning all the tools. I started working on this back when this blog post first came out.

RoboSat ❤️ Tanzania

Thanks for the quick response! In the short term, I’ll try another tool to see if I can get off the ground. After that, I may try to come back and get osmium-tool to work. I like the neat command line aspect of it. Cheers, Charles

RoboSat ❤️ Tanzania

I’m having a devil of a time installing osmium-tool, because I’m having a devil of a time installing protozero. I’m still somewhat of a noob when it comes to ubuntu and installing packages, but I’ve made it this far. I really want to try to follow this tutorial, and move on to working on a project involving Flint, Michigan & parking lots. Can you recommend a course of action for installing protozero? Do I really need osmium-tool to use robosat? I feel like I’m thiiiissssss close to getting this project off the ground, but keep getting stumped by dependencies…