-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
Write top level 'id' to output Features #65
Comments
Hi, @kevinmhinson. Thanks for lodging this issue. As you seem to be aware, VP is currently undergoing a bit of a redesign, and the generation of vectortiles is ripe for improvement since the As it happens, I pushed the big, green button on the first round of improvements to this library this morning, now available under the v1.0.0-RC1 tag. This replaces (Reading between the lines, that does unfortunately imply that we're very unlikely to put any further work into the old interface, and if you need this desperately, it'll unfortunately fall on you to do the leg work yourself—which we would be happy to include in a bugfix release of the 0.3 line if you feel like making a PR.) On the upside, the changes to vector tile generation are already in progress, and I hope to have something for public consumption on a weeks-not-months timeline (barring any exigencies that take me away from the project). |
Hi @jpolchlo . Awesome news! I appreciate this feedback, and the consideration of this request. The work you guys do is awesome, and really helpful! Thank you! I'm completely on-board with however you want to implement. I just opened the issue here because ultimately if GT is able to write top-level id's, it will help to have the functionality exposed through VP too. I'm agnostic about how, just wanted to come in with a suggestion instead of a problem. Re the old interface... I'm in good shape now. I have a locally compiled GT v2.1 with a hard coded solution in Layer, and it plays nicely so far with VP 0.3 as-is. I'll be happy to get back on a standard release though if these issues gain traction. Thanks again! |
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 argid: Option[Long]
passed tovectortile.internal.vector_tile.Tile.Feature
is hard-coded in .unfeature() asNone
. I've opened geotrellis issue #2884 to try and expose the ability to create Layers with aMap[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 avectortile.StrictLayer
.The text was updated successfully, but these errors were encountered: