Re: [Qgis-user] .qpj files

2021-09-07 Thread Nicolas Cadieux

Hi,

When you currently save a shape file (.shp), that will also save .cpg, 
.dbf, .prj, .qmd, .shx. files also.  The minimum number of extension is 
3.  If you drag and drop all of them in the map canvas, you will get an 
error for each file that is not a .shp. This is normal.  Only the .shp 
should be opened in QGIS but the rest must be kept if you want to open 
the .shp file. If you delete the .dbf file for example, you will delete 
the database (not good!).


The .csv is a text file.  You should open that with using the delimited 
text file importer (the comma in the Manage Layer toolbar).  That file 
is possibly joined to a field in the shapefile via Layer properties, 
joins.  You can open that one with any plain text reading program like 
notepad. or notepad++.


Like Nyall says, some are no longer needed (the projection file format 
had some work around) but I would keep them all just in case. The 
shapefile format is very old.  Any version of QGIS can open one but 
select the .shp.


Nicolas


On 2021-09-07 7:56 p.m., Nyall Dawson wrote:

On Wed, 8 Sept 2021 at 09:52, Pat Brown  wrote:

I have a number of these files, associated with .cpg, .prj, .shp, .shx, .csv 
and .dbf files. These date back to 2019. I cannot seem to get them to open in 
QGIS version 3.18. Do I need to first open them with an older version of QGIS?

They aren't needed anymore. They were an old workaround around getting
QGIS to correctly identify the projection of the shapefiles, but all
that logic is moved to the PROJ library and these files are no longer
required.

Nyall
___
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] .qpj files

2021-09-07 Thread Nyall Dawson
On Wed, 8 Sept 2021 at 09:52, Pat Brown  wrote:
>
> I have a number of these files, associated with .cpg, .prj, .shp, .shx, .csv 
> and .dbf files. These date back to 2019. I cannot seem to get them to open in 
> QGIS version 3.18. Do I need to first open them with an older version of QGIS?

They aren't needed anymore. They were an old workaround around getting
QGIS to correctly identify the projection of the shapefiles, but all
that logic is moved to the PROJ library and these files are no longer
required.

Nyall
___
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] .qpj files

2021-09-07 Thread Pat Brown
I have a number of these files, associated with .cpg, .prj, .shp, .shx,
.csv and .dbf files. These date back to 2019. I cannot seem to get them to
open in QGIS version 3.18. Do I need to first open them with an older
version of QGIS?

Thanks,

Paddy
___
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