Hi Jorge, > My name is Jorge and I'm starting to use OpenJUMP. A big thank you for > those who have developed it. > > I've noticed that OJ 1.5.1 is unable to open PostGIS 2.0 tables, and the > issue already have being discussed here, in the mailing list, by Jukka > and Michaël. > > Michaël probably already fixed the problem, but the solution is not > included in the nightly build. > > OJ uses the function to calculate the table extent: > CREATE OR REPLACE FUNCTION find_extent(text1, text2) RETURNS box2d AS > It works in PostGIS 1.5.x. Thanks, this is a place where I forgot to update postgis functions.
> But we might change it to something like: > SELECT ST_Extent(text2) from text1 I just changed extent computation that way (this code is executed if ST_Estimated_Extent fails, as estimation should be way faster than ST_Extent which does a complete scan) > > Both return a 2D BOX type. > > I'm available to help. Thanks, you're welcome to try extensively next NB (2894+) before I merge the change in 1.5.2 stable release, I only tested it with an old postgis 1.4 installation. Michaël > > Regards, > > Jorge ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
