Skip to main content
Tweeted twitter.com/StackGIS/status/1181449167165644800
naming
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65

I need to show in QGIS the a flow map of commuters in a municipality of Italy, Bari. In a csvCSV file I know the place they come from (a field called ORIG) and the place where they go (the field DEST) and the total number of them QGIS (TOTALE). In a shp fileshapefile I have the points with the coordinates; in this file the reference field is called SEZ. Since I'm a bit ignorant in Python and SQL, could you please tell me a simple way to write few lines that would let me show in the map with lines where they come from and where they go? I would also crate lines with different width depending on the total number of commuters (the field called TOTALE). I tried to create a virtual layer selecting, from the csvCSV, the fields I would like to show, then joining the csvCSV with the shpshapefile. But it didn't work. I think I'm not writing the code in the correct way. I saw there is a plug-in as well, Map Flow, but I need to create a matrix that is too long to write down.

I need to show in QGIS the a flow map of commuters in a municipality of Italy, Bari. In a csv file I know the place they come from (a field called ORIG) and the place where they go (the field DEST) and the total number of them QGIS (TOTALE). In a shp file I have the points with the coordinates; in this file the reference field is called SEZ. Since I'm a bit ignorant in Python and SQL, could you please tell me a simple way to write few lines that would let me show in the map with lines where they come from and where they go? I would also crate lines with different width depending on the total number of commuters (the field called TOTALE). I tried to create a virtual layer selecting, from the csv, the fields I would like to show, then joining the csv with the shp. But it didn't work. I think I'm not writing the code in the correct way. I saw there is a plug-in as well, Map Flow, but I need to create a matrix that is too long to write down.

I need to show in QGIS the a flow map of commuters in a municipality of Italy, Bari. In a CSV file I know the place they come from (a field called ORIG) and the place where they go (the field DEST) and the total number of them QGIS (TOTALE). In a shapefile I have the points with the coordinates; in this file the reference field is called SEZ. Since I'm a bit ignorant in Python and SQL, could you please tell me a simple way to write few lines that would let me show in the map with lines where they come from and where they go? I would also crate lines with different width depending on the total number of commuters (the field called TOTALE). I tried to create a virtual layer selecting, from the CSV, the fields I would like to show, then joining the CSV with the shapefile. But it didn't work. I think I'm not writing the code in the correct way. I saw there is a plug-in as well, Map Flow, but I need to create a matrix that is too long to write down.

deleted 36 characters in body; edited tags; edited title
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Flow map of commuters using QGIS

I need to show in QGIS the a flow map of commuters in a municipality of Italy, Bari. In a csv file I know the place they come from (a field called ORIG) and the place where they go (the field DEST) and the total number of them QGIS (TOTALE). In a shp file I have the points with the coordinates; in this file the reference field is called SEZ. Since I'm a bit ignorant in Python and SQL, could you please tell me a simple way to write few lines that would let me show in the map with lines where they come from and where they go? I would also crate lines with different width depending on the total number of commuters (the field called TOTALE). I tried to create a virtual layer selecting, from the csv, the fields I would like to show, then joining the csv with the shp. But it didn't work. I think I'm not writing the code in the correct way. I saw there is a plug-in as well, Map Flow, but I need to create a matrix that is too long to write down. Many thank and greetings, Gabriele

Flow map of commuters

I need to show in QGIS the a flow map of commuters in a municipality of Italy, Bari. In a csv file I know the place they come from (a field called ORIG) and the place where they go (the field DEST) and the total number of them (TOTALE). In a shp file I have the points with the coordinates; in this file the reference field is called SEZ. Since I'm a bit ignorant in Python and SQL, could you please tell me a simple way to write few lines that would let me show in the map with lines where they come from and where they go? I would also crate lines with different width depending on the total number of commuters (the field called TOTALE). I tried to create a virtual layer selecting, from the csv, the fields I would like to show, then joining the csv with the shp. But it didn't work. I think I'm not writing the code in the correct way. I saw there is a plug-in as well, Map Flow, but I need to create a matrix that is too long to write down. Many thank and greetings, Gabriele

Flow map of commuters using QGIS

I need to show in QGIS the a flow map of commuters in a municipality of Italy, Bari. In a csv file I know the place they come from (a field called ORIG) and the place where they go (the field DEST) and the total number of them QGIS (TOTALE). In a shp file I have the points with the coordinates; in this file the reference field is called SEZ. Since I'm a bit ignorant in Python and SQL, could you please tell me a simple way to write few lines that would let me show in the map with lines where they come from and where they go? I would also crate lines with different width depending on the total number of commuters (the field called TOTALE). I tried to create a virtual layer selecting, from the csv, the fields I would like to show, then joining the csv with the shp. But it didn't work. I think I'm not writing the code in the correct way. I saw there is a plug-in as well, Map Flow, but I need to create a matrix that is too long to write down.

Source Link

Flow map of commuters

I need to show in QGIS the a flow map of commuters in a municipality of Italy, Bari. In a csv file I know the place they come from (a field called ORIG) and the place where they go (the field DEST) and the total number of them (TOTALE). In a shp file I have the points with the coordinates; in this file the reference field is called SEZ. Since I'm a bit ignorant in Python and SQL, could you please tell me a simple way to write few lines that would let me show in the map with lines where they come from and where they go? I would also crate lines with different width depending on the total number of commuters (the field called TOTALE). I tried to create a virtual layer selecting, from the csv, the fields I would like to show, then joining the csv with the shp. But it didn't work. I think I'm not writing the code in the correct way. I saw there is a plug-in as well, Map Flow, but I need to create a matrix that is too long to write down. Many thank and greetings, Gabriele