This is a known issue which I think Mark Cave-Ayland is working on. I think Mike Leahy had suggested using
ST_MemUnion as a work around. Hope that helps, Regina -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of William Temperley Sent: Wednesday, March 19, 2008 9:42 AM To: [email protected] Subject: [postgis-users] ST_Union and 8.3? Hello all I'm having problems with ST_Union. I get the error: ERROR: Operation on mixed SRID geometries SQL state: XX000 With the queries: select st_union(the_geom) from tiles select st_union(st_transform(the_geom, 4326)) from tiles The second query cannot possibly have mixed srids! st_collect works fine. I've tried isvalid() and all is valid. This works on the production server fine. My version: "1.3 USE_GEOS=1 USE_PROJ=1 USE_STATS=1" "PostgreSQL 8.3.0, compiled by Visual C++ build 1400" Example inserts below: insert into tiles values('2016~1326', SetSRID(st_makebox2d(st_makepoint(-2.8125,53.38332836757156),st_makepoin t(-2.724609375, 53.4357192066942)), 4326));insert into tiles values('2016~1327', SetSRID(st_makebox2d(st_makepoint(-2.8125,53.33087298301704),st_makepoin t(-2.724609375, 53.38332836757156)), 4326)) Any ideas what's wrong here? Cheers Will _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users ----------------------------------------- The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
