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

Change output types @turf/polygon-to-linestring #686

Merged
merged 2 commits into from Apr 25, 2017

Conversation

DenisCarriere
Copy link
Member

Changing output types of @turf/polygon-to-linestring.

Before

  • Polygon => FeatureCollection with 1x (Multi)LineString
  • MultiPolygon => FeatureCollection of (Multi)LineString

Type Changes

  • Polygon => (Multi)LineString
  • MultiPolygon => FeatureCollection of (Multi)LineString

This will help keep the data consistent while using in combination with @turf/linestring-to-polygon

Since this module is still fairly new, these changes are going to be considered a minor change

CC: @stebogit

- Change output types
- Update Typescript definition
- Add properties param to translate properties to GeoJSON
- Update fixtures
@DenisCarriere DenisCarriere added this to the 4.2.0 milestone Apr 24, 2017
@DenisCarriere DenisCarriere merged commit d103758 into master Apr 25, 2017
@DenisCarriere DenisCarriere deleted the polygon-to-linestring branch April 25, 2017 04:00
@DenisCarriere DenisCarriere self-assigned this Apr 30, 2017
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.

None yet

1 participant