This class adds a new type of columns to ORM. It enable POSTGIS geometry type support.
Create a columns of type the geom
Transform input into an object
This function is used to load geometry into browse record after read was done
In charge of managing geom column type
This function used to write and create value into database value can be geojson, wkt, shapely geomerty object. If geo_direct_write in context you can pass diretly WKT
This function is used to transform data in order to be compatible with the create function. It is also use in expression.py in order to represent value.
Update a column of type the geom does. !! not do a lot of test yet
This class adds a new type of columns to ORM. It enables POSTGIS geometry type support
This class adds a new type of columns to ORM. It enables POSTGIS geometry type support
This class adds a new type of columns to ORM. It enables POSTGIS geometry type support
This class adds a new type of columns to ORM. It enables POSTGIS geometry type support
This class adds a new type of columns to ORM. It enables POSTGIS geometry type support
Module that manages map view and vector/raster layer
Add geo_type definition for geo fields
Returns information about the available fields of the class. If view type == ‘map’ returns geographical columns available
Perform a geo search it allows direct domain: geo_search(r, uid, domaine=[(‘name’, ‘ilike’, ‘toto’]), geo_domain=[(‘the_point’, ‘geo_intersect’, myshaply_obj or mywkt or mygeojson)].
We can also support indirect geo_domain (‘geom’, ‘geo_operator’, {‘res.zip.poly’: [‘id’, ‘in’, [1,2,3]] }).
Perform a geo search it allows direct domain: geo_search(r, uid, domaine=[(‘name’, ‘ilike’, ‘toto’]), geo_domain=[(‘the_point’, ‘geo_intersect’, myshaply_obj or mywkt or mygeojson)]
We can also support indirect geo_domain (‘geom’, ‘geo_operator’, {‘res.zip.poly’: [‘id’, ‘in’, [1,2,3]] })
Returns raw sql for geo_equal operator
Returns raw sql for geo_greater operator
Returns raw sql for geo_intersec operator
Returns raw sql for geo_lesser operator
Returns raw sql for geo_touch operator
Returns raw sql for geo_within operator
Retrieves the expression to use in PostGIS statement for a spatial rel search