Tryton-gis model

Hi I’m new to tryton and i want to use tryto gis, i have installed tryton-gis and have enabled postgis in the database y my tryton conf file is not the problem ,but i haven’t founded any documentation so, i’m asking for help in any form (documentation or an example of a model).

There’s a small example in the tests:

trytond-gis/trytond_gis/tests/gis.py

thanks you, this helps me a lot if there is another problem related to this I’ll ask againg

You are missing this import:

from trytond_gis import fields as geo_fields

Hi thanks, but now i’m getting this problem:

AttributeError: ‘Point’ object has no attribute ‘geometry_type’
Fault: ‘Point’ object has no attribute ‘geometry_type’

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.