Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation of layer is not working #24

Open
NPennanen opened this issue Dec 10, 2019 · 3 comments
Open

Translation of layer is not working #24

NPennanen opened this issue Dec 10, 2019 · 3 comments

Comments

@NPennanen
Copy link

I have a vector layer that was georeferenced somewhere else and it ended up just a bit off. I have been trying to move it to the proper location using the VectorBender plugin but it doesn't seem to work. When I run the plugin with the line of translation laid out, the dialog box indicates the process was successful. Then I look at my layer and it is in the same location.

I know it's not an overall failure of the plugin or an issue with dependencies because if I draw a new polygon and try to translate it using the same process, it is successful. I think there must be something about the existing layer that is "anchoring" it in place. I tried reprojecting the layer so it would be in the same CRS as the project and that didn't help anything.

I know there is a lot more data on this layer than on the polygon I just made to test this plugin. So I think it's something about the information held in this layer that's preventing an effective translation. I just don't know what it is.

@magerlin
Copy link

I just experienced exactly the same. I think it has to do with some projection issues.

I exported both layers with lat/lon (WGS 84 EPSG:4326) as Coordinate Reference System and now it worked smoothly :-)

@willemhoffmans
Copy link

Thanks, this information helps me a lot!
But, unfortunately, my problem is not completely solved.

I have a vector layer in EPSG:28992 (Dutch coördinate system), leading to no transformation, as NPennanen says. Converting it to EPSG:4326 and then using Vector Bender works partly. When I use a transformation with 2 points, it works, but the layer needs to be bended also, it seems. So I have to define 4 points. Afer that, however, QGIS crashes.

So the above solution seems to be OK, except when you need a Bending (4 pairs) transformation.

@wingo1
Copy link

wingo1 commented Sep 2, 2020

THE CRS of the origin and the "Vector Bender" must be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants