GPSFileDepot.com
 

News:

Welcome to GPSFileDepot!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - whiskeyportal

#1
Map Making Support / Re: Sendmap20 from command line
October 26, 2018, 01:31:15 PM
I use the GUI for sendmap20 currently to make the gmapsupp, and javawa to make visible in basecamp and check for missing tiles. I was wanting to script the entire sendmap20 process
#2
Map Making Support / Sendmap20 from command line
July 02, 2018, 03:29:05 PM
I'm curious if anyone knows if it's possible to set the BaseCamp map name when using the command line to compile a GMAPSUPP.img . I am able to set the map set name with the -m command but the map name in BaseCamp is just map.  I am needing the map set name to carry over to all other map names, except the GMAPSUPP
Thanks!
#3
Map Making Support / Garmin Chip "Splash Screen"
March 05, 2018, 03:30:10 PM
Does anybody know if it's possible to add a message, other than the copyright with the 80 character limit, to a custom Garmin map that would appear on the GPS unit?
#4
Ok, so that worked, but then the machine had a new VM put on it, and the old build I was using no longer exists, so I was forced to try and re-register cgpsmapper on the new build. I did everything exactly as I did last time, but now cgps is detecting that I changed the date and time and throws up an error.
Any other ideas?
Thanks
#5
edit:
After a few failed attempts I was able to get it to work using this method. Thanks for the help!
#6
So I installed cgpsmapper on a new machine, and it is not recognizing my unlock key. I insert the code and it says that it is accepted, I click OK and then I get a pop-up stating that the code is over a year old and will not be recognized. Attempts to contact Stan haven't yielded any results. This has happened in the past and he has always been very good and getting me a new code right away. Last time it happened, he sent me a code and said that it shouldn't happen again, which it hasn't on that specific machine.
Has anyone else had this issue, and were they able to figure out a work-around?

Thanks
#7
Map Making Support / Re: cgpsmapper and Windows 10
August 11, 2016, 09:23:01 AM
No, I'm not making temporary directories. But I will from now on for sure. Do you mind if I use your examples?
#8
Map Making Support / Re: cgpsmapper and Windows 10
August 10, 2016, 10:08:33 AM
Interesting approach. I'll have to try that. I'm experimenting using this section of script to kick off 4 runs at the same time
print subprocess.Popen("cd c:\cgpsprocessing\cgpsrun1", shell=True, stdout=subprocess.PIPE).stdout.read()
os.chdir("c:\cgpsprocessing\cgpsrun1")
print subprocess.Popen("start /affinity 0x3 transcode.bat", shell=True, stdin=None, stdout=None, stderr=None, close_fds=True)
print("run 1 started using cores 0 & 1")
time.sleep(3)
print subprocess.Popen("cd c:\cgpsprocessing\cgpsrun2", shell=True, stdout=subprocess.PIPE).stdout.read()
os.chdir("c:\cgpsprocessing\cgpsrun2")
print subprocess.Popen("start /affinity 0xC transcode.bat", shell=True, stdin=None, stdout=None, stderr=None, close_fds=True)
print("run 2 started using cores 2 & 3")
time.sleep(3)
print subprocess.Popen("cd c:\cgpsprocessing\cgpsrun3", shell=True, stdout=subprocess.PIPE).stdout.read()
os.chdir("c:\cgpsprocessing\cgpsrun3")
print subprocess.Popen("start /affinity 0x30 transcode.bat", shell=True, stdin=None, stdout=None, stderr=None, close_fds=True)
print("run 3 started using cores 4 & 5")
time.sleep(3)
print subprocess.Popen("cd c:\cgpsprocessing\cgpsrun4", shell=True, stdout=subprocess.PIPE).stdout.read()
os.chdir("c:\cgpsprocessing\cgpsrun4")
print subprocess.Popen("start /affinity 0xC0 transcode.bat", shell=True, stdin=None, stdout=None, stderr=None, close_fds=True)
print("run 1 started using cores 6 & 7")

I'm using python for this. I'm trying the sleep function in between starting runs for this example to try and stop the  Access violation errors, but I keep getting hit with them, and Error R007:Node reduction errors which is really annoying when you're trying to run a huge map and it stops processing a run all night.

Right now I have a python script I wrote that copies 5 processing folders, each with copies of cgpsmapper in the, to processing folders. Then checks mp_types for errors, and builds catalogs in global mapper. Then it imports those catalogs and tiles them out in .mp format. When it's finished, it erases all blank .mp files, and move the .mp files over 150Mb to another working directory and splits them up more. Then it writes a list of all the .mp files, and splits that list by a number I specify in the script and writes those as transcodeq.txt files. Then it sends me an email notifying me that it is kicking off cgpsmapper runs, and starts them. If I could just get rid of the access violation errors life would be great.
#9
Map Making Support / Re: cgpsmapper and Windows 10
August 02, 2016, 11:19:33 AM
Quote from: popej on July 29, 2016, 11:28:32 AM
Quote from: whiskeyportal on July 28, 2016, 04:33:04 PM
I run into the same issue where more than one instance starting at the same time will cause access violation errors, but usually I can have 3 instances running fine.
I have experienced the same problem, actually there are 2 separate problems. First is obvious - you should use separate temporary directory for each instance (as indicated by TEMP or TMP variable, not sure which one). Second problem is more weird, like there is some kind of crosstalk between instances. I have solved it by setting different affinity for each instance, so it runs on separate CPU core.

I usually run 8 instances at once starting them with batch that set TEMP/TMP variables and affinity for each one. Something like this:

set TEMP=.\instance1
set TMP=.\instance1
start "cgpsmapper instance 1" /AFFINITY 0x01 cgpsmapper .....

that's a good idea. I have just been using different folders with cgps in them, and at the end of a python script I had each instance wait 1 second before kicking off the next transcode.bat. I'll try your method for sure and see how many I can run safely. Do you edit the process.bat file? I'd love to check out how you scripted it.

Still haven't figured out why it won't run at all on a Virtual Machine though.
#10
Map Making Support / Re: cgpsmapper and Windows 10
July 29, 2016, 10:35:29 AM
Quote from: Red90 on July 29, 2016, 08:25:24 AM
No problems here.
You're running cgps on a VM? Are you using windows 10?
#11
Map Making Support / Re: cgpsmapper and Windows 10
July 28, 2016, 04:33:04 PM
I run into the same issue where more than one instance starting at the same time will cause access violation errors, but usually I can have 3 instances running fine.
The issue I'm having is that cgps won't run on a Virtual Machine. Anyone else had this issue and were they able to find a work around?
#12
Map Making Support / Re: cgpsmapper and Windows 10
July 28, 2016, 12:43:40 PM
It seems to be running fine on some of my machines, but completely kills the new VM running windows 10. As soon as you try and do anything with cgps the machine reboots.
Anyone else ran into this issue?
Thanks
#13
I recently started a trial of Garmins GPICreator software to make GPI files. I can make them just fine and they display as desired on GPS units, but they're not showing as visible in BaseCamp. When I use the exact same gpx files to make one using POI Loader, they display just fine in BaseCamp and on the GPS units. Garmin developer support is lacking to say the least, as is the documentation that came with GPI_Creator. Has anyone here used this software much, and if so, did you run in to these same issues? Were you able to figure out what the issue was?
Thanks
#14
Map Making Support / Re: Globalmapper Mobile
June 23, 2016, 08:10:10 AM
I was on the beta team for this app. The product is very cool with a ton of possibilities, but still needs a few tweaks IMO.
#15
Map Making Support / cgpsmapper and Windows 10
April 12, 2016, 01:02:30 PM
Has anyone ran cgpsmapper on Windows 10? And if so, were there any issues? Just wondering whether I'll have any issues if when I upgrade my machine it comes with 10.
Thanks for any feedback you might be able to provide.