Update GeomertyFactory in Hub to accept InputStream #208
SikandarEjaz
started this conversation in
General
Replies: 2 comments
0 replies
|
Yann and I had a brief discussion about this today. I’ve created this discussion so we can work together on a solution. If needed, we can also invite Koa, Conor, and others to join the discussion. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently,
GeometryFactoryis implemented to accept afile_pathas input. To enable more efficient communication between CITYdata and Hub, it should be refactored to accept anInputStreaminstead.In Python, one possible approach is to use the
io.RawIOBase. See the details here: io.RawIOBaseAll reactions