Skip to content
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

kmltrack AIS positions colored by score #2

Closed
Bjorn-skytruth opened this issue Apr 24, 2015 · 3 comments
Closed

kmltrack AIS positions colored by score #2

Bjorn-skytruth opened this issue Apr 24, 2015 · 3 comments
Assignees

Comments

@Bjorn-skytruth
Copy link

@redhog We were unable to get this tool to work. I am interested in coloring a track by score. Its possible it didn't work because there was no course field in the data. The PIPA data we are looking at is below.

pipa_report.PIPA_2012_2013_NOVDEC2014_JANFEB2015

@geowurster
Copy link
Contributor

@Bjorn-skytruth can you provide a sample file, command, and error output? This is pretty ambiguous and doesn't give @redhog anywhere to start.

@redhog I tried to debug but I can't run the unittests as per #1.

@Bjorn-skytruth
Copy link
Author

Here is the output error. The csv is in flowdock.

https://www.flowdock.com/rest/files/74661/60m7oCNOgS7LJR2By0OBJg/kmlbyscore.csv

$ kmltrack kmlbyscore.csv kmlbyscore.kml --format=csv --map-lat="float(latitude)" --map-lon="float(longitude)" --map-color="float(score)"
global name 'cvs' is not defined

@redhog
Copy link
Contributor

redhog commented Apr 29, 2015

This bug was fixed in the latest dev version, which I've now published to pypi. To upgrade:

pip install --upgrade kmltrack

You also need to modify your command line slightly (because of another change in the latest version):

kmltrack kmlbyscore.csv kmlbyscore.kml --format=csv --map lat="float(latitude)" --map lon="float(longitude)" --map color="float(score)"

@redhog redhog closed this as completed Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants