Skip to content

Instantly share code, notes, and snippets.

Avatar

Gustavo Díaz Jaimes gustabot42

  • Colombia
View GitHub Profile
@gustabot42
gustabot42 / gdb_cmp.py
Last active Aug 25, 2017
Script para comparar gdb
View gdb_cmp.py
#!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 Aug 1, 2017
Read ESRI GDB With Python 3 GDAL/OGR
View gdb_read.py
#!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
Django taggit at Kind of tag by proxy
View model-KindTaggedItem.py
# .../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
You can’t perform that action at this time.