Django-Geo.

Eine Django-Anwendung, die administrative geografische Daten verwaltet
Jetzt downloaden

Django-Geo. Ranking & Zusammenfassung

Anzeige

  • Rating:
  • Lizenz:
  • BSD License
  • Preis:
  • FREE
  • Name des Herausgebers:
  • sax
  • Website des Verlags:
  • http://k-tech.it

Django-Geo. Stichworte


Django-Geo. Beschreibung

Django-GEO ist eine Django-App, die administrative geografische Daten verwaltet. Es verwendet modifizierte Preorder TreeRersal, bereitgestellt von django-mptt https://github.com/django-mptt/django-mptt/geo ist nicht intentiert, um eine GIs zu ersetzen, sondern um alle Fälle, in denen Sie Verwaltungsbäume haben, mit Eine strikte / faule Hierarchie.Models- Land- Gebirge- Standort- AdministrativAreatype- weuchduexamples dreiwerte ITALIEN = Country.Objects.get (ISO_CODE = 'IT') Regione, __ = ITALIEN.AgministriTivEarfeatype_set.get_or_create (Name = 'Regione') Provincia , __ = Italien = Italien, Name = 'Lazio', type = regione) Roma_Provincia, __ = administrativeaea.objects.get_or_create (Country = Italy, Name = 'Provincia di Roma, Typ = Provincia, Eltern = Latium) Roma_Voune, __ = administrativeaea.Objects .get_or_create (land = italien, name = 'comune di roma', type = comune, parent = roma_provincia) Roma, __ = location.objects.get_or_create (land = italien, name = 'roma', type = location.city, area = roma_comune) zwei Ebenen, US = Country.Objects.get (ISO_CODE = 'US') STATE, __ = Italien New York ', Typ = Bundesstaat) Columbia, __ = AdministrATIVEA.Objects.get_or_create (Country = US, Name =' Columbia ', Typ = County, Eltern = NY) Hudson, __ = location.objects.get_or_create (Country = USA, Name = 'hudson', type = location.city, area = columbia, is_administriative = true) Produkthomepage


Django-Geo. Zugehörige Software