Skip to content

Instantly share code, notes, and snippets.

View gustabot42's full-sized avatar

Gustavo Díaz Jaimes gustabot42

View GitHub Profile
@gustabot42
gustabot42 / gdb_cmp.py
Last active August 25, 2017 21:17
Script para comparar gdb
#!python3
# Using python3 anconda
# conda install -c conda-forge gdal
# gustavodiazjaimes@gmail.com
# versión 0.1
#usage:
#
@gustabot42
gustabot42 / gdb_read.py
Last active June 23, 2022 18:15
Read ESRI GDB With Python 3 GDAL/OGR
#!python3
# Using python3 anconda
# conda install -c conda-forge gdal
from pathlib import Path
from contextlib import contextmanager
from osgeo import ogr
@contextmanager
@gustabot42
gustabot42 / model-KindTaggedItem.py
Created May 6, 2012 08:52
Django taggit at Kind of tag by proxy
# .../apps/taggit-wrap/models.py
from django.db import models
from django.contrib.contenttypes.models import ContentType
from django.utils.translation import ugettext_lazy as _
from taggit.models import GenericTaggedItemBase, TaggedItemBase
# Mixin