On dimanche 2 février 2020 18:11:26 CET Joaquim Manuel Freire Luís wrote:
> >> Is there an
> >> example somewhere of creating a Memory (not MEM?) vector dataset that
> >> I could use to learn more on this?
> > 
> > https://gdal.org/tutorials/vector_api_tut.html#writing-to-ogr should work
> > with MEM too.
> Even,
> 
> Sorry, I'm having *some* troubles with the MEM driver that I don't see how
> to solve
> 
> <begin snip>
>       hDriver = GDALGetDriverByName("MEM");

--> should be "Memory" here for the vector driver. The MEM driver is raster-
only.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to