<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://www.ecured.cu/index.php?action=history&amp;feed=atom&amp;title=Geodjango</id>
	<title>Geodjango - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://www.ecured.cu/index.php?action=history&amp;feed=atom&amp;title=Geodjango"/>
	<link rel="alternate" type="text/html" href="https://www.ecured.cu/index.php?title=Geodjango&amp;action=history"/>
	<updated>2026-05-14T09:18:06Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://www.ecured.cu/index.php?title=Geodjango&amp;diff=1901946&amp;oldid=prev</id>
		<title>Geanni en 20:18 24 abr 2013</title>
		<link rel="alternate" type="text/html" href="https://www.ecured.cu/index.php?title=Geodjango&amp;diff=1901946&amp;oldid=prev"/>
		<updated>2013-04-24T20:18:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 20:18 24 abr 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l111&quot; &gt;Línea 111:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Enlaces externos==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Enlaces externos==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*http://www.geodjango.org/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;http://www.geodjango.org/ &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;geodjango]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://code.djangoproject.com/wiki/GeoDjango&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;https://code.djangoproject.com/wiki/GeoDjango &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;code.djangoproject]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*http://gitelephant.cypresslab.net/django/commit/6c5ca9f480f113dfbfc1c3fb3c4c88c32fe5f004&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;http://gitelephant.cypresslab.net/django/commit/6c5ca9f480f113dfbfc1c3fb3c4c88c32fe5f004 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;gitelephant.cypresslab]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://people.djangoproject.com/jbronn/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;https://people.djangoproject.com/jbronn/ &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;people.djangoprojec]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Programación]] [[Category:Desarrollo_web]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Programación]] [[Category:Desarrollo_web]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki1:diff::1.12:old-1885785:rev-1901946 --&gt;
&lt;/table&gt;</summary>
		<author><name>Geanni</name></author>
		
	</entry>
	<entry>
		<id>https://www.ecured.cu/index.php?title=Geodjango&amp;diff=1885785&amp;oldid=prev</id>
		<title>Yaima jc.pilon1: Página creada con '{{Ficha Software |nombre=Geodjango |familia= |imagen=logoGeodjango.jpg |tamaño=200px |descripción=Geodjango. Expanción del framework de desarrollo web Django. |imagen2= |tama...'</title>
		<link rel="alternate" type="text/html" href="https://www.ecured.cu/index.php?title=Geodjango&amp;diff=1885785&amp;oldid=prev"/>
		<updated>2013-04-12T18:49:09Z</updated>

		<summary type="html">&lt;p&gt;Página creada con &amp;#039;{{Ficha Software |nombre=Geodjango |familia= |imagen=logoGeodjango.jpg |tamaño=200px |descripción=Geodjango. Expanción del framework de desarrollo web Django. |imagen2= |tama...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Ficha Software&lt;br /&gt;
|nombre=Geodjango&lt;br /&gt;
|familia=&lt;br /&gt;
|imagen=logoGeodjango.jpg&lt;br /&gt;
|tamaño=200px&lt;br /&gt;
|descripción=Geodjango. Expanción del framework de desarrollo web Django.&lt;br /&gt;
|imagen2=&lt;br /&gt;
|tamaño2=&lt;br /&gt;
|descripción2=&lt;br /&gt;
|creador= Justin Bronn&lt;br /&gt;
|desarrollador=&lt;br /&gt;
|diseñador=&lt;br /&gt;
|modelo de desarrollo=&lt;br /&gt;
|lanzamiento inicial= Septiembre [[2007]]&lt;br /&gt;
|versiones=&lt;br /&gt;
|última versión estable=&lt;br /&gt;
|género=Framework Web geográfico&lt;br /&gt;
|sistemas operativos=Multiplataforma&lt;br /&gt;
|idioma=&lt;br /&gt;
|licencia=BSD&lt;br /&gt;
|premios=&lt;br /&gt;
|web=http://www.geodjango.org/&lt;br /&gt;
}}&amp;lt;div align=justify&amp;gt;&lt;br /&gt;
''' Geodjango ''' una expansión del [[framework]] de desarrollo web [[Django]], que añade funcionalidades específicas que permiten almacenar y manipular [[datos geográficos]]. Es una herramienta enfocada en lograr que la creación de aplicaciones web geográficas se desarrolle de forma rápida y sencilla.&lt;br /&gt;
&lt;br /&gt;
== Surgimiento == &lt;br /&gt;
Fue desarrollado por [[Justin Bronn]] y presentado en FOSS4G 2007 el [[25 de septiembre]] del [[2007]] bajo la licencia [[BSD]].&lt;br /&gt;
GeoDjango pretende ser un [[framework]] de desarrollo Web de clase mundial geográfico. Su objetivo es permitir que la creación de aplicaciones de [[Sistema de Información Geográfica]] ([[SIG]]) se realicen fácilmente, aprovechando el poder de los datos habilitados para operaciones espaciales. &lt;br /&gt;
== Requerimientos==&lt;br /&gt;
Para hacer uso de Geodjango es necesario contar con:&lt;br /&gt;
* [[Python]] y [[Django]]&lt;br /&gt;
* Base de datos espacial&lt;br /&gt;
* Bibliotecas espaciales&lt;br /&gt;
==Base de datos espaciales==&lt;br /&gt;
Como base de datos espacial es recomendable utilizar a [[PostgreSQL]] (con [[PostGIS]]), [[MySQL]], [[Oracle]] y [[SQLite]] (con [[SpatiaLite]]) que son compatibles con esta herramienta.&lt;br /&gt;
==Bibliotecas Geoespaciales==&lt;br /&gt;
Las bibliotecas geoespaciales que necesita Geodjango depende de la base de datos espacial utiliza. Seguidamente se representan la base de datos, los requisitos de la biblioteca, las versiones compatibles y las notas de cada uno de los [[backends]] de bases de datos compatibles.&lt;br /&gt;
==Tabla de requisitos==&lt;br /&gt;
 &lt;br /&gt;
A continuación se enumeran los requisitos de la biblioteca, las versiones compatibles, y de las notasde cada uno de los [[backends]] de bases de datos compatibles:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Base de datos&lt;br /&gt;
! Requerimientos de la Biblioteca&lt;br /&gt;
! Versiones Compatibles&lt;br /&gt;
! Notas&lt;br /&gt;
|-&lt;br /&gt;
|[[PostgreSQL]]||[[GEOS]], [[PROJ.4]], [[PostGIS]]||8.2+||Requiere [[PostGIS]]&lt;br /&gt;
|-&lt;br /&gt;
| [[MySQL]]||[[GEOS]]||5.x||No es compatible con [[OGC]];funcionalidad limitada. &lt;br /&gt;
|-&lt;br /&gt;
|[[Oracle]]||[[GEOS]]||10.2, 11||[[XE]] no se admite, no probado con 9.&lt;br /&gt;
|-&lt;br /&gt;
|[[SQLite]]||[[GEOS]], [[GDAL]], [[PROJ.4]], [[SpatiaLite]]||3.6.+||Requiere [[SpatiaLite]] 2.3+,[[pysqlite2]] 2.5+.&lt;br /&gt;
|}&lt;br /&gt;
==Beneficios del uso de Geodjango en el framework de desarrollo web Django. ==&lt;br /&gt;
&lt;br /&gt;
1. Modelos de Geodjango &lt;br /&gt;
Con Geodjango se puede utilizar atributos espacialesen los modelos.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from django.contrib.gis.db import models&lt;br /&gt;
class Lakes(models.Model):&lt;br /&gt;
name = models.CharField(max_length=100)&lt;br /&gt;
rate = models.IntegerField()&lt;br /&gt;
geom = models.MultiPolygonField()&lt;br /&gt;
objects = models.GeoManager()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Utilidad de las Capas de mapeo [[LayerMapping]]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import os&lt;br /&gt;
from django.contrib.gis.utils import LayerMapping&lt;br /&gt;
from land.models import Lakes&lt;br /&gt;
# Auto-generated `LayerMapping` dictionary for Lakes model&lt;br /&gt;
lakes_mapping = {&lt;br /&gt;
'name' : 'name',&lt;br /&gt;
'rate' : 'rate',&lt;br /&gt;
'geom' : 'MULTIPOLYGON',&lt;br /&gt;
}&lt;br /&gt;
lake_shp = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/lakes.shp'))&lt;br /&gt;
def run(verbose=True):&lt;br /&gt;
lm = LayerMapping(Lakes, lake_shp, lakes_mapping,&lt;br /&gt;
transform=False, encoding='iso-8859-1')&lt;br /&gt;
lm.save(strict=True, verbose=verbose)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
3. Ogrinspect&lt;br /&gt;
&lt;br /&gt;
Es una opción que va a leer la fuente de datos [[OGC]] de la línea de commandos manage.py para obtener el modelo de [[Django]] y un diccionario [[LayerMapping]]&lt;br /&gt;
$ python manage.py ogrinspect land/data/lakes.shp Lakes --srid=4326 --mapping --multi&lt;br /&gt;
&lt;br /&gt;
4. Administración geográfica &lt;br /&gt;
&lt;br /&gt;
El administrador gestionará automáticamente el campo de geometría mediante la materia de administración del proyecto GeoDjango, solo con añadir el admin.py:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from django.contrib.gis import admin&lt;br /&gt;
from models import Lakes&lt;br /&gt;
admin.site.register(Lakes, admin.GeoModelAdmin)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Ahora en la interfaz web de administración, al editar los conjuntos de datos GeoDjango, tendrá una interfaz [[OpenLayers]] para la edición de geometría de la función. La [[API]] de base de datos y la [[API]] de [[GEOS]] le posibilita manejar los datos con funciones de base de datos, permitiendo esto, que sea fácil crear, actualizar y eliminar las funciones, consultaespacial y las operaciones de geometría. También cuenta con campos geométricosdefinidos por funciones [[OGS]] simple tales como:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* PointField&lt;br /&gt;
* LineStringField&lt;br /&gt;
* PolygonField&lt;br /&gt;
* MultiPointField&lt;br /&gt;
* MultiLineStringField&lt;br /&gt;
* MultiPolygonField&lt;br /&gt;
* GeometryCollectionField&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
La [[API]] de base de datos y la [[API]] de [[GEOS]] le posibilita manejar los datos con funciones de base de datos, permitiendo esto que sea fácil crear, actualizar y eliminar las funciones, consultaespacial y las operaciones de geometría.&lt;br /&gt;
GDAL API es un API fantástico para leer (y escribir en muchos casos) varias fuentes de datos vectoriales.&lt;br /&gt;
 &lt;br /&gt;
==Enlaces externos==&lt;br /&gt;
*http://www.geodjango.org/&lt;br /&gt;
*https://code.djangoproject.com/wiki/GeoDjango&lt;br /&gt;
*http://gitelephant.cypresslab.net/django/commit/6c5ca9f480f113dfbfc1c3fb3c4c88c32fe5f004&lt;br /&gt;
*https://people.djangoproject.com/jbronn/&lt;br /&gt;
[[Category:Programación]] [[Category:Desarrollo_web]]&lt;/div&gt;</summary>
		<author><name>Yaima jc.pilon1</name></author>
		
	</entry>
</feed>