Hello,

I am adding support for working with *vsimem* files from JS buffers to *node-gdal-next *and I have a couple of questions.

 * There is an example for working with *vsimem* files at
   https://gdal.org/api/cpl.html#_CPPv424VSIInstallMemFileHandlerv - it
   says that a *VSIFile* handle is to be immediately closed with
   *VSIFClose* after obtaining it. For me it I get a segfault if I do
   this, but works perfectly if I do not.
 * It seems that I am supposed to call *VSIInstallMemFileHandler*
   before using vsimem files, but they seem to work anyway. So, my
   question is do I need to call it and is there any downside to
   calling it if I am not using vsimem files (ie can I call it all the
   time)?


--
Momtchil Momtchev <[email protected]>

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to