Open trusktr opened 4 years ago
Seems like the issue may be in resolve-protobuf-schema, considering that pbf
uses that. Opened the issue there: https://github.com/mafintosh/resolve-protobuf-schema/issues/10
Hi @trusktr,
I release the vector tiles(.pbf) by using Geoserver, but I have no idea how to generate a .proto file. Where does your proto file come from?
Oliver
I've been using protobufjs and other tools for other languages, and everything is working great so far.
I wanted to try swapping protobufjs for pbf, but pbf has an issue with the proto files.
At the top of one of my files, I have
but then when I run
./node_modules/.bin/pbf ./foo/models/v1/test.proto > example.js
I get an error:As you can see, it is repeating part of the path twice (
foo/models/v1/foo/models/v1
).As far as I can tell, our proto files are all valid, as they've worked with all of our tools for all our languages so far, just not with pbf due to the above error.
Any ideas?