Archives for posts with tag: Cheat sheet

I decided it is time to have a minor version increase, so the new package version is 0.2. I want to represent the maturity the software has reached and show (or convince myself ­čÖé ) of the stability it has. A new cheat sheet comes with it, too. Apart from little fixes the most important addition for users is probably the function sosCreateTime(...) which allows creating event time lists for GetObservation requests very easily based on character strings:

# Using :: and / as seperators for start and end time:
sosCreateTime(sos = aqe, time = "2007-08-01 08:00::2007-08-05 15:00")
sosCreateTime(sos = aqe, time = "2007-08-01 15:00/2007-08-05 20:00")

# Creating time instants with a relative spatial operator, i.e. TM_Before (first example) or TM_After (second example):
sosCreateTime(sos = aqe, time = "::2007-08-05")
sosCreateTime(sos = aqe, time = "2007-08-05/")

The first count of the lines of code was done when the first presentation of sos4R was given, adding up to 9.213.

In release 0.2, it is 15.636. Not bad.

The changes:

* Bugfix in coordinate order in coercion function for SpatialPointsDataFrame
* Added function sosCreateTime(...)
* Removed require(rgdal) from sosGetCRS(...) and replaced it with a check and potential warning as done in sp:::CRS
* Replacing potentially critical characters from data.frame column names (function .cleanupColumnName(...))
* Added function sosUOM(...) to extract the unit of measurement from objects
* Added summary methods for OmObservation and OmObservationCollection

The cheat sheet is available in an updated version for download. From version 0.1-16 of sos4R on (to be released soon!), you can also easily access the cheat sheet from an R console by calling the following function:


[A new version is available, please go here.]

Do you like concise documentation? Well, it doesn’t get any shorter than the new Cheat Sheet for sos4R available for download now. If you have basic skills in R and some knowledge about the OGC SOS, then this is all you need to get started. Or maybe this helps you to find the right utility function while building requests to a service.

cheat sheet preview

I publish this document under a Creative Commons license. Please feel free to change and improve it if you like. Alternatively, send me an email or leave a comment with suggestions for the next version.