Skip to content

err Error: Each LinearRing of a Polygon must have 4 or more Positions. #6

@gurumnyang

Description

@gurumnyang
Error: Each LinearRing of a Polygon must have 4 or more Positions.
    at polygon (C:\Users\GurumNyang\Documents\Github\PZ_seoul\node_modules\@turf\helpers\dist\js\index.js:233:19)
    at EdgeRing.toPolygon (C:\Users\GurumNyang\Documents\Github\PZ_seoul\node_modules\polygonize\cjs\EdgeRing.js:171:50)
    at EdgeRing.getEnvelope (C:\Users\GurumNyang\Documents\Github\PZ_seoul\node_modules\polygonize\cjs\EdgeRing.js:182:59)
    at C:\Users\GurumNyang\Documents\Github\PZ_seoul\node_modules\polygonize\cjs\EdgeRing.js:219:33
    at Array.forEach (<anonymous>)
    at Function.findEdgeRingContaining (C:\Users\GurumNyang\Documents\Github\PZ_seoul\node_modules\polygonize\cjs\EdgeRing.js:218:17)
    at C:\Users\GurumNyang\Documents\Github\PZ_seoul\node_modules\polygonize\cjs\index.js:58:28
    at Array.forEach (<anonymous>)
    at polygonize (C:\Users\GurumNyang\Documents\Github\PZ_seoul\node_modules\polygonize\cjs\index.js:57:9)
    at C:\Users\GurumNyang\Documents\Github\PZ_seoul\src\readOsm.js:314:36

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions