[Qgis-user] Converting csv to shapefile issues

Frank Broniewski broniewski at a-a.lu
Wed Jul 26 22:20:36 PDT 2023


HI Jamie,

I do not know, what SH Lat/Long and BH Lat/Long are, but you can open your CSV with Calc or Excel, do your data manipulation there and then add the CSV to QGIS. During the import you can specify your Lat/Long columns, and once you have your points visible on the map, you should be able to export to Shapefile as well.
Just be aware that Shapefile has several limitations on length of column names, column content and so forth. You might be better of to use Geopackage, which is a more modern file format for geodata.

HTH,
Frank

Von: QGIS-User <qgis-user-bounces at lists.osgeo.org> Im Auftrag von Jamie Gould via QGIS-User
Gesendet: Mittwoch, 26. Juli 2023 21:28
An: qgis-user at lists.osgeo.org
Betreff: [Qgis-user] Converting csv to shapefile issues

Good afternoon,

I'm currently using geoSCOUT at the company I'm working at.  One cannot export out any attributes with a layer or shapefile out of geoSCOUT and you cannot view an attribute table within geoSCOUT either.  There are a couple of tasks I'd like to do that it would be beneficial to have those attributes.  So, I have exported out a UWI list and imported into an analytics program we subscribe to called EVA, from here I can export out a csv of the UWI plus data.  I have brought this csv into QGIS and want to convert it to a shapefile.  The csv does not export out of EVA with Lat and Long columns, but does give SH Lat, SH Long, BH Lat, and BH Long.

I thought perhaps I could add a column to the csv file within QGIS and calculate a lat/long column, but the Toggle Editing Mode Button is greyed out.  So, then I thought maybe I could create one shapefile with the SH data, and another with the BH data, then merge the two shapefiles and perform a points to path if necessary.  When I right click on the csv file to export as an ESRI shapefile, the export fails, and I get the below message.
[cid:image001.png at 01D9C05A.D5B3F2B0]

Does anyone have any other ideas of how I could go about this?

Thank you in advance,

Jamie Gould, C. Tech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230727/79e005c5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9613 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230727/79e005c5/attachment.png>


More information about the QGIS-User mailing list