Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B86D10932 for ; Fri, 4 Oct 2013 08:09:26 +0000 (UTC) Received: (qmail 27841 invoked by uid 500); 4 Oct 2013 08:03:23 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 27726 invoked by uid 500); 4 Oct 2013 08:02:59 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 27632 invoked by uid 99); 4 Oct 2013 08:02:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 08:02:49 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of adrien.mogenet@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qc0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 08:02:45 +0000 Received: by mail-qc0-f180.google.com with SMTP id p19so2451394qcv.11 for ; Fri, 04 Oct 2013 01:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=xOlOX0qUCZ6nzlq/eAiRq+4gjwBv6PqtpwXxUT25Pug=; b=YdPvncuNRx2ZCH/mAM6wP52ys7IueDve6+T81RFUdvUql3uUhPLmvIJwNVgCAI5w4E IHvj9T4541ABd7d4QbJnY+CoqbpTTSFer/5rUG8dIUOmDHdNf1nsVOACzonpJAdPe6Zp X9DSNTif7dAUhfAedkimzX+RwivM4li35hCH3V8p9/BoLHkcqQ8yuMXXs7pJr4aldivI s3HBEsS2HLNQz9du6G389vw5nv2RQzn7bMnGF/eOXzG1mt5zKgrZFQUeBgED+sTOBZ0G 9wd8g2t83FQLXAGsFC9pgyolWDlAVYpS3zaxXDQypG0K8ziA6ZTi282YgsxJ7coKT7bp 2JdA== X-Received: by 10.224.126.6 with SMTP id a6mr15930141qas.15.1380873744683; Fri, 04 Oct 2013 01:02:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.88.180 with HTTP; Fri, 4 Oct 2013 01:01:43 -0700 (PDT) In-Reply-To: References: <1380021342486-4051123.post@n3.nabble.com> From: Adrien Mogenet Date: Fri, 4 Oct 2013 10:01:43 +0200 Message-ID: Subject: Re: Spatial data posting in HBase To: user Content-Type: multipart/alternative; boundary=001a11c3053808177b04e7e5b941 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3053808177b04e7e5b941 Content-Type: text/plain; charset=ISO-8859-1 If you mean "insert and query" spatial data, look at algorithms that are "distributed databases compliant" : geohash, z-index, voronoi diagram... Well, that makes me want to write a blog article about these topics :) On Tue, Sep 24, 2013 at 3:43 PM, Ted Yu wrote: > There're plenty of examples in unit tests. > e.g. : > > Put put = new Put(Bytes.toBytes("row" + String.format("%1$04d", i))); > put.add(family, null, value); > table.put(put); > > value can be obtained through Bytes.toBytes(). > table is an HTable. > > Cheers > > > On Tue, Sep 24, 2013 at 4:15 AM, cto wrote: > > > Hi , > > > > I am very new in HBase. Could you please let me know , how to insert > > spatial > > data (Latitude / Longitude) in HBase using Java . > > > > > > > > -- > > View this message in context: > > > http://apache-hbase.679495.n3.nabble.com/Spatial-data-posting-in-HBase-tp4051123.html > > Sent from the HBase User mailing list archive at Nabble.com. > > > -- Adrien Mogenet http://www.borntosegfault.com --001a11c3053808177b04e7e5b941--