Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A66E614C for ; Tue, 28 Jun 2011 18:51:54 +0000 (UTC) Received: (qmail 80838 invoked by uid 500); 28 Jun 2011 18:51:54 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 80757 invoked by uid 500); 28 Jun 2011 18:51:53 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 80749 invoked by uid 99); 28 Jun 2011 18:51:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 18:51:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of norman.barker@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 18:51:46 +0000 Received: by wye20 with SMTP id 20so518653wye.11 for ; Tue, 28 Jun 2011 11:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=RvjHKYMfedSg0msuUyr4/FXVYOoNgMbg3dCoFeOo1MA=; b=biVnkkHewFBl7h5q2EIn3k3BrzE4yU8kBVhww2WF9ENnzUdTkqcksnz3sCSY6Mx7le g2U2lBAIAI4Xb1ws0RFq3OY6GES+uwJ9uOCWb/PW7wG8ZT53xhZh9uE9AVqDlQvQTWhT p4a82BsQoVx+vUvN3WBWLUgMnDmfWCmmOW6F0= MIME-Version: 1.0 Received: by 10.216.229.165 with SMTP id h37mr792323weq.69.1309287085906; Tue, 28 Jun 2011 11:51:25 -0700 (PDT) Received: by 10.216.10.206 with HTTP; Tue, 28 Jun 2011 11:51:25 -0700 (PDT) Date: Tue, 28 Jun 2011 12:51:25 -0600 Message-ID: Subject: MapServer and CouchDB From: Norman Barker To: dev@couchdb.apache.org, warmerdam@pobox.com, even.rouault@mines-paris.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am planning to wrap MapServer as a supervised process within CouchDB using Erlang. MapServer is a CGI application, it should be straightforward. The aim will be to store the MapServer map files (just text docs) that can passed in with every CGI call as JSON docs within CouchDB. The hook will be be register MapServer as an external process within CouchDB. If someone has already thought of this then let me know, I see GDAL has support for CouchDB as a client driver (using http though) so serving geojson through MapServer WFS or rendering over WMS should be possible. Let me know if you are interested, I should have some available for review middle of next week, I am just sounding out for now. The Erlang method of communication to C/C++ over stdio fits (in my mind) perfectly with the existing MapServer CGI model. GeoCouch can then be a supported backend of MapServer. cc'd Frank and Even rather than cross-posting as they seem to have some couch interest. thanks, Norman