Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
:Name: gdalos :Authors: Idan Miara, Ben Avrahami
.. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square :target: https://github.com/talos-gis/gdalos/raw/master/LICENSE
.. |GDAL| image:: https://github.com/OSGeo/gdal/raw/master/gdal/data/gdalicon.png?style=flat-square :target: https://github.com/OSGeo/gdal
|license|
gdalos is a simple Python library and GUI for raster processing using GDAL:
* https://www.cogeo.org/
A Cloud Optimized GeoTIFF (COG) is a regular GeoTIFF file, aimed at being hosted on a HTTP file server, with an internal organization that enables more efficient workflows on the cloud. It does this by leveraging the ability of clients issuing HTTP GET range requests to ask for just the parts of a file they need.
GDAL is a translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source License by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing.
gdalos is a simple multi platform :code:`GDAL` translate/warp/addo python wrapper for raster batch processing.
It uses the gdal python interface and on top of it many rules to automate the batch processing.
gdalos can be used to make a :code:`Cloud Optimized GeoTIFF` easily with proper overviews from any raster that can be read with GDAL.
I hope some of you might find it useful.
look at example.py for some examples.
* What is gdalos_qt?
gdalos_qt is a simple GUI wrapper for gdalos using the Qt5 library with the PyQt5 or PySide backends.
gdalos package includes both gdalos and gdalos_qt
gdalos requires Python >= 3.6. If you want to use the gdalos_qt GUI you would need Python >= 3.7.
gdalos also requires gdal to be installed on your Python.
You can use install gdal in multiple ways, depending on your OS and configuration:
* :code:`pypi`: https://pypi.org/project/GDAL/
* :code:`conda`: https://anaconda.org/conda-forge/gdal
* :code:`OSGeo4W` (windows): use the OSGeo4W Python distribution that comes, for instance, with QGIS 3.x.
You can install gdalos using pip using one of these options::
$ pip install gdalos # Installs gdalos without the gdalos_qt UI dependencies $ pip install gdalos[pyqt] # If you want to use gdalos_qt with the PyQt backend $ pip install gdalos[pyside] # If you want to use gdalos_qt with the PySide backend
Run with the Graphical UI::
$ python -m gdalos_qt
Creating a :code:cog
in via the Python shell:
from gdalos import gdalos_trans gdalos_trans('/maps/srtm.tif')
gdalos main UI is very minimalistic...
.. image:: /data/images/gdalos _main_ui.png
New Job UI
.. image:: /data/images/gdalos_add_job.png
If you find any issue on gdalos or have questions,
please open an issue on our repository <https://github.com/talos-gis/gdalos/issues/new>
_
You want to contribute? Awesome!
We recommend this GitHub workflow <https://www.asmeurer.com/git-workflow/>
_
to fork the repository. To run the tests,
use tox <https://tox.readthedocs.io/>
_::
$ tox
Before you send us a pull request, remember to reformat all the code::
$ tox -e reformat
This will apply black, isort, and lots of love ❤️
|license|
gdalos is released under the MIT license, hence allowing commercial
use of the library. Please refer to the :code:LICENSE
file.
FAQs
a simple gdal translate/warp/addo python wrapper for raster batch processing
We found that gdalos demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.