Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 52038 invoked from network); 5 May 2008 15:03:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 15:03:30 -0000 Received: (qmail 50672 invoked by uid 500); 5 May 2008 15:03:31 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50630 invoked by uid 500); 5 May 2008 15:03:31 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 50619 invoked by uid 99); 5 May 2008 15:03:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 08:03:31 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.43.132] (HELO sca-es-mail-1.sun.com) (192.18.43.132) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 15:02:43 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m45F2uwt006744 for ; Mon, 5 May 2008 08:02:56 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K0E00301HN10Q00@fe-sfbay-10.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-dev@db.apache.org; Mon, 05 May 2008 08:02:56 -0700 (PDT) Received: from richard-hillegas-computer.local ([129.150.18.173]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K0E00AQHHSW4860@fe-sfbay-10.sun.com> for derby-dev@db.apache.org; Mon, 05 May 2008 08:02:56 -0700 (PDT) Date: Mon, 05 May 2008 08:02:56 -0700 From: Rick Hillegas Subject: Re: Spatial Functionality In-reply-to: <1209868877.820.1251275269@webmail.messagingengine.com> Sender: Richard.Hillegas@Sun.COM To: derby-dev@db.apache.org Message-id: <481F21A0.7@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <1209868877.820.1251275269@webmail.messagingengine.com> User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) X-Virus-Checked: Checked by ClamAV on apache.org Peter Yuill wrote: > Hi, > > I responded to a recent post on the derby-user list on this topic. I am > working on a project to add spatial functionality to Derby through user > created tables and procedures. I am interested in taking the next step > and looking at incorporating spatial functionality in Derby. > > The biggest issue I see is one of licensing. The concept of 'spatial > datatypes' might seem simple enough, but there is no real point without > spatial functions to go with them. The Open Geospatial Consortium (OGC) > http://www.opengeospatial.org published a standard set of these, and > there are a handful of high grade open source implementations. There is > a huge amount of work in these implementations, and they rely on very > specialized expertise. In the Java world there is just one that has > stood the test of time, the JTS Topology Suite > http://sourceforge.net/projects/jts-topo-suite/ . However JTS is LGPL, > and the prospect of re-engineering the functionality just to get an > Apache 2.0 license is mind boggling. Even worse, two of the OGC spatial > filters (Distance Within and Beyond) require Coordinate Reference System > (CRS) transformation if the database features are stored in a geographic > CRS. The obvious choice for that functionality is Geotools > http://geotools.codehaus.org/ , again LGPL. The Apache web site > indicates there are unresolved questions about the compatibility of > Apache 2.0 and GPL. Does anyone have more information on the status of > LGPL? > Hi Peter, Thanks for working on this valuable contribution. We can ask the legal-discuss list for advice about the licensing issues. Do you know which version of the LGPL is used by the geospatial work? A quick glance at the Geo Tools website indicated LGPL without specifying which version. There are apparently two versions (2.1 and 3) according to the Free Software Foundation: http://www.fsf.org/licensing/licenses/index_html#LGPL Thanks, -Rick > One alternative is to take the route that MySQL went. Leave out all the > secondary filtering and just support Minimum Bounding Rectangle (MBR) > queries. However the same question keeps surfacing on the MySQL spatial > list with monotonous regularity: when will MySQL get 'real' spatial > functionality. Personally I think a user-space solution is preferable to > a half-way solution like MySQL. > > Regards, > Peter >