Skip to content

LineString conversion creates null geometries in Shapefile #11

@edsnowden

Description

@edsnowden

Given the following input

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [ -64.643554687500014, 46.724800374667197 ],
          [ -64.182128906250014, 46.293815562333691 ],
          [ -62.369384765625007, 45.79816953017265 ],
          [ -61.369628906250007, 46.4605655457854 ],
          [ -61.094970703125007, 46.785016042692561 ]
        ]
      },
      "id":"O1022",
      "properties": {
        "name": "1974.1004"
      }
    }
  ]
}

shpwrite.download() produces a Shapefile with three geometries, the second and third of which are nulls.

See calvinmetcalf/shapefile-js#159

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions