Skip to main content

Questions tagged [affine-transformation]

An affine transformation is a 2-dimension cartesian transformation applied to both vector and raster data, which can rotate, shift, scale (even applying different factors on each axis) and skew geometries.

4 votes
1 answer
48 views

QGIS rotate/translate features on several layers with different geometries simultaneously

I am working in QGIS with three vector layers (points, lines, polygons) and an aerial image. The features from these three layers are "connected", i.e. they should stay in the same position ...
Honeybear's user avatar
  • 2,524
0 votes
0 answers
48 views

Fix for incorrect pixel size post transformation

I have a .tif in WGS 84 and one in EPSG 32632. EPSG has a resolution of 10m (so the pixel sizes are 10). When I convert WGS 84 into the EPSG 32632 CRS, even after specifying that the new resolution ...
tds's user avatar
  • 91
1 vote
0 answers
32 views

PostGIS: Custom projection matrix from known points

I have a PNG image of a map (mercator) and known points in a table like this: coord_map - geometry(Point, 0) coord_real - geometry(Point, 4326) 010100000000000000000000000000000000000000 (0,0) ...
JaFu0815's user avatar
0 votes
0 answers
19 views

How can I reverse the effect of geopands.affine_transform?

Beginner question here... I'm a little unclear on how to go about reversing a transformation of a matrix from the format of Ax=b (or if it's possible for that matter). I started out with a 6x6 matrix ...
Kevin K's user avatar
  • 41
0 votes
0 answers
43 views

Convert a homogenous matrix from xyz coordinate system to zyx coordinate system

I want to change my camera pose from xyz coordinate system(where x-forward direction, y left and z up) to zyx coordinate system ( z-forward y- down and x left) My camera pose is described in an ...
Zac Boussaid's user avatar
1 vote
0 answers
48 views

How to create a transformation vector and apply it to a vector layer?

I have 3 layers I'm working with. I'll call them A,B and C. Layer A - Satellite Imagery of location X (2017) (tiff) Laber B - Satellite Imagery of location X (2021) (tiff) Layer C - Vector Polygons of ...
Kevin K's user avatar
  • 41
0 votes
0 answers
56 views

How to visualize affine transformed data in Python

I have Mavic 2 pro drone image, and try to apply georeferencing this JPG data. With the help of VerticalPhotoPlacer code, I first generate JGW file, then convert JPG data to GeoTIFF data.The code is ...
JOEY's user avatar
  • 13
2 votes
1 answer
243 views

Adding simple Geomasking (Donut masking) feature using PyQGIS

I would like to add a simple halo masking feature/plugin in QGIS. Halo/donut masking basically transforms (shifts) all points in a layer to a random distance between two user-provided distances. ...
Pankaj Sharma's user avatar
0 votes
0 answers
138 views

Calculate affine transformation from bounding box coordinates

How do you calculate the geo-affine transform given the bounding box coordinates and image size. For instance, I have the coordinates as follows: Top-Left: -108.01575, 45.01846 Bottom-Left: -108.00717,...
gktval's user avatar
  • 11
0 votes
1 answer
376 views

Rasterio Affine Transformation - Inverted

I am trying to understand how to properly set up an affine transformation using Rasterio. I have read through guides online and I have used the format provided but for some reason, it does not seem to ...
JMurfitt's user avatar
0 votes
0 answers
104 views

Correct Format for Transformation Rastio - from_origin

I am attempting to translate an HDF image to a GeoTIFF file and I encountered an issue when working with the transform module from rasterio. The issue comes when defining the transformation using '...
JMurfitt's user avatar
0 votes
0 answers
39 views

How to create a vector for coordinate transformation?

Very new to geospatial data here. I have a number of satellite images with lower left and upper right corner points in 3857. When I lay these images in QGIS against Google's satellite imagery, I'm ...
KVSEA's user avatar
  • 1
0 votes
0 answers
43 views

GEE image transform is different when saving on GCS or reading as ee.Image

I have accessed an image using GEE, and then saved it to GCS. I observed an unexpected behavior when I'm trying to get the dimensions and transform of the image. When I am trying to get the ee.Image ...
ReutKeller's user avatar
  • 2,169
0 votes
0 answers
41 views

Difference in image meta data when using GEE compared to rasterio

I'm accessing SRTM image using GEE, and then I save it as raster and open again with rasterio. I have realized that when I try to get the metadata with GEE, the values are different (and seem to be ...
ReutKeller's user avatar
  • 2,169
1 vote
1 answer
387 views

Unexpected crsTransform after reducing an ImageCollection: nominal scale shows 111319.49079327357

I have created an Image from an Imagecollection and I want to export it and to define the crsTransform parameter. I have read the documentation and the post on this forum and tried to export it , and ...
ReutKeller's user avatar
  • 2,169

15 30 50 per page
1
2 3 4 5
10