We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
Code looks legit at a first glance. What's the error message?
Sorry, something went wrong.
Error I get is:
MvtError(GeometryFormat)
I tried to debug it a bit and it's coming from here.
My guess is that we somehow detect an interior ring (negative area) but since there is no outer ring to which it could belong we get the error.
So maybe a problem at write time?
No branches or pull requests
Seems like in some cases geozero cannot read the MVT it generated.
Simple example:
Dunno if the issue is in the encoder or the decoder.
Or maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered: