You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on the latest commit of master (b1d77cb), and I am having issues with loading archives after modifying the schema. Playing around with osmflat-rs, I added a few things to the schema. I am able to compile OSM data fine, but when I try and open an archive (using the debug example), I get ResourceStorageError.WrongSignature.
Digging in a bit, it looks like flatdata-generator and the archive.schema written to the data directory do not match with their tags. The check to see if the stored schema and expected schema is simply doing a string compare, and this fails.
if stored_schema != expected_schema {returnErr(ResourceStorageError::WrongSignature{resource_name: resource_name.into(),diff:compute_diff(stored_schema, expected_schema),});}
From the generated file, the OSM raw string representing the schema does not have a tab indenting the contents of the namespace. The archive.schema file does.
The text was updated successfully, but these errors were encountered:
I am on the latest commit of master (b1d77cb), and I am having issues with loading archives after modifying the schema. Playing around with osmflat-rs, I added a few things to the schema. I am able to compile OSM data fine, but when I try and open an archive (using the debug example), I get
ResourceStorageError.WrongSignature
.Digging in a bit, it looks like
flatdata-generator
and the archive.schema written to the data directory do not match with their tags. The check to see if the stored schema and expected schema is simply doing a string compare, and this fails.I generate the rust file like so:
From the generated file, the OSM raw string representing the schema does not have a tab indenting the contents of the namespace. The archive.schema file does.
The text was updated successfully, but these errors were encountered: