Skip to main content

Alternative and faster (vectorized) version of gdal2xyz.py

Project description

Build Status PyPI version

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.

Install

$ 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

About author

Developed by Cayetano Benavent. GIS Analyst at Geographica.

http://www.geographica.gs

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raster2xyz-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file raster2xyz-0.1.1.tar.gz.

File metadata

  • Download URL: raster2xyz-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for raster2xyz-0.1.1.tar.gz
Algorithm Hash digest
SHA256 be9bc5286d74c856760c89d0c6a316f1dfce71ad7fcb049aa9470963994fe5b5
MD5 fd7f4e4438841e891ec56bf9ad168287
BLAKE2b-256 cceba34c1b0eb149760ee51d112f47cc26adb762ac592d183c484551d41e2773

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page