Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
27 views

Non-Earth System in QGIS?

What I need is a function for Non Earth Coordinates in QGIS (both projects and layers). They should be mappable to any projected coordinate system (like SWEREF99TM). Why: In the Mining industry we ...
0
votes
0answers
12 views

Google Earth Engine - Error: Affine mismatch

Error: Affine mismatch: found AffineTransform[[4.500000005E-6, 0.0, -66.73953600000003], [0.0, -4.500000005E-6, -66.37788]] in 15DEC04140340-P2AS_R3C2-054763377010_01_P002.TIF, previously saw ...
0
votes
0answers
28 views

Creating custom affine projection in ArcGIS Desktop?

I have been trying to decypher all documentation on Projections/Transformations in ArcToolbox to find the way to create a custom affine projection like this one in MapInfo http://support.pitneybowes....
1
vote
1answer
53 views

How to transform a shapefile with a MN03 (LV03) coordinate system into a shapefile with a MN95 (LV95) coordinate system?

Switzerland is currently introducing new coordinates: by the end of 2016, all federal and cantonal reference data (e.g. the Swiss cadastral system) sould be transformed to the new highly-accurate LV95 ...
2
votes
1answer
548 views

Transform coordinates from custom projection to lat long PyProj

I am trying to convert a pair of coordinates specified in US survey feet on a custom transverse mercator projection to lat/long using PyProj. I must be doing something wrong because I cannot get the ...
2
votes
2answers
164 views

How to create proj4 definition of local coordinatesystem

i have to generate a proj4 definition string from affine transformation parameters (A-F). For example: I have a local coordinatesystem based on EPSG:31466 The affine parameter are: A = 0....
4
votes
1answer
327 views

Using shapely.affinity and affine_transform?

I have shapely.geometry Point: from shapely.geometry import Point point1 = Point(0, 100, 200) and I want to swap coordinates Y and Z: from shapely.affinity import affine_transform matrix = [1,0,0, ...
2
votes
1answer
123 views

Local coordinate system to EPSG via affine transformation

I have a raster file with a local coordinate system. It is based on EPSG:31466 but with a specific rotation and offset. gdalinfo output is this: I need to transform this gtiff back to 31466, but how?...
3
votes
0answers
91 views

Why can't I transpose a raster across the pole with rasterio or gdal, and how could it be done?

I have a raster in e.g epsg:4326, it covers all world, from 180E to 180W, from 90S to 90N. I want to re-project a part of it to epsg:3031 and also change the grid size and resolution. Here is a ...
0
votes
0answers
60 views

Spatial Adjustment of shapefile not possible

I am trying to spatially adjust a shapefile containing several polygons to another shapefiles where spatial data is correct. Both should share exactly the same extent. However, when I am using spatial ...
2
votes
0answers
48 views

Reprojecting trouble: shapes saved in one EPSG load as another EPSG in QGIS and are 200m off?

I'm in a mixed working environment with some ESRI licenses and several people working with QGIS. For a project, we created data and received data in EPSG 31468 (Gauß-Krüger Zone 4). We now need to ...
3
votes
0answers
92 views

Local grids with rotated north in QGIS

Like many people in geology and archaeology I need to work with local grids that have eastings and northings from a specific reference point, and typically have a difference alignment/direction of ...
0
votes
0answers
35 views

Rasterizing curvilinear gridded data

I’m attempting to rasterize a NetCDF dataset that contains data on a curvilinear grid. The dataset has a 2D matrix of longitudes, a 2D matrix of latitudes, and several 2D matrices of data variables. I ...
0
votes
0answers
190 views

Import Illustrator/Inkscape svg into qgis

I tried to import lines from svg into qgis 3.x by using dxf format. The problem is that the scale of dxf is of course not the right one (a few centimeters whereas my map is kilometers long). I tried ...
0
votes
0answers
33 views

Affine transformation of different sized polygons layer to equal area units

I would like to transform a layer of polygons of different sizearea to become equal in areasize. I have QGIS 2.18 and GRASS GIS 7 available and some basic Python knowledge. Does anyone have an idea of ...
4
votes
1answer
2k views

Enlarge a Polygon without changing its shape or position

I have a single polygon shapefile (EPSG: 3044) which I want to enlarge using QGIS 2.18.16. I tried to use the vector affine transformation plugin, but whenever I try to change the size of the polygon,...
1
vote
0answers
272 views

Raster alignment

I have a problem with raster aligning. Given: Two rasters that need to be aligned. Rasters a little bit shifted, scaled and rotated. Two arrays of matched keypoints. Transformation is wrong, so ...
1
vote
1answer
151 views

Transformation of geometry on select Postgresql

I am trying to run a transformation of a geom via a select query, the layer has been digitised in WGS 4326 and when I run my select to filter the table by my criteria, I would like to transform the ...
2
votes
0answers
119 views

Weather data in rotating grid without time dimension or vertical dimension or CRS

I am a beginner using QGIS 2.18.15. I am having some trouble to find the right coordinate reference system for wind speed data of Europe from the German Weather forecast service (DWD). (ftp://ftp-...
1
vote
0answers
95 views

QGIS custom CRS from Mapinfo definition

How do I define a custom CRS in QGIS from the Mapinfo grid definition below? "MIM Grid",1008,33,7,139.48639389,-20.69008981, 1.000063,0,0,7,0.998796124,-0.049054077,12520.6,0.049054077,0.998796124,...
1
vote
0answers
135 views

What can the GeoTransform parameters tell me about an incorrectly georeferenced map?

I have two GeoPDF maps of the same area published a few years apart. There are only minor updates so virtually identical. However the newest map appears to be incorrectly georeferenced. I ascertained ...
1
vote
0answers
76 views

Define Custom CRS for working with SVG

I can't seem to figure out a way to define a custom PROJ4 projection that can mirror geometries (e.g. inverse x to -x and y to -y and vice versa). Other than that, I don't need any transformations or ...
0
votes
1answer
2k views

Spatial adjustment of vector data in QGIS? [duplicate]

Is there any plugin or code reference available to spatially adjust vector data based on points selection like in the Spatial Adjustment tool of ArcGIS Desktop? I am trying to develop spatial ...
2
votes
1answer
600 views

Calculating Affine Transformation in QGIS?

I have points taken with a Total Station, but the azimuth was set incorrectly so the map is rotated. I have a reference file with common points and in the correct orientation. Both data sets are WGS84 ...
2
votes
1answer
215 views

Generating world files for a set of non-georeferenced rasters using QGIS?

I have a set of topographic sheets in a form of non-georeferenced *.bmp rasters, and a shapefile representing footprints of those topographic sheets. What I need to do is to using corresponding ...
2
votes
1answer
988 views

Using vector affine transformation in QGIS?

I'm trying to use the QGIS plugin vector affine transformation to translate a shapefile with wrong coordinates using the right coordinates of another shapefile. It looks like this I read other ...
1
vote
0answers
276 views

Moving and Rotating Raster Files in QGIS Individually?

I would like to overlap 2 raster files(.JP2/ECW) where images are captured from the same place but just with a little time difference. When I try to overlap the images by moving and rotating, QGIS ...
6
votes
1answer
1k views

Transforming data from a rotated pole lat-lon grid into regular lat-lon coordinates in QGIS?

I am working with data from a numerical weather model, the output of which is given in grid cells where I have the lat-lon coordinates of each cell's center point. The lat-lon specifications are, ...
4
votes
1answer
294 views

Apply affine transformation to multiple layers

I have many shapefiles representing the layers of a map (roads, buildings, etc). In total, I have hundred of layers, and I want to scale all of them by the same factor. I know I can use the affine ...
1
vote
1answer
213 views

Georeferencing images

I have a lot of radar images that come with image coordinates (824x648). The projection should be Austria Lambert/ETRS89 (EPSG: 3416). So to perform the georeferencing I need to convert ROW/COL to ...
1
vote
0answers
44 views

Adding Raster to ImageServer: What are the Geodata Transformation Parameters?

I'm trying to add a raster image to an Image Service, via the Add Raster operation. My original image file is accompanied by a world file, containing the six parameters of an affine transformation. I ...
2
votes
2answers
145 views

2D affine conversion's coefficients

I would like to calculate coefficients of a 2D affine conversion between two images. Let me know of online pages that can help make programs using C or C++ or provide an application. I need a program ...
5
votes
3answers
255 views

Determining coordinates of a SHP file

i have a SHP file of a building converted from a DXF file. This SHP file is unprojected and have no specific coordinates (origin 0,0). I find WGS84 coordinates (lat, long) of this building from Google ...
2
votes
0answers
863 views

Transformation from local projection to WGS84

I'd like to reproject point that is in local coordinate system to the WGS84, using gdal. But exception "No PROJ.4 translation for source SRS, coordinate transformation initialization has failed" ...
9
votes
1answer
2k views

Convert longitude/latitude to pixels on the map

I have a map from here. I want to be able to simply convert arbitrary lon/lat pair to pixels on the map (also the ability to do reverse conversion). The maps come with .tfw file and projection info, ...
1
vote
0answers
302 views

Storing non-orthorectified images in GeoTIFF

I'm reading GeoTIFF and GDAL documentations and I'm trying to understand what type of transformations are supported. GeoTIFF documentation says you can use ModelTransformationTag to define a ...
2
votes
0answers
1k views

How to scale, rotate and translate a KMZ file in Google Earth

I'm a GIS software developer. I would like to adjust manually a KMZ over Google Earth images scaling, shifting and rotating it. What I'm wondering is a tool like the one in Google Earth to add a ...
3
votes
1answer
168 views

How to transform unknown coordinates?

I have two lists of coordinates in lat/long format which are showing the same points but in different coordinate systems. I need to find the corresponding points in two datasets using distance but ...
3
votes
1answer
384 views

Perform affine transformation on shapefile with OGR, GDAL, or other command line tools? [closed]

Transformations with WKT or EPSG code are made easy with ogr2ogr, but are there tools for me to define my own affine transformation to apply to the coordinates of a shapefile? Or, in general, is ...
11
votes
1answer
13k views

QGIS moving the layer/all features using Vector Affine Transformation

I'm using QGIS to analyse some flight tracks which were produced using a different software. Now when they are on QGIS the reference point of everything is on 0,0 which is the aerodrome reference ...
1
vote
0answers
137 views

How to determine Affine Transformation Parameters? [duplicate]

I try to use the qgsAffine plugin to do the transformation. But no idea in its usage. Anyone can post an example. Many thanks!! How to find the transformation parameters? I found some posts suggest ...
0
votes
1answer
113 views

Lining up .asc XY points with DXF using QGIS 2.0

I've exported XY points (nodes of a polyline with attributes) (.asc) from Star APIC and attempted to import it into QGIS as a delimited text file. I cannot however get it to line up correctly with the ...
1
vote
1answer
229 views

Repositioning polygon Shapefile using ground control points and v.rectify?

I'm new to Grass. I would like to reposition a polygon shapefile using ground control points and v.rectify seemed just the perfect tool to do that. The raster from which the shapefile comes from was ...
2
votes
0answers
627 views

Is it possible to apply affine transformation (translation) to raster image? [closed]

Is it possible to move/translate a raster image in QGIS 2.2 (without using georeferencer) just like it can be done with a shapefile ? If not, alternatively can this be done with ArcGis?
1
vote
1answer
263 views

QGIS batch affine transformations

I have multiple polygon and line shapefiles on which I would like to apply a translation so I was wondering if it is possible to batch process them (maybe with graphic modeler ?) or do I have to ...
2
votes
0answers
304 views

Defining the boundary of a catchment area

I digitized contour lines from topographic maps and created a DEM. With the DEM, I estimated the boundary of a catchment area. Estimated positional accuracy of topographic maps is RMSE = 65 m, with a ...
3
votes
1answer
2k views

Using Affine Transformation to expand polygons in QGIS

I have a shape file, and I'd like to grow each feature by 13.7% or 14%. The program crashes every-time I try to use affine transformation. Any recommendations? I don't have a license for ARCgis. ...
2
votes
1answer
786 views

WKT for local mine grid

I have been trying to create a WKT entry to use in gdalwarp etc. I need an affine transform from coordinates in MGA94 Zone 54 to our local mine grid. All efforts have so far failed, including using ...
4
votes
2answers
1k views

Is there a vector affine transformation tool in QGIS2?

In QGIS 1.8, I can transform my point layer with the plugin "Affine transformation". So, this plugin don't exist in QGIS 2.0. Do you know a method to simply translate (i.e : X -> X+30000) in QGIS 2 ? ...
9
votes
3answers
7k views

How to translate (reposition) a .tif raster layer?

I'm starting to use QGIS for my thesis (environmental physics) and have to admit I'm pretty ignorant about it - I've always used Mathematica or Matlab. My problem is: I have a raster layer, in .tif ...