Skip to content

MVT encoding (or decoding) issue #218

@grim7reaper

Description

@grim7reaper

Seems like in some cases geozero cannot read the MVT it generated.

Simple example:

#[test]
fn render_rect() {
    let shape = Rect::new(Coord { x: 0., y: 0. }, Coord { x: 1., y: 1. });
    let feature = Geometry::Rect(shape).to_mvt_unscaled().expect("mvt");
    let mut writer = GeoWriter::new();
    geozero::mvt::process_geom(&feature, &mut writer).expect("read MVT");
}

Dunno if the issue is in the encoder or the decoder.

Or maybe I'm doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions