GeoBliki meets GeoBrain

Posted by Patrice Cappelaere Sat, 04 Nov 2006 19:52:00 GMT

We finally talked to Dr Liping Di at GMU Laboratory for Advanced Information Technology and Standards (LAITS)

GeoBliki and GeoBrain will be joined at the hip as part of the OGC OWS-4 and ESTO AIST concerted effort led by Dan Mandl, at NASA GSFC.

As part of the OWS-4 demo, GeoBrain will provide a BPEL workflow to process EO1 hyperspectral data and generate custom data products for an end-user. LAITS will also provide a WCTS (Web Coordinate Transformation Service) to transform the Eo1 GeoTiff from UTM to WSG84.

A GeoBrain BPEL workflow will connect the EO1 SOS, WCTS, WPS’s from WUSL CAPITA and UAH Earth System Science Lab. A user will receive a notification from our Pubsub service as a GeoRss feed when the data is available.

We intend to have this in-place for the December 4-5 OWS-4 demo to support a Humanitarian Assistance/Disaster Relief scenario.

GeoBliki Users guide

Posted by Linda Derezinski Fri, 03 Nov 2006 03:31:00 GMT

Here is a basic GeoBliki Users guide. in PDF

Geobliki.com moved to new hardware

Posted by Linda Derezinski Sat, 28 Oct 2006 22:08:04 GMT

We just moved to a new TextDrive data center. We think the move went well. Please let us know if you see anything strange.

Accessing SOS with Basic Authentication - .Net (IronPython) 1

Posted by Linda Derezinski Mon, 23 Oct 2006 13:45:00 GMT

This example is provided by Kari Hoijarvi from WUSTL.

Download IronPython from http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython

Save the following code into a file called sos2.py

to run the code:

  ipy
  >>>import sos2
  >>>sos2.test()

The sos2.py file:

import clr;
import System
clr.AddReferenceByPartialName("System.Data")
clr.AddReferenceByPartialName("System.Web")
clr.AddReferenceByPartialName("System.Xml")
from System import *
from System.IO import *
from System.Net import *
from System.Net.Sockets import *
from System.Text import *
from System.Xml import *

def test():
    query = Encoding.UTF8.GetBytes(
"""<?xml version="1.0" encoding="UTF-8"?>
<GetObservation xmlns="http://www.opengeospatial.net/sos"
    xmlns:gml="http://www.opengis.net/gml"
    xmlns:ogc="http://www.opengis.net/ogc"
    xmlns:ows="http://www.opengeospatial.net/ows"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.opengeospatial.net/sos 
http://mars.uni-muenster.de/swerep/trunk/sos/0.0.31/sosGetObservation.xsd"
    service="SOS" version="0.0.31">
   <offering>EO1H0410342004085110PY</offering>
<observedProperty>urn:ogc:def:phenomenon:OGC:1.0.30:hyperion_B021</observedProperty>

<observedProperty>urn:ogc:def:phenomenon:OGC:1.0.30:hyperion_B051</observedProperty>
   <resultFormat>application/zip</resultFormat>
</GetObservation>
""")
    req = HttpWebRequest.Create("http://test.geobliki.com/sos")
    req.Method = "POST"
    req.Credentials = NetworkCredential("some", "user")
    req.ContentType = "text/xml; charset=\"UTF-8\"";
    req.ContentLength = query.Length
    req.UserAgent = "IronPython"
    reqstm = req.GetRequestStream()
    reqstm.Write(query, 0, query.Length);
    rsp = req.GetResponse();
    try:
        print "============ begin headers =================="
        for h in rsp.Headers:
            print h + ": " + rsp.Headers[h]
        print "============ end headers =================="
        print "============ begin response =================="
        print ""
        print StreamReader(rsp.GetResponseStream()).ReadToEnd()
        print ""
        print "============ end of response =================="
    finally:
        print "closing response"
        rsp.Close()

Accessing SOS with Basic Authentication - Ruby

Posted by Linda Derezinski Mon, 23 Oct 2006 13:26:00 GMT

Basic authentication in Ruby example.

This is using Ruby 1.8.4 which may be installed:

Windows: http://rubyforge.org/frs/?group_id=167

OSX: http://hivelogic.com/articles/2005/12/01/rubyrailslighttpdmysqltiger

Example XML to pass to the SOS is found http://eo1.geobliki.com/sosdemo

post_it(xml)


 def post_it( xml, user = "bob", pass = "test")
    url = URI.parse('http://eo1.geobliki.com/sos')
    req = Net::HTTP::Post.new(url.path)
    req.basic_auth(user, pass)
    req['Content-Type'] = "text/xml"
    req.body = xml
    @response = Net::HTTP.start(url.host, url.port){|http|
      http.request(req)
    }
    puts @response.body     

  end

Older posts: 1 ... 9 10 11 12 13 14