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

Rework @turf/dissolve & new modules proposal #1027

Open
4 tasks done
DenisCarriere opened this issue Oct 17, 2017 · 0 comments
Open
4 tasks done

Rework @turf/dissolve & new modules proposal #1027

DenisCarriere opened this issue Oct 17, 2017 · 0 comments
Assignees
Milestone

Comments

@DenisCarriere
Copy link
Member

DenisCarriere commented Oct 17, 2017

Rework module @turf/dissolve

New module proposal @turf/line-dissolve

New module proposal @turf/polygon-dissolve

New module proposal @turf/homogenous

This proposal is be aimed for post v5.0 release.

Been looking at converting geojson-dissolve to ES modules and diving into the source code and many things could be dropped for performance and geojson-linestring-dissolve can be converted to an internal TurfJS module.

Dependencies

  • topojson-server (ES module compatible)
  • topojson-client (ES module compatible)
  • geojson-linestring-dissolve (should be internalized to TurfJS => zero external dependencies required)
  • geojson-flatten (changed to @turf/meta flattenEach() which will boost performance on large dataset).

@turf/homogenous

Or could be built-in to @turf/invariant or @turf/helpers as homogenous()

Returns a string Geometry type, if multiple or no geometry types are found then it will return null.

@DenisCarriere DenisCarriere added this to the 5.1.0 milestone Oct 17, 2017
@DenisCarriere DenisCarriere self-assigned this Oct 17, 2017
DenisCarriere added a commit that referenced this issue Oct 17, 2017
@DenisCarriere DenisCarriere changed the title Rework modules @turf/dissolve & new module @turf/line-dissolve Rework modules @turf/dissolve & new modules proposal Oct 17, 2017
@DenisCarriere DenisCarriere changed the title Rework modules @turf/dissolve & new modules proposal Rework @turf/dissolve & new modules proposal Oct 17, 2017
DenisCarriere added a commit that referenced this issue Oct 20, 2017
@DenisCarriere DenisCarriere modified the milestones: 5.1.0, 5.2.0 Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant