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

Added a working test case for parseNodes() #30

Closed
wants to merge 2 commits into from

Conversation

clydedacruz
Copy link
Contributor

Used the existing GreaterLondon PBF file and generated a new PBF file that has nodes as Nodes and not DenseNodes .

Updated the test cases to include the test for 'non dense' nodes aswell.

@clydedacruz
Copy link
Contributor Author

@jongillham @AlekSi, please review. Thanks! :)

@AlekSi AlekSi self-requested a review March 12, 2018 14:42
decode_test.go Outdated
// Same file as above, but without 'DenseNodes'. This has been generated using the below command (using osmium-tool http://osmcode.org/osmium-tool/)
// "osmium cat -o greater-london-140324-nondense.osm.pbf greater-london-140324.osm.pbf -f osm.pbf,pbf_dense_nodes=false"
LondonNonDense = "greater-london-140324-nondense.osm.pbf"
LondonNonDenseURL = "https://gist.githubusercontent.com/clydedacruz/6263693f4facc28c84e768e708a489ff/raw/0f2ecad796a0234678c8fa6a0cc8fae376ead646/greater-london-140324-nondense.osm.pbf"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just added it to the same gist as dense version: https://gist.github.com/AlekSi/d4369aa13cf1fc5ddfac3e91b67b2f7b. Please update that URL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Contributor Author

@clydedacruz clydedacruz Mar 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlekSi I've updated the gist link

@clydedacruz
Copy link
Contributor Author

@AlekSi suggested updates are completed. Please review. Thanks!

@AlekSi AlekSi self-assigned this Mar 19, 2018
@AlekSi
Copy link
Collaborator

AlekSi commented Mar 25, 2018

Merged (with small refactoring). Thanks!

@AlekSi AlekSi closed this Mar 25, 2018
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

Successfully merging this pull request may close these issues.

3 participants