[Qgis-user] Shapefile Rename

Ujaval Gandhi ujaval at spatialthoughts.com
Mon Jan 25 06:26:56 PST 2021


A 'shapefile' is a collection of at least different files with extension
.shp, .shx, .dbf and .prj. So if you rename one of them it doesn't work.
You must rename all the sidecar files. Better yet, open original shapefile
in QGIS, right-click, Export , Save Features As and save it with the new
name.
[image: Logo] <https://spatialthoughts.com/>
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: ujaval at spatialthoughts.com
[image: LinkedIn icon] <https://www.linkedin.com/in/spatialthoughts/>  [image:
Twitter icon] <https://twitter.com/spatialthoughts>



On Mon, Jan 25, 2021 at 7:46 PM krishna Ayyala <ayyalakrishna at gmail.com>
wrote:

> I have a shapefile with the name "Polygon". I can see this shapefile in
> the browser panel. In the browser panel, I right click on "Polygon" and
> Properties. I changed the name to "Polygon_rename".
>
> [image: image.png]
>
> After changing the name, I  have added to the layers window. Then I am
> getting the following error message. How to rename a shapefile?
>
> [image: image.png]
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210125/2a28c956/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 24723 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210125/2a28c956/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12976 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210125/2a28c956/attachment-0003.png>


More information about the Qgis-user mailing list