class GeoRSSWriter extends java.lang.Object
A GeoRSS Simple Writer. See the GeoRSS spec for more details. Only Points, LineStrings, and Polygon are supported. Any other geoscript.geom.Geometry type will return a null value.
GeoRSSWriter writer = new GeoRSSWriter() String georss = writer.write(new geoscript.geom.Point(-71.92, 45.256)) <georss:point>45.256 -71.92</georss:point>
| Type | Name and description |
|---|---|
private java.lang.String |
typeThe type of encoding (simple, gml, w3c) |
| Constructor and description |
|---|
GeoRSSWriter
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
write(Geometry geom)Write a Geometry to a String
|
|
void |
write(Map options, java.lang.Object builder, Geometry geom)Build a GeoRSS Geometry using a Groovy MarkupBuilder
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Write a Geometry to a String
g - The GeometryGroovy Documentation