Django-Geo.

°ü¸® Áö¸®Àû µ¥ÀÌÅ͸¦ °ü¸®ÇÏ´Â Django ÀÀ¿ë ÇÁ·Î±×·¥
Áö±Ý ´Ù¿î·Îµå

Django-Geo. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • BSD License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • sax
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://k-tech.it

Django-Geo. ű×


Django-Geo. ¼³¸í

Django-Geo´Â °ü¸® Áö¸®Àû µ¥ÀÌÅ͸¦ °ü¸®ÇÏ´Â Django ¾ÛÀÔ´Ï´Ù. Django-MPTT https://githo-mptt https://github.com/django-mptt/django-mptt/geo°¡ GIS¸¦ ´ëüÇÏÁö ¾Ê°í °ü¸® ³ª¹«°¡ÀÖ´Â ¸ðµç »ç·Ê¸¦ °ü¸®ÇÏ´Â µ¥´Â ¼öÁ¤ µÈ Preorder Æ®¸® Æ®¸® Ž»öÀ» »ç¿ëÇÕ´Ï´Ù. strict / lazy hierarchy.models- ±¹°¡ - À§Ä¡ - °ü¸® - °ü¸® - ÅëÈ­ - CountryExamples 3 ·¹º§ ÀÌÅ»¸®¾Æ = Country.Objects.get (iso_code = 'it') jete, __ = italy.administrativeAreaType_set.get_or_create (name = 'regione) provincia __ = italy.administrativeAreaType_set.get_or_create (name = 'provincia', parent = regione) comune, __ = italy.administrativeAreaType_set.get_or_create (name = 'comune', parencincia) lazio, __ = asment_or_create (±¹°¡ = ÀÌÅ»¸®¾Æ, À̸§ = 'lazio', type = regione) roma_provincia, __ = _ _create (±¹°¡ = ÀÌÅ»¸®¾Æ, name = 'provincia di roma', type = provincia, parent = lazio) roma_comune, __ = administrativeArea.Objects .get_or_create (±¹°¡ = ÀÌÅ»¸®¾Æ, À̸§ = 'comune di roma', type = comune, parent = roma_provincia) roma, __ = location.Objects.get_or_create (±¹°¡ = ÀÌÅ»¸®¾Æ, À̸§ = 'Roma', type = location.city, area = roma_comune) µÎ ·¹º§, us = country.objects.get (iso_code = 'US') »óÅÂ, __ = italy.administrativeAreaType_set.get_or_or_create (name = 'state') Ä«¿îƼ, __ = italy.administrativeAreaType_set.get_or_create (name = 'county', parent = state) ny, __ = administrativevearea.objects.get_or_create (±¹°¡ = ¹Ì±¹, À̸§ = ' ´º¿å ', Type = State) columbia, __ = administrativevearea.objects.get_or_create (±¹°¡ = ¹Ì±¹, À̸§ ='columbia ', type = county, parent = ny) hudson, __ = loction.Objects.get_or_create (±¹°¡ = ¹Ì±¹, name = 'hudson', type = location.city, area = columbia, is_administrative = true) Á¦Ç°ÀÇ È¨ÆäÀÌÁö


Django-Geo. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

ÇØ°áÃ¥

´Â SQLAlchemy¸¦ »ç¿ëÇϱ⠽±°í Àç¹ÌÀÖ°Ô »ç¿ëÇÏ°í »ç¿ëÀÚ Á¤ÀÇ ±â´ÉÀ» Ãß°¡ÇÕ´Ï´Ù. ...

162

´Ù¿î·Îµå