-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error when debug = True #2
Comments
Hi! To better understand what's causing the issue, could you please include a snippet of the code that produced the error? |
Hello, thanks for replying. Of course, this is a simplified version of my code that raises the exception:
Running this script the error will arise with the calls to the function that uses |
This line (169) commented solves the issue sam-drew#2 . I guess that line was intended to show us the value of some variables (max and min of x and y for the fence) that are not in the code anymore.
Thanks for the updated info. Your pull request does seem to fix this (I'll merge it in a second!). To be totally honest I haven't looked at this project in a looooooong time. If it's something you find useful, we could look at improving it? |
Hi. Yes, it is useful to me, thank you. |
Hello @sam-drew , related to your question about if I could help improving, my program uses the geofence objects created by the library and then prints a map with those geofences (and the points I'm checking) because it helps a lot tracking the trajectories and double checking if everything is right. Example: Also I'm trying to implement the use of kml / kmz files (kml is a text file with XML structure and kmz is a compressed kml) comonly used by Google Earth or OpenStreetMap to represent objects on maps. Maybe being able to import them to define a geofence or to export a geofence into a kml file. If any of those features look interesting for you to add to the library I can try doing it. |
Absolutely, those certainly seem like useful features. I'm not sure that I will have much time to help out, but if you want to go ahead yourself then please do :) |
If we call the Fence class method
check_point
with the parameter debug being true, an error raises due to the variablesmax_x
,min_x
,max_y
,min_y
not being defined previously to their use.The text was updated successfully, but these errors were encountered: