Skip to content

geojson.parse ignores alt value #54

Description

@idokleinman

Given
let pointObj = {lat: 1.1, lon: 2.2, alt: 3.3, test: 'test'};
let point = geojson.parse(pointObj, { Point: ['lat', 'lon', 'alt'] });

point will equal
{ type: 'Point', coordinates: [ 2.2, 1.1 ] }
alt value has been dropped.
Why?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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