python-postgis icon indicating copy to clipboard operation
python-postgis copied to clipboard

PostGIS helpers for psycopg2 and asyncpg

Results 4 python-postgis issues
Sort by recently updated
recently updated
newest added

When a Point with Z and/or M elements is read from the database, those elements are truncated into integers for no apparent reason. This happens in the Point constructor.

I wonder if we should make sure neither `self.coords` nor `self.srid` is changed during the lifetime of a geometry, given hash depends on them, and a hash of an instance...

For 1000000 rows: #### Without cython Read Point 5.178226153992 Write Point 3.986783471002127 #### With cython "automatic" Read Point 3.1899413310020464 Write Point 2.731560925996746 #### With ewkb cythonized (this branch) Read Point...