Changes between Initial Version and Version 3 of Ticket #8881


Ignore:
Timestamp:
Sep 7, 2008, 1:07:49 PM (16 years ago)
Author:
jbronn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8881

    • Property Keywords gis layermapping added
    • Property Owner changed from nobody to jbronn
  • Ticket #8881 – Description

    initial v3  
    1 If my models have a two o more fields of type geometry:
     1If my models have two or more geometry fields:
     2{{{
    23class Lugares(models.Model) :
    34    nombre = models.CharField(max_length=80)
     
    78
    89
     10lm=LayerMapping(Lugares,'/home/woakas/nuevo.shp', mapping,unique={'poligono':'POLYGON','tipolugar':'Ciudad'})
    911
    10 lm=LayerMapping(Lugares,'/home/woakas/nuevo.shp', mapping,unique={'poligono':'POLYGON','tipolugar':'Ciudad'})
    11 ---------------------------------------------------------------------------
     12}}}
     13
     14{{{
    1215LayerMapError                             Traceback (most recent call last)
    1316
     
    3033LayerMapError: Geometry column does not exist for model. (did you run syncdb?):
    3134 get() returned more than one GeometryColumns -- it returned 2! Lookup parameters were {'f_table_name': 'migtrace_lugares'}
    32 
    33 
     35}}}
Back to Top