Changeset e4c6e20 in observatorio
- Timestamp:
- Sep 18, 2014, 11:13:48 AM (10 years ago)
- Branches:
- master
- Children:
- fbb6e39
- Parents:
- 8f0070d (diff), 7305c19 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- procesos
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
procesos/apps/geocadena/models.py
rfe53a97 r7305c19 22 22 from sigesic.unidadecon.nodosprodu.models import Personal_Ocupado 23 23 from sigesic.produccion.models import Produccion_precios_r, Consumo_precios_r 24 25 26 class LayerCentroidePais(models.Model): 27 """! 28 Clase que gestiona los datos para los centroides de países a nivel mundial 29 30 @author Ing. Roldan D. Vargas G. rvargas@cenditel.gob.ve 31 @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) Nodo Mérida 32 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 33 @date 18-09-2014 34 @version 1.0.1 35 """ 36 gid = models.AutoField(primary_key=True) 37 fips = models.CharField(max_length=2, null=True) 38 iso2 = models.CharField(max_length=2, null=True) 39 iso3 = models.CharField(max_length=3, null=True) 40 un = models.PositiveSmallIntegerField(max_length=4, null=True) 41 name = models.CharField(max_length=50, null=True) 42 area = models.IntegerField(max_length=10, null=True) 43 pop2005 = models.DecimalField(max_digits=10, decimal_places=0, null=True) 44 region = models.PositiveSmallIntegerField(max_length=4, null=True) 45 subregion = models.PositiveSmallIntegerField(max_length=4, null=True) 46 lon = models.DecimalField(max_digits=10, decimal_places=4, null=True) 47 lat = models.DecimalField(max_digits=10, decimal_places=4, null=True) 48 geom = models.PointField(null=True) 49 50 class Meta: 51 """! 52 Metaclase que permite establecer las propiedades de la clase LayerCentroidePais 53 54 @author Ing. Roldan D. Vargas G. rvargas@cenditel.gob.ve 55 @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) Nodo Mérida 56 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 57 @date 18-09-2014 58 @version 1.0.1 59 """ 60 ordering = ['name'] 61 verbose_name = 'Capa Centroide por Pais' 62 verbose_name_plural = 'Capa Centroides por Países' 63 db_table = 'layer_centroide_pais' 64 24 65 25 66
Note: See TracChangeset
for help on using the changeset viewer.