0

How to split such file into many smaller ones ? It contains around 6 million different routes. I want to split 1 file with 6 million features (line string paths) so I have 6 million features. 1 feature - 1 gpx file.

10
  • Do you need to store vector data in GPX format or can you switch to other formats? I highly recommend to convert the data to GeoPackage format using QGIS: qgis.org/en/site/forusers/download.html Nov 5 '19 at 10:54
  • @Mr. Che Originally I used Qgis to obtain the data, then I wanted to extract it to separate gpx files but Qgis allowed me to save it all to one file. I need gpx unfortunately.
    – Ad Blu
    Nov 5 '19 at 11:03
  • If you are trying to save selected features - check out this answer: gis.stackexchange.com/a/26199/35561 Nov 5 '19 at 11:13
  • @Mr. Che This doesnt work. It still saves into 1 file.
    – Ad Blu
    Nov 5 '19 at 11:20
  • Before saving features were selected? Does the saved file contain the selected features? You have to edit your answer and specify what do you mean by "split". Nov 5 '19 at 11:23
0
  1. Use Split vector layer tool save each feature in separate file.
  2. Convert them back to gpx using Convert format tool. Use Batch processing (right click on the tool).
1
  • Thanks it works. For 17 features. But I will have 6 Million of them.... That will blow up my pc....
    – Ad Blu
    Nov 5 '19 at 11:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.