Skip to content

Write top level 'id' to output Features #65

@kevinmhinson

Description

@kevinmhinson

Hi! I need to be able to write a top level 'id' in each Feature (not as part of 'properties')... and in vectortile.Layer.unfeature(), the arg id: Option[Long] passed to vectortile.internal.vector_tile.Tile.Feature is hard-coded in .unfeature() as None. I've opened geotrellis issue #2884 to try and expose the ability to create Layers with a Map[String,Value] => Option[Long] function to convert 'data' => 'id' to pass a valid id along to vt.Tile.Feature().

For that to be useful, vectorpipe.Collate.generically() would have to also accept the same arg and pass along when constructing a vectortile.StrictLayer.

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