{"action":"created","issue":{"url":"https://api.github.com/repos/mauroalberti/qProf/issues/10","repository_url":"https://api.github.com/repos/mauroalberti/qProf","labels_url":"https://api.github.com/repos/mauroalberti/qProf/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mauroalberti/qProf/issues/10/comments","events_url":"https://api.github.com/repos/mauroalberti/qProf/issues/10/events","html_url":"https://github.com/mauroalberti/qProf/issues/10","id":344831729,"node_id":"MDU6SXNzdWUzNDQ4MzE3Mjk=","number":10,"title":"incorrect prof_id assignment if generating over a threshold number of profiles from polyline shapefile?","user":{"login":"wobrotson","id":40319079,"node_id":"MDQ6VXNlcjQwMzE5MDc5","avatar_url":"https://avatars1.githubusercontent.com/u/40319079?v=4","gravatar_id":"","url":"https://api.github.com/users/wobrotson","html_url":"https://github.com/wobrotson","followers_url":"https://api.github.com/users/wobrotson/followers","following_url":"https://api.github.com/users/wobrotson/following{/other_user}","gists_url":"https://api.github.com/users/wobrotson/gists{/gist_id}","starred_url":"https://api.github.com/users/wobrotson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wobrotson/subscriptions","organizations_url":"https://api.github.com/users/wobrotson/orgs","repos_url":"https://api.github.com/users/wobrotson/repos","events_url":"https://api.github.com/users/wobrotson/events{/privacy}","received_events_url":"https://api.github.com/users/wobrotson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-07-26T12:54:32Z","updated_at":"2018-08-01T10:47:33Z","closed_at":null,"author_association":"NONE","body":"Hello, I have been trying to process a poly-line shapefile in QGIS using your plugin. The first time I ran the plugin, the profile had 106 lines. I specified the line order field as 'id', an integer feature class running from 1 - 106,  and processing worked as expected, with each profile (when plotted in matlab from an exported csv file) corresponding to that drawn using the 'Profile' plugin in QGIS. I then performed the same analysis on other polyline shapefiles with 38 and 76 features respectively, again with success. \r\n\r\nLater, I came to add further features to the initial polyline shapefile so that rather than having 106 it now had 301 features. I extracted the profiles again using qProf plugin, and the feature incorrectly assigned the id of the features, so that in the csv file the profiles generated no longer matched those specified in the 'id' feature class of the initial polyline shapefile. I plotted a shapefile of the same data generated by qprof and there seemed to be no pattern to the assignment of id to the lines. I tried splitting the shapefile into 3 smaller shapefiles each with 100 features (ids of 1-100, 101-200, 201-301 respectively). The same result occurred, with the incorrect assignment of the prof_id in the csv file generated. The incorrect result for the first smaller shapefile (first 100 features) was the same as the incorrect result as when I tried on the shapefile with all 301 features present. \r\n\r\nIf you can identify a reason and possible fix for this I would be very grateful. I can supply the relevant files if needed. "},"comment":{"url":"https://api.github.com/repos/mauroalberti/qProf/issues/comments/409533666","html_url":"https://github.com/mauroalberti/qProf/issues/10#issuecomment-409533666","issue_url":"https://api.github.com/repos/mauroalberti/qProf/issues/10","id":409533666,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTUzMzY2Ng==","user":{"login":"mauroalberti","id":1621998,"node_id":"MDQ6VXNlcjE2MjE5OTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1621998?v=4","gravatar_id":"","url":"https://api.github.com/users/mauroalberti","html_url":"https://github.com/mauroalberti","followers_url":"https://api.github.com/users/mauroalberti/followers","following_url":"https://api.github.com/users/mauroalberti/following{/other_user}","gists_url":"https://api.github.com/users/mauroalberti/gists{/gist_id}","starred_url":"https://api.github.com/users/mauroalberti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauroalberti/subscriptions","organizations_url":"https://api.github.com/users/mauroalberti/orgs","repos_url":"https://api.github.com/users/mauroalberti/repos","events_url":"https://api.github.com/users/mauroalberti/events{/privacy}","received_events_url":"https://api.github.com/users/mauroalberti/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T10:47:33Z","updated_at":"2018-08-01T10:47:33Z","author_association":"OWNER","body":"Name of the plugin folder has to be  *qProf*, not  qProf-0.4.1RC1\nEventually uncompress, rename and recompress to achieve the correct folder\nname\n\nOn Wed, Aug 1, 2018 at 12:40 PM, wobrotson <notifications@github.com> wrote:\n\n> I have downloaded and extracted the code to the usual folder:\n>\n> *C:\\Users\\Rob* Watson\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\\n> plugins\\qProf-0.4.1RC1_\n>\n> however, on trying to install the plugin from plugin manager I get the\n> following error message:\n>\n> _Couldn't load plugin 'qProf-0.4.1RC1'\n>\n> ModuleNotFoundError: No module named 'qProf-0'\n> Traceback (most recent call last):\n> File \"C:/PROGRA1/QGIS31.0/apps/qgis/./python\\qgis\\utils.py\", line 311, in\n> loadPlugin\n> *import*(packageName)\n> File \"C:/PROGRA1/QGIS31.0/apps/qgis/./python\\qgis\\utils.py\", line 664, in\n> _import\n> mod = _builtin_import(name, globals, locals, fromlist, level)\n> ModuleNotFoundError: No module named 'qProf-0'\n>\n> Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC\n> v.1900 64 bit (AMD64)]\n> QGIS version: 3.0.3-Girona Girona, 8a899c8758_\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/mauroalberti/qProf/issues/10#issuecomment-409531889>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABi_7rs_zA03xoKschvd6zwtMdyaW8_Nks5uMYWIgaJpZM4VhxAv>\n> .\n>\n"}}
{"actor":{"display_login":"mauroalberti"}}