Read, save and filter images based on GDAL

Read, save and filter images based on GDAL Currently supports: image filtering of custom operators, image reading, saving, channel separation and other functions #pragma once #ifdef __GDAL_UTILITY__ #include <gdal/gdal_priv.h> #include <gdal/gdal.h> #include <iostream> #include <string> #include <sstream> #include <fstream> #include <algorithm> #include <list> #include <vector> #include <array> #include <cassert> #include <memory> #include <cstring> #include <initializer_list> […]

Application Utility – Reading geospatial raster files using GDAL OpenCV v4.8.0

Previous tutorial: Adding a track bar to our application Next tutorial: Video input using OpenCV and similarity measurement Original author Marvin Smith Compatibility OpenCV >= 3.0 Geospatial raster data is a product heavily used in geographic information systems and photogrammetry. Raster data can often represent images and digital elevation models (DEMs). The standard library for […]

Use CMake to compile and install GDAL3.6.1 under Ubuntu, link Java, and add FileGDB driver

Use CMake to compile and install GDAL3.6.1 under Ubuntu, link with Java, and add FileGDB driver Write in front ? The first time I compiled source code under Linux, I encountered many pitfalls and almost gave up. I looked at the online tutorials and they were all old versions, not compiled using the CMake method. […]

C#+ArcEngine environment construction & C++ configuration Gdal library

C# + ArcEngine environment construction & C++ configuration Gdal library Part 1 C# + ArcEngine 10.2 environment construction Foreword: This installation version is VS2010 + ArcEngine 10.2.2 Before installing AE, you need to install VS (multiple versions can be installed without conflict). AE 10.2 corresponds to VS 10 and 12 versions. The corresponding situation of […]

C++ language GDAL batch cropping of multi-band raster images: cropping based on the number of pixels

This article introduces the GDAL module based on the C + + language. According to the given number of pixel rows and number of columns strong>, batch crop a large number of multi-band raster remote sensing image files, and save the resulting cropped new multi-band remote sensing image files Method at the specified path. In […]

GDAL processes remote sensing images – gdal.GetDriverByName method code example

This article summarizes typical usage code examples of the gdal.GetDriverByNamemethod in Python. If you are struggling with the following questions: How to use the Python gdal.GetDriverByName method? How to use Python gdal.GetDriverByName? Example of using Python gdal.GetDriverByName? So congratulations, the selected method code examples here may be able to help you. You can also learn […]

docker builds gdal-java image (including tomcat)

It is troublesome to install gdal3.x in centos, so you can prepare a compilation image, compile gdal inside the image, and then copy the compiled gdal from it every time you build other packages. Compile image: FROM adoptopenjdk/openjdk8:x86_64-centos-jdk8u312-b07 WORKDIR /src # Download source code RUN curl https://www.sqlite.org/2021/sqlite-autoconf-3350400.tar.gz -o sqlite.tar.gz & amp; & amp; \ tar […]