Skip to main content

Search

Items tagged with: django


Using CSV File as data storage and access
Thanks adamchainz!

You can use “CSV” table storage in (at least) these database backends:

SQLite: https://www.sqlite.org/csv.html 42

MySQL/MariaDB via the “CSV” storage engine: https://dev.mysql.com/doc/refman/8.0/en/csv-storage-engine.html 15 . Or MariaDB via the CONNECT storage engine: https://mariadb.com/kb/en/connect/ 1

https://monodes.com/predaelli/2023/09/01/using-csv-file-as-data-storage-and-access/
#Django #Python #Tricks


I use #osgeo's #gdal #python bindings throughout my #django app, but hope to transition to #rasterio. I've read you really need to pick one or the other https://rasterio.readthedocs.io/en/stable/topics/switch.html because the underlying GDAL C lib objects get handled differently by each python lib. However, I'm hoping I could write and run some management commands/celery tasks that use rasterio while leaving the rest of the app to use osgeo.gdal for now. Anyone have experience with gotchyas in this environment?

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.