Re: [Qgis-user] v.transform Tool
Hi Nyall, Thanks for adding more info on this. It would be really nice to have an AutoCad like feature for this type of vector transformation. Basically, you start with selecting the features you want to move, click on the origin of the selected features, click and where you want the features to be translated, then click for the scale and angle. You can also write the parameters manually. Just a thought... Cheers! Nicolas On 2021-01-06 7:38 p.m., Nyall Dawson wrote: On Thu, 7 Jan 2021 at 07:31, krishna Ayyala wrote: I have created a polygon shape file with CRS of EPSG:4326-WGS 84. I ran the v.transform Tool on this polygon by increasing the xscale to 1.5 and yscale to 1.5. I see a polygon generated. But, this is not falling on top of the original polygon. It is falling in completely in a different location i.e beyond the map limits. What should I do to have this fall at the right location? This tool literally just takes the coordinates in the features and scales them by the value -- so a vertex at 30.5, 70 will scale to 70, 140 if you scale with 2/2 scaling values. (In other words, it will appear to move). To scale around a center point you'd need to translate the feature back to the origin, scale it, and then translate back to its original location. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- Nicolas Cadieux https://gitlab.com/njacadieux ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] v.transform Tool
On Thu, 7 Jan 2021 at 07:31, krishna Ayyala wrote: > > I have created a polygon shape file with CRS of EPSG:4326-WGS 84. I ran the > v.transform Tool on this polygon by increasing the xscale to 1.5 and yscale > to 1.5. I see a polygon generated. But, this is not falling on top of the > original polygon. It is falling in completely in a different location i.e > beyond the map limits. What should I do to have this fall at the right > location? This tool literally just takes the coordinates in the features and scales them by the value -- so a vertex at 30.5, 70 will scale to 70, 140 if you scale with 2/2 scaling values. (In other words, it will appear to move). To scale around a center point you'd need to translate the feature back to the origin, scale it, and then translate back to its original location. > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] v.transform Tool
Hi, This is one of the things I normally do with AutoCAD. The tools in QGIS for this are just not as intuitive:( Anyways, the first thing I would do, just to test the tool, is to save the file in a local UTM zone or local CRS that is in meters. Currently, you are epsg 4326 and unit is degrees. Multiplying degrees by a scale of 1.5 could very well bring you on another planet! To figure out the tool, you could also draw a 10mx10m square and then use that to figure out what is going on. If you insist on playing with degrees, reduce the scale to something like 1.1 or 1.01 and look at the results. Good luck! Nicolas Cadieux https://gitlab.com/njacadieux > Le 6 janv. 2021 à 16:31, krishna Ayyala a écrit : > > > I have created a polygon shape file with CRS of EPSG:4326-WGS 84. I ran the > v.transform Tool on this polygon by increasing the xscale to 1.5 and yscale > to 1.5. I see a polygon generated. But, this is not falling on top of the > original polygon. It is falling in completely in a different location i.e > beyond the map limits. What should I do to have this fall at the right > location? > > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] v.transform Tool
I have created a polygon shape file with CRS of EPSG:4326-WGS 84. I ran the v.transform Tool on this polygon by increasing the xscale to 1.5 and yscale to 1.5. I see a polygon generated. But, this is not falling on top of the original polygon. It is falling in completely in a different location i.e beyond the map limits. What should I do to have this fall at the right location? [image: image.png] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user