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

Feature concatenate geojson with object properties #205

Merged

Conversation

remegraw
Copy link
Contributor

Description:

ConcatenateGeoJsonCommand assumed that all input geojson features would have only string properties.

This PR resolves the above issue, and simplifies how the features are handled. They are no longer deserialized from json objects to POJOs; rather the features json objects directly added to the "features" array of an enclosing "FeatureCollection"

Potential Impact:

Changes are backward compatible with existing uses of this job.

Unit Test Approach:

Added unit test for new method added to GeoJsonBuilder, and added unit tests for end-to-end file geojson file merging.

Test Results:

All test pass

Describe other (non-unit) test results here.


In doubt: Contributing Guidelines

Copy link
Contributor

@MikeGost MikeGost left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the updates @remegraw!

Copy link
Collaborator

@matthieun matthieun left a comment

Choose a reason for hiding this comment

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

Nice unit tests!

@matthieun matthieun merged commit 8ef8677 into osmlab:dev Aug 28, 2018
@matthieun matthieun added this to the 5.1.10 milestone Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants