Raster2xyz
Alternative and faster (vectorized) version of gdal2xyz.py (https://svn.osgeo.org/gdal/trunk/gdal/swig/python/scripts/gdal2xyz.py)
Builded on top of GDAL, Numpy and Pandas.
input file: geotiff
output file: ASCII Gridded XYZ
Install
Install from PYPI:
$ pip install raster2xyz
Usage
Command Line
$ raster2xyz [-h] input_raster out_csv
positional arguments:
input_raster input_raster filepath
out_csv out_csv filepath
optional arguments:
-h, --help show this help message and exit
Importing module
from raster2xyz.raster2xyz import Raster2xyz
input_raster = "input_raster.tif"
out_csv = "/tmp/out_xyz.csv"
rtxyz = Raster2xyz()
rtxyz.translate(input_raster, out_csv)
Requirements
Numpy: http://www.numpy.org/
Pandas: http://pandas.pydata.org/
GDAL: http://www.gdal.org/
License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Metadata
Release files for raster2xyz 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| raster2xyz-0.1.3.tar.gz | 4.1 kB | Without provenance | Details |
Release files / raster2xyz-0.1.3.tar.gz
| Download URL | raster2xyz-0.1.3.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ac326d0cb050a60132c93beb8607cc366512492db1ab7de79c82f8638923069
|
|
BLAKE2b-256 checksum How to use checksums |
85271969cda2c089e7f7d5eaf9da1c2a94f3af60494e9bbb3ed46f603c8726be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for raster2xyz 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.