-
Notifications
You must be signed in to change notification settings - Fork 112
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
OSMnx and Treepedia #1
Comments
@TheodoreGalanos I have the same issue. Did you find a solution for it yet? |
@luyuhao0326 I got the same issue as well, anyone find a solution? |
Hi @luyuhao0326 @TheodoreGalanos @NuozhouFU I don't know if you solved this yet but the GVI value of -166,667 comes from these lines in the GreenView_Calculate.py script:
I had the same issue and I got it fixed by re-installing the pymeanshift module that is used in segmenting the images. Akseli |
Hi Akesli, I will give that a try. Did you run it in py27 or 3? |
@luyuhao0326 I ran this code using py2.7 |
You should check if you are using your own Google Street View image API key (https://developers.google.com/maps/documentation/streetview/usage-and-billing). The former key is expired because Google changed its pricing policy. The reason why we set negative value is used to tell users that the result is invalid. If you have too many invalid results, that means your images may not be properly downloaded. |
Thanks to the team for this very much needed library. I have been using this library for one of my projects and I faced the same issue. |
Nice! adding to this, it seems you can simply use |
Hello!
First of all thank you so much for this project, is quite amazing!
I took a first try in generating a greenview index map for a smaller area. To do that, I used OSMnx to extract a graph from a location and then saved the shapefile (in what I think was the correct projection). All steps run ok, but I noticed I was getting always the same value of GVI (-166,667) for all coordinates which indicated immediately that there was something wrong with my input file.
Is there maybe something I'm missing, for example OSMnx shape files not proper inputs for treepedia? Is there an example of how the two would work together that you can share? I'm only asking since that would make for a very flexible and bespoke workflow for treepedia.
P.S.: If it heps I can share the .shp file I input later today.
Thanks in advance!
Kind regards,
Theodore.
The text was updated successfully, but these errors were encountered: