Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 36D589FB534 for ; Wed, 25 Apr 2007 06:02:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 62184-10 for ; Wed, 25 Apr 2007 06:02:07 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from bay0-omc2-s36.bay0.hotmail.com (bay0-omc2-s36.bay0.hotmail.com [65.54.246.172]) by postgresql.org (Postfix) with ESMTP id B61779FB201 for ; Wed, 25 Apr 2007 06:02:07 -0300 (ADT) Received: from hotmail.com ([64.4.53.59]) by bay0-omc2-s36.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 25 Apr 2007 02:02:06 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 25 Apr 2007 02:02:05 -0700 Message-ID: Received: from 69.45.64.18 by by19fd.bay19.hotmail.msn.com with HTTP; Wed, 25 Apr 2007 09:02:02 GMT X-Originating-IP: [203.125.54.38] X-Originating-Email: [ntuser155@hotmail.com] X-Sender: ntuser155@hotmail.com From: "Nemo Terry" To: pgsql-sql@postgresql.org Subject: Which function transform x,y to latitude/longitude? Date: Wed, 25 Apr 2007 17:02:02 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-OriginalArrivalTime: 25 Apr 2007 09:02:05.0975 (UTC) FILETIME=[65C56A70:01C78718] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.909 tagged_above=0 required=5 tests=BAYES_50=0.001, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, MSGID_FROM_MTA_HEADER=0 X-Spam-Level: * X-Archive-Number: 200704/241 X-Sequence-Number: 28241 Hi, For example x= 38356.62 y= 42365.19.how to transform it to latitude 1.399948, longitude 193.92644? Which function I could use? I don’t know the algorithm. Initial data is: ("+proj=cass +a=6378137.0 +rf=298.257223563 +lat_0=1.287639n +lon_0=103.8516e +x_0=30000 +y_0=30000"). Thanks a lot. bill _________________________________________________________________ 与联机的朋友进行交流,请使用 Live Messenger; http://get.live.com/messenger/overview