(center-virtual-format-file input output)
Read the GDAL virtual format file from input
, shift the content
into the -180,180 longitude range and write a new virtual format
file to output
.
Read the GDAL virtual format file from `input`, shift the content into the -180,180 longitude range and write a new virtual format file to `output`.
(center-virtual-format-xml input)
Center the rasters in the GDAL virtual format input
and return
the XML as a string.
Center the rasters in the GDAL virtual format `input` and return the XML as a string.
(create-virtual-format input output & [{:keys [center? srid]}])
Create a GDAL virtual format file for input
with the
gdal_translate command and write it to output
.
Create a GDAL virtual format file for `input` with the gdal_translate command and write it to `output`.
(crosses-dateline? transform rect)
Returns true if rect
crosses the dateline under transform
,
otherwise false.
Returns true if `rect` crosses the dateline under `transform`, otherwise false.
(dataset-rect document)
Return the rectangle of the dataset from document
.
Return the rectangle of the dataset from `document`.
(eastern-destination rect)
Return the new eastern destination rectangle.
Return the new eastern destination rectangle.
(eastern-source rect)
Return the new eastern source rectangle.
Return the new eastern source rectangle.
(geo-center transform rect)
Return the geo coordinates at the center of rect
.
Return the geo coordinates at the center of `rect`.
(geo-corner-coordinates transform rect)
Return the geo corner coordinates at the center of rect
.
Return the geo corner coordinates at the center of `rect`.
(geo-lower-left transform rect)
Return the geo coordinates at the lower left of rect
.
Return the geo coordinates at the lower left of `rect`.
(geo-lower-right transform rect)
Return the geo coordinates at the lower right of rect
.
Return the geo coordinates at the lower right of `rect`.
(geo-tranform? x)
Return true if x
is a geo transformation, otherwise false.
Return true if `x` is a geo transformation, otherwise false.
(geo-upper-left transform rect)
Return the geo coordinates at the upper left of rect
.
Return the geo coordinates at the upper left of `rect`.
(geo-upper-right transform rect)
Return the geo coordinates at the upper right of rect
.
Return the geo coordinates at the upper right of `rect`.
(geo-x transform raster-x raster-y)
Calculate the X geo coordinate.
Calculate the X geo coordinate.
(geo-y transform raster-x raster-y)
Calculate the Y geo coordinate.
Calculate the Y geo coordinate.
(info file)
Return the GDAL information about file
as a map.
Return the GDAL information about `file` as a map.
(parse-geo-transform node)
Parse the geo transformation from node
.
Parse the geo transformation from `node`.
(raster-x transform geo-x geo-y)
Calculate the X raster coordinate.
Calculate the X raster coordinate.
(raster-y transform geo-x geo-y)
Calculate the Y raster coordinate.
Calculate the Y raster coordinate.
(rectangle-attributes node tag)
Return the rectangle attributes of tag
from node
.
Return the rectangle attributes of `tag` from `node`.
(render-xml document)
Render document
as a XML string.
Render `document` as a XML string.
(select-geo-transform document)
Return the geo transformation from document
.
Return the geo transformation from `document`.
(simple-eastern-source node)
Make a new simple source for the eastern part of the raster.
Make a new simple source for the eastern part of the raster.
(simple-western-source node)
Make a new simple source for the western part of the raster.
Make a new simple source for the western part of the raster.
(source-properties node)
Return the source properties from node
.
Return the source properties from `node`.
(to-mercator input output)
Project input
into Mercator and write the file to output
.
Project `input` into Mercator and write the file to `output`.
(update-dest-rect transform)
(update-geo-transform rectangle)
Select the GeoTransform node in document
.
Select the GeoTransform node in `document`.
(update-raster-band transform)
Update the raster band.
Update the raster band.
(update-rectangle node tag f)
(update-simple-source transform)
Update the simple source of a raster band.
Update the simple source of a raster band.
(update-src-rect transform)
(western-destination rect)
Return the new western destination rectangle.
Return the new western destination rectangle.
(western-source rect)
Return the new western source rectangle.
Return the new western source rectangle.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close