Jump to content

Recommended Posts

Hi Alex,

I'm trying to insert new user points and get unique constraint exception. looks like for some reason it fails on the "abeam kea" ident. But that does not exist as user point, there is one similar in Australia while I'm trying to insert one in Greece.

Here, try to import first the https://mega.nz/file/VXZlWI6Q#RaLxx9Iz9VhEF-nA3AVwQhVIm2mcSTM2aapnjDX_bhg

Then this one https://mega.nz/file/QDIzyITQ#A_vdusZ9Fco59D38Xuzxa6-SY8O0vStapcAHDDydQ-k

If you found a bug 🙂 and you're already in the fixing part, maybe you can also provide the functionality of ignoring import of user waypoints that exists on the same coordinates with the same type (VRP for example). This way I can just import more and more files from different sources (that has more coverage) but no duplicates will be created.

Thanks,

Doron.


2.png

Share this post


Link to post
Share on other sites

Hi Doron,

sorry, known issue popping up if you import more than one CSV file. It is unrelated to the content of the CSV files:

Restart LNM between the different imports to workaround this.

I have this already fixed here locally and importing your two files confirms it is working (thank you for the links!).
But I don't really want to make a release right now since I'd like to fix a few other issues and add some more features I planned.

About ignoring duplicates on import: I might consider this for a future version but for now you can run the cleanup function from the context menu in the userpoints search result table: https://www.littlenavmap.org/manuals/littlenavmap/release/latest/en/USERPOINT.html#cleanup-userpoints

This has a few options where you can define if you want to delete duplicates, empty userpoints and other after import.

Alex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...