You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because geohashes are meant to be used in 4326, we need to fix this on the pg_geohash_extra extension.
After that, we have to decide whether we choose one of these three options:
Transform backups to 4326
Transform the database at the entry-point
Use a query to solve that on demand (see the following).
SELECT*FROMs2005.t_poli_geo_castellonAS pol
WHERE st_intersects(st_transform(st_setsrid(pol.geom,4258),4326),
st_setsrid(st_geomfromgeohash('ezp6r'),4326));
The text was updated successfully, but these errors were encountered:
Transform backups to SRID=4326? Or maybe you have already a command to do that? Right now, I think we could keep both of them (4258 and 4326), but the 4326 version will save time and code when working with geohashes...
Remove modifiers from siose table names. e.g. t_poli_geo_castellon should be t_poli_geo.
There are several issues related to the different SRIDs we are using. I have checked that:
st_fromgeohash(geom)
function returns geometries without specifying a SRIDBecause geohashes are meant to be used in 4326, we need to fix this on the
pg_geohash_extra
extension.After that, we have to decide whether we choose one of these three options:
The text was updated successfully, but these errors were encountered: