Date   
Re: APRSIS Pass through GPS feed broken with Kenwood D710A

Fred Hillhouse Jr (CruelShoes)
 

Reread your email. I still comparing settings is valid. I had trouble with Bluetooth adapters working most of the time rather than all the time. I found Bluetooth to be a frustrating endeavor. 

Fred N7FMH 

On Sat, May 16, 2020, 8:30 AM Fred Hillhouse Jr (CruelShoes) via groups.io <f.hillhouse.jr=gmail.com@groups.io> wrote:
When passing data (of any type) through an RS232/USB adapter, the number one issue tends to be a change in COM port. Look at your port settings in APRSIS32 and compare with you device settings in Windows.

Fred N7FMH 

On Sat, May 16, 2020, 1:00 AM Anthony Mascola via groups.io <a_mascola=yahoo.com@groups.io> wrote:
My GPS pass through broke also recently.  I used to see my position and speed continuously on the APRSIS32 display in my Jeep though it was not always reliable. I used to be able to uninstall APRSIS32 and it would run for a time.  Now it consistently does not work at all

Configured Port: D710 APRS port configured to serial cable COM Port and checking GPS.  It's no longer working
Transceiver: Kenwood D710A
GPS: K6VHF GPS attached to operation panel of D710A (note as above the D710A does not have a built in GPS.  Note you do not configure this GPS unit as an NMEA GPS port on the same COM port as the transceiver.  It is intended to pass through the data through the COM port combining the TNC controls and GPS positioning data
Serial connection to computer: RT systems serial to USB cable or US Converters Blutronium serial to bluetooth dongle - neither work to pass through GPS data anymore
Computer: Toshiba WT8-A32 Windows 10 tablet, Fujitsu T902 laptop- neither receive GPS passthrough data anymore, both did previously

Is anyone running a D710A with an attached GPS unit such as the Greenlight labs, K6VHF or other and able to get pass through GPS to APRSIS32 as before?  I can beacon and run APRS fine from the Kenwood showing my speed and GPS coordinates accurately and know GPS is working properly.  Somehow something has changed that does not allow APRSIS32 to see and pass through this information as before.  I have spent hours and hours trying to get this working again...

Re: APRSIS Pass through GPS feed broken with Kenwood D710A

Fred Hillhouse Jr (CruelShoes)
 

When passing data (of any type) through an RS232/USB adapter, the number one issue tends to be a change in COM port. Look at your port settings in APRSIS32 and compare with you device settings in Windows.

Fred N7FMH 

On Sat, May 16, 2020, 1:00 AM Anthony Mascola via groups.io <a_mascola=yahoo.com@groups.io> wrote:
My GPS pass through broke also recently.  I used to see my position and speed continuously on the APRSIS32 display in my Jeep though it was not always reliable. I used to be able to uninstall APRSIS32 and it would run for a time.  Now it consistently does not work at all

Configured Port: D710 APRS port configured to serial cable COM Port and checking GPS.  It's no longer working
Transceiver: Kenwood D710A
GPS: K6VHF GPS attached to operation panel of D710A (note as above the D710A does not have a built in GPS.  Note you do not configure this GPS unit as an NMEA GPS port on the same COM port as the transceiver.  It is intended to pass through the data through the COM port combining the TNC controls and GPS positioning data
Serial connection to computer: RT systems serial to USB cable or US Converters Blutronium serial to bluetooth dongle - neither work to pass through GPS data anymore
Computer: Toshiba WT8-A32 Windows 10 tablet, Fujitsu T902 laptop- neither receive GPS passthrough data anymore, both did previously

Is anyone running a D710A with an attached GPS unit such as the Greenlight labs, K6VHF or other and able to get pass through GPS to APRSIS32 as before?  I can beacon and run APRS fine from the Kenwood showing my speed and GPS coordinates accurately and know GPS is working properly.  Somehow something has changed that does not allow APRSIS32 to see and pass through this information as before.  I have spent hours and hours trying to get this working again...

Re: APRSIS Pass through GPS feed broken with Kenwood D710A

Anthony Mascola
 

My GPS pass through broke also recently.  I used to see my position and speed continuously on the APRSIS32 display in my Jeep though it was not always reliable. I used to be able to uninstall APRSIS32 and it would run for a time.  Now it consistently does not work at all

Configured Port: D710 APRS port configured to serial cable COM Port and checking GPS.  It's no longer working
Transceiver: Kenwood D710A
GPS: K6VHF GPS attached to operation panel of D710A (note as above the D710A does not have a built in GPS.  Note you do not configure this GPS unit as an NMEA GPS port on the same COM port as the transceiver.  It is intended to pass through the data through the COM port combining the TNC controls and GPS positioning data
Serial connection to computer: RT systems serial to USB cable or US Converters Blutronium serial to bluetooth dongle - neither work to pass through GPS data anymore
Computer: Toshiba WT8-A32 Windows 10 tablet, Fujitsu T902 laptop- neither receive GPS passthrough data anymore, both did previously

Is anyone running a D710A with an attached GPS unit such as the Greenlight labs, K6VHF or other and able to get pass through GPS to APRSIS32 as before?  I can beacon and run APRS fine from the Kenwood showing my speed and GPS coordinates accurately and know GPS is working properly.  Somehow something has changed that does not allow APRSIS32 to see and pass through this information as before.  I have spent hours and hours trying to get this working again...

Open Tracker

Curtis Barmes
 

Thank you to all who helped! Problem solved.

For those interested:

Problem was moving from XP computer to Windows 10. Everything seemed fine except Open Tracker had the message "Open Tracker Open"

Thanks to help from this group, I found that Windows 10 had COM1 at 19,200 BAUD. Changed that to 1200 BAUD, restarted everything and now it's "Open Tracker OK"

This is a great group. Solved in less than a day!

Curt N9CEB

Re: map changes

Lynn Deffenbaugh
 

Interspersed comment below...

On 5/15/2020 12:57 PM, Arnold Harding. - KQ6DI wrote:
Lynn,
Are all / any of these map changes going to break what I already have?  I have Thunder Landscape working fine, but it sounds like all of my map stuff is going to get scrambled.  Since I don't know what Meta/MB tiles are, it's a bit of a worry.

The plan is to continue to support file-system-based tile storage for the foreseeable future.  It's just really space-wise inefficient and hard to copy/move/share with others.  So you can rest easy knowing that I try not to be that short-sighted!


So if you could just give a simple explanation of what the Meta/MB file structure changes are going to destroy in my current tile file structure system, it would be nice.

That's a good idea.  I'll have to cobble up a Wiki explanation page once I figure out what the final look will be.  I'm hoping that all NEW Tile Sets will be created with MBTiles databases rather than file-system-based storage.  Only existing (and non-migrated, see e-mail about Migrate) Tile Sets will continue to use the individual tile files.


By the way, the 2020/05/14 10:48 version takes a lot longer to exit/close the program than anything previous.  I just timed closing the program at 11 seconds after I hit "Really close?  YES".  And that's after only having the program running for 15 seconds.

That is worrisome.  Do you have any *.dmz or *.dmp files showing up in the runtime directory?  It almost sounds like it's dumping itself during the exit.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32


Arnold, KQ6DI

Re: https maps (Dev: 2020/05/14 23:14)

Lynn Deffenbaugh
 

The plan is that the "Migrate" button will scan through the legacy directory-based tiles and load them into an associated MBTiles file.  If the tile is already in the database, it will only be loaded if the file's revision date is later than the load date in the database.  At the end of the migration, I plan to ask if you want to keep the files or have them deleted for you.

Sound like a good plan?  Now I just have to implement it!

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

On 5/15/2020 10:24 AM, Fred Hillhouse wrote:
Added teaser "Migrate" button to non-MBTiles-backed tile sets.

This mean I can retain the old file structure for the tiles? Or migrate old into new?

Fred N7FMH



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


map changes

Arnold Harding. - KQ6DI
 

Lynn,
Are all / any of these map changes going to break what I already have?  I have Thunder Landscape working fine, but it sounds like all of my map stuff is going to get scrambled.  Since I don't know what Meta/MB tiles are, it's a bit of a worry.

So if you could just give a simple explanation of what the Meta/MB file structure changes are going to destroy in my current tile file structure system, it would be nice.

By the way, the 2020/05/14 10:48 version takes a lot longer to exit/close the program than anything previous.  I just timed closing the program at 11 seconds after I hit "Really close?  YES".  And that's after only having the program running for 15 seconds.

Arnold, KQ6DI

Re: https maps (Dev: 2020/05/14 23:14)

Fred Hillhouse
 

Added teaser "Migrate" button to non-MBTiles-backed tile sets.

This mean I can retain the old file structure for the tiles? Or migrate old into new?

Fred N7FMH



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

https maps (Dev: 2020/05/14 23:14)

Lynn Deffenbaugh
 

Support a new check-box "https://" in the upper right corner of the Tile Set configuration dialog.  Yes, it works for non-MBTiles tile sets now!

Added teaser "Migrate" button to non-MBTiles-backed tile sets.

Added a new dialog for showing configuration of MBTiles-sourced (has a URLFormat metadata) Tile Sets.

Revamped some internal data structures around MBTiles to make them more dynamic and avoid opening multiple paths to a single MBTiles database.

Better handle server ports for http (80) and https (443).  There was an issue where a tile set would default to 80 but attempt to use the https protocol which continually failed.  A Port of zero (0) will select the proper default for the URL's protocol.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

PS.  If you use the new https:// checkbox, you need to make sure you either specify a port of 0 or 443, not 80!

Re: Open Tracker

Lynn Deffenbaugh
 

Actually, the "Open" status means that APRSIS32 is trying to open the communication line to the TNC.  In this case, I suspect it's a serial port and it's no longer the same number as it was on the old machine.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

On 5/14/2020 8:11 PM, Rob Giuliano via groups.io wrote:
The Yahoo group has moved and pretty much been has disolved.  It only stays somewhat open to catch stragglers.
Cross posting into Groups.IO. 

As I understand it, "OpenTracker Open" means it has not received feedback from the TNC indicating it can communicate.
The most common causes are:
1.  TNC in the wrong mode.  KISS is the most common
     If the TNC is not in KISS mode, but the RF port is KISS, the communication does not match.
2. <Open> commands are not working (typically used to set #1
3. Baud rate or port mismatch.


The quickest way to get help would be to use <Menu> <Enables> <Logging> port(Open Tracker)
  And see what his log says about what was sent, received, and kind of expected.

Join (move to) the aprsis32 => APRSISCE groups.io Group


Post your log info if you need more help.

Robert Giuliano
KB8RCO



On Thursday, May 14, 2020, 7:37:30 PM EDT, curtis@... [aprsisce] <aprsisce-noreply@...> wrote:


I updated my computer from a netbook with XP to a notebook with Win 10.. All went fine.

I'm using the latest development version of APRSIS.

In the status window, it changes from APRSIS OK to Open Tracker Open. It used to say Open Tracker OK. I can't find any help in the documentation. I don't think it's transmitting. I get everything else, but in the station windows, there are no asterisks as there used to be.

Any ideas?

Curt  N9CEB


Re: Open Tracker

KE6BB
 

After years of using several Open Trackers (OT) and Tiny Traks (TT), I suspect the com port assignment in APRSIS32 doesn’t match the com port windows has assigned to the OT.  APRSIS32 is trying to open a port number that doesn’t exist, to is being used by a different program.  If you changed computers by copying the APRSIS32 directory from the old computer to the new one, you most certainly have a com port mismatch.

 

There are a couple of ways to approach this.   The most basic is to open Device Manager and check each of the port numbers listed in the “Ports (COM & LPT)”.  It is easiest to do with a terminal program (HYPERTerm came with windows for years, I like TeraTerm) trying each one until you find the one that works.  APRSIS32 MUST NOT BE RUNNING while doing this, or at least all the com ports must be disabled. Since you are using a new laptop which probably doesn’t have real serial ports,  I suspect you are using a USB to serial converter, OR the USB port of an OT-USB.  In that case it gets real easy to figure out the com port number you are using.  Simply unplug the USB cable and then plug it back in while watching the list of ports in Device Manager.  You will see the port number disappear and then reappear.

 

Once you  know which com port number windows has assigned to your com port, CLOSE THE TERMINAL PROGRAM, start up APRSIS32, click on Configure>Ports>Open Tracker (or what ever the port name is)>Device, select the com port number, and baud rate if it isn’t already filled in, be sure the ENABLES box is checked, then OK, and ACCEPT.

 

Caution, I feel a story coming on:

 

Occasionally I have had a problem where I just can’t get APRSIS32 and the computer to talk to each other for some unknown reason.  Had this problem a couple of years ago.  A friend was having the same trouble and called me for help.  I got on my computer, and strangely, my APRSIS32 instance was also having the problem.  “OT Open” kept flashing.  I opened the log as Rob has suggested, and it appeared to be a com port mismatch.  I worked with my friend for an hour or more, and all of a sudden when neither of us was actually changing anything, both of computers started to talk to the OT (he was using a slightly different TNC—can’t remember model, but it was sold by MFJ and is much like an OT) at the same time!  I can’t explain what happened, but my point is to keep trying.  I suspect I must have been leaving a terminal program open keeping the com port tied up,  or something like that, but both of us, making the same mistake on computers separated by 30 miles and a range of 3000 foot high mountains??? Quantum entanglement?   Strange.

 

Mark,

KE6BB

 

Sent from Mail for Windows 10

 

From: Rob Giuliano via groups.io
Sent: Thursday, May 14, 2020 05:11 PM
To: curtis@...; APRSISCE
Subject: Re: [APRSISCE] Open Tracker

 

The Yahoo group has moved and pretty much been has disolved.  It only stays somewhat open to catch stragglers.

Cross posting into Groups.IO. 

 

As I understand it, "OpenTracker Open" means it has not received feedback from the TNC indicating it can communicate.

The most common causes are:

1.  TNC in the wrong mode.  KISS is the most common

     If the TNC is not in KISS mode, but the RF port is KISS, the communication does not match.

2. <Open> commands are not working (typically used to set #1

3. Baud rate or port mismatch.

 

 

The quickest way to get help would be to use <Menu> <Enables> <Logging> port(Open Tracker)

  And see what his log says about what was sent, received, and kind of expected.

 

Join (move to) the aprsis32 => APRSISCE groups.io Group

 

 


APRSISCE groups.io Group

*Welcome to the APRSISCE/32 Support Group* ------------------------------------------ Note: When requesting mem...

 

Post your log info if you need more help.

Robert Giuliano
KB8RCO

 

 

On Thursday, May 14, 2020, 7:37:30 PM EDT, curtis@... [aprsisce] <aprsisce-noreply@...> wrote:

 

 

I updated my computer from a netbook with XP to a notebook with Win 10.. All went fine.

 

I'm using the latest development version of APRSIS.

 

In the status window, it changes from APRSIS OK to Open Tracker Open. It used to say Open Tracker OK. I can't find any help in the documentation. I don't think it's transmitting. I get everything else, but in the station windows, there are no asterisks as there used to be.

 

Any ideas?

 

Curt  N9CEB

 

 

 

Re: Open Tracker

Rob Giuliano
 

The Yahoo group has moved and pretty much been has disolved.  It only stays somewhat open to catch stragglers.
Cross posting into Groups.IO. 

As I understand it, "OpenTracker Open" means it has not received feedback from the TNC indicating it can communicate.
The most common causes are:
1.  TNC in the wrong mode.  KISS is the most common
     If the TNC is not in KISS mode, but the RF port is KISS, the communication does not match.
2. <Open> commands are not working (typically used to set #1
3. Baud rate or port mismatch.


The quickest way to get help would be to use <Menu> <Enables> <Logging> port(Open Tracker)
  And see what his log says about what was sent, received, and kind of expected.

Join (move to) the aprsis32 => APRSISCE groups.io Group


Post your log info if you need more help.

Robert Giuliano
KB8RCO



On Thursday, May 14, 2020, 7:37:30 PM EDT, curtis@... [aprsisce] <aprsisce-noreply@...> wrote:


I updated my computer from a netbook with XP to a notebook with Win 10.. All went fine.

I'm using the latest development version of APRSIS.

In the status window, it changes from APRSIS OK to Open Tracker Open. It used to say Open Tracker OK. I can't find any help in the documentation. I don't think it's transmitting. I get everything else, but in the station windows, there are no asterisks as there used to be.

Any ideas?

Curt  N9CEB


Re: Tile Set Flushing #poll

Greg Depew
 

I use it after I have done an edit to OSM to make sure it went through. 



Greg KB3KBR Sent from my Verizon, Samsung Galaxy smartphone



-------- Original message --------
From: Lynn Deffenbaugh <kj4erj@...>
Date: 5/14/20 15:17 (GMT-05:00)
To: APRSISCE@groups.io
Subject: Re: [APRSISCE] Tile Set Flushing #poll

No, I guess I'm after those that use it for "real".  And there are positive answers already!  Cool.

Lynn (D) - KJ4ERJ - Author of APRSISCE/32/MO/...

Re: Tile Set Flushing #poll

Lynn Deffenbaugh
 

No, I guess I'm after those that use it for "real".  And there are positive answers already!  Cool.

Lynn (D) - KJ4ERJ - Author of APRSISCE/32/MO/...

Re: Tile Set Flushing #poll

Rob Giuliano
 

Does testing count?

Robert Giuliano
KB8RCO



On Thursday, May 14, 2020, 2:01:13 PM EDT, Lynn Deffenbaugh <kj4erj@...> wrote:


A new poll has been created:

Have you ever used the "Flush" button on a Map Tile Set?

1. Nope, never
2. Yes I have
3. The WHAT button?

Vote Now

Do not reply to this message to vote in the poll. You can vote in polls only through the group's website.

Tile Set Flushing #poll

Lynn Deffenbaugh
 

Have you ever used the "Flush" button on a Map Tile Set?

Results

See Who Responded

Re: MBTiles TileSet storage

Lynn Deffenbaugh
 

Another resurrected message with some MBTiles discussion.  The issue with creating the numbered directories has been fixed.  It does still require an empty directory to point to, even though files should not be placed there any more.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32



-------- Forwarded Message --------
Subject: Re: [aprsisce] MBTiles TileSet storage
Date: Fri, 2 Feb 2018 10:28:05 -0500
From: 'Lynn W Deffenbaugh (Mr)' kj4erj@... [aprsisce] <aprsisce@...>
Reply-To: aprsisce@...
To: aprsisce@...




Ok, to be clear.  It only creates the directories, but doesn't put any actual map tile images in them, correct?  At least, that's what my test here did.

Note:  Everywhere that I reference <TileServer> in the following discussion, it's actually the <OSM.*> element that is used which comes from the <TileServer>'s corresponding elements when a new Configure / Map / Tile Set is selected for display.

Currently APRSIS32 will still require the <TileServer>'s <Path> to exist and it will still create the numbered directories.  But as long as the downloaded tile is successfully stored in the .mbtiles file, it will not be stored in the number directory tree.  Eventually <TileServer>s will support an empty <Path> with a non-empty <MBTile> to prevent this behavior.

Also, on the <Path> inside the <MBTile>, it should point the whole way to the .mbtiles file.  There is no assumption of the name of the file vs the name attribute of the <MBTile> element.  So that added block should have had no effect on your test.

Here's the current sequence of events when a tile is needed for display:

The <MBTile> databases are checked in the order they appear in the XML and only if enabled.  If the tile is found and is a valid image, it is used.

The <TileServer>'s <MBTiles> file is checked if it is configured and it exists.  If the tile is found and is a valid image, it is used.

The <TileServer>'s <Path> is checked for a tile file.  If it is found and is a valid image, it is used.

This same three-step logic is used to look for tiles one or two levels further out which will be stretched for display.  Even if a tile is found and stretched, the actual tile will still be downloaded as follows.  APRSISMO currently doesn't stretch tiles.

If the actual tile is not found, it will be downloaded according to the <TileServer>'s <Server><Port> and <URLPrefix>.  If the download is not successful, all ends here.  Oh, and the appropriate numbered directory is created at this point in anticipation of a successful download.  This will eventually be removed for <MBTiles>-configured servers, but read on.

If a tile is successfully downloaded, it is stored in the <TileServer>'s <MBTiles> database.  If the database insertion fails, or if an <MBTiles> database is not configured, the downloaded tile is stored in the appropriate numbered directory that was previously created.

Once a tile is successfully downloaded, Perfetches are queued for the 2 tiles at -1 and -2 zooms and the 4 tiles at zoom +1.  Remember, each tile has 4 tiles "below" it at the next closer zoom level.  As each of these is processed, they create the appropriate numbered directories and are subsequently stored as described above.  Prefetches do NOT queue additional prefetches, only tiles downloaded for display needs queue prefetches.

Now that I've resurrected that knowledge, I wonder why I ended up with numbered directories from 1 through 15 when I was only displaying at zoom 14?  12 through 15 would make sense, but not 1 through 12.  Gotta look into that one...

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32



On 2/1/2018 11:46 PM, Rob Giuliano kb8rco@... [aprsisce] wrote:
Tried again.

Added

<!--MBTile[0]-->
<MBTile Name="OSMTiles">
<Path>C:/WinApps/Radio/APRSIS32-2/</Path>
<Enabled>1</Enabled>
</MBTile>
<!--MBTile[0]-->

Under <TileServer Name="Original">.

Now I can close and open the app and it will use the .MBTiles.
Still generates numbered directories, then seem to add them to the database.  Leaves them there.

I think it might have deleted (cleaned up) the number folders once
 
Robert Giuliano
KB8RCO



From: "Rob Giuliano kb8rco@... [aprsisce]" <aprsisce@...>
To: "aprsisce@..." <aprsisce@...>
Sent: Thursday, February 1, 2018 11:31 PM
Subject: Re: [aprsisce] MBTiles TileSet storage

 
Okay, I gave this a try:
1. Copied my XML from a running system to a new directory
2. Created a shortcut to the EXE (save space and ensure using the same copy)
3. Edit XML to use MBTiles using the default set by changing
   <OSM.MBTiles>C:/WinApps/Radio/APRSIS32-2/OSMTile/OSMTiles.mbtiles</OSM.MBTiles>
4. Same under TileServer[0] 

On startup, it asks for the location of the APRSIS32.osm file.
The MBTile file went from 4k to 1.5 MB, HOWEVER, all the numbered directories and png files are also showing up. 

I tried deleting the numbered directories and APRSIS32.osm.  Asks for location of APRS32.osm again.

I tried deleting the just the numbered directories.  Stops asking, but creates the numbered directories.

It seem to use the .mbtiles files after it starts, but it downloads to numbered directories.  Moving the directories, they aren't recreated, but new zooms and map areas make new directories.

Is it suppose to?
 
Robert Giuliano
KB8RCO



From: "'Lynn W Deffenbaugh (Mr)' kj4erj@... [aprsisce]" <aprsisce@...>
To: APRSISCE Group <aprsisce@...>
Sent: Thursday, February 1, 2018 6:59 PM
Subject: [aprsisce] MBTiles TileSet storage

 
So, you're wondering about the <MBTiles> and <OSM.MBTiles> elements are
doing in the APRSIS32.XML file? They are the beginnings of support for
using MBTiles (SQLite) databases to store the map tile images instead of
directory trees of individual files.  You can set this up yourself if
you'd like to test it with the following procedure.

0) Make a copy of your working APRSIS32 instance directory so that if
you bork it up, you still have a good working copy!

1) Download an empty MBTiles database from
http://ldeffenb.dnsalias.net/MBTiles/* - It's called Empty.mbtiles and
is only 4,096 bytes.

2) Copy that file to a new name appropriate to the tile set that you'll
be placing into it.  It is easiest to put it in the default execution
directory alongside your APRSIS32.XML file.

3) Edit your APRSIS32.XML file and locate the actual <TileServer> that
you want to test with.  If you want, you can copy an entire
<TileServer>...</TileServer> block to a new entry and change the Name
value within the <TileServer Name="xxxx"> element.

4) In that block, add the name that you called the copy of
Empty.mbtiles, including the .mbtiles extension and the full path unless
it is in your default execution directory.  Yes, with full paths
multiple instances of APRSIS32 can share a single .mbtiles file.  It is
important that each instance is drawing from the same tile server or
thing can get really confusing really quickly.

5) If you are testing with the currently selected TileSet, then you also
need to put the same value in the <OSM.MBTiles> element.  Or you can
just fire up APRSIS32, switch to a different tile set, and then switch
back to the one that is using the <MBTiles> entry.

6) Done.

But what does it actually DO and how can I tell if it is working?  Well,
that's a bit trickier.

The easiest way I now of is to make a new copy of a <TileServer> entry
and point its <Path> to a newly-created empty directory and specify the
<MBTiles> entry as well pointing to a suitably-named copy of the
Empty.mbtiles file.  Then when you select that new TileServer in a
running APRSIS32, you should see the map tiles get downloaded, but
nothing should appear in the directory tree.  And the .mbtiles file
should be growing in size as new tiles are downloaded. Zooming and
panning around to fetch lots of tiles should show the .mbtiles file
continuing to grow.

Then, when you want to see what you've got, open the new .mbtiles file
up in the SQLite database browser mentioned earlier and execute the
following SQL command:

SELECT zoom_level, count(*), min(tile_column), max(tile_column), min(tile_row), max(tile_row) from tiles group by zoom_level order by zoom_level;

Or you can just restart APRSIS32 and look in the sqlite trace log to see
if it has any zoom level ranges in the .mbtiles file.  That output will
look something like:

WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[1] 2 Tiles x:1-1 y:0-1
WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[2] 2 Tiles x:3-3 y:1-2
WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[3] 3 Tiles x:7-7 y:2-4
WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[4] 20 Tiles x:0-15 y:1-8
WinMain:2018-02-01T21:44:21.184 Test.mbtiles z[5] 60 Tiles x:0-13 y:6-15
WinMain:2018-02-01T21:44:21.184 Test.mbtiles z[6] 206 Tiles x:0-26 y:14-32
WinMain:2018-02-01T21:44:21.185 Test.mbtiles z[7] 137 Tiles x:16-37 y:41-54
WinMain:2018-02-01T21:44:21.185 Test.mbtiles z[8] 360 Tiles x:36-78 y:86-108
WinMain:2018-02-01T21:44:21.187 Test.mbtiles z[9] 535 Tiles x:77-153 y:176-217
WinMain:2018-02-01T21:44:21.188 Test.mbtiles z[10] 591 Tiles x:158-305 y:355-431
WinMain:2018-02-01T21:44:21.190 Test.mbtiles z[11] 498 Tiles x:323-608 y:750-860
WinMain:2018-02-01T21:44:21.191 Test.mbtiles z[12] 494 Tiles x:652-1213 y:1502-1718
WinMain:2018-02-01T21:44:21.192 Test.mbtiles z[13] 426 Tiles x:1564-2423 y:3008-3434
WinMain:2018-02-01T21:44:21.193 Test.mbtiles z[14] 138 Tiles x:4197-4844 y:6018-6866
WinMain:2018-02-01T21:44:21.193 Test.mbtiles z[15] 123 Tiles x:8333-9684 y:11516-12816
WinMain:2018-02-01T21:44:21.200 Test.mbtiles z[16] 73 Tiles x:16771-16781 y:25623-25629

This says that my Test.mbtiles file has tiles from zooms 1 through 16
with a concentration of them (300-500/level) in zooms 8 through 13.  The
x and y ranges show the actual OSM tile numbers that are cached in that
level.  Note that this is only the min and max, it does not mean that
every tile in the entire x/y rectangle is actually present in the file.

If any of you are brave enough to give this a shot, let me know how it
goes or especially if it goes bust!

And as with the overlays, I'll be incorporating this into the Configure
/ Map / TileSets / New... user interface.  If you use the SQLite
database browser and look at the contents of the "metadata" table,
you'll notice that it includes TileServer definition information.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

PS.  Note that not all .mbtiles files are compatible with APRSIS32 tile
storage.  Some .mbtiles files have been optimized to remove redundant
tile images.  These .mbtiles files can be used as overlay tilesets, but
not as main tile storage as their internal table format is different. 
As long as the SQLite database browser shows only 2 tables called
"metadata" and "tiles", it should be good.

For instance, MBTiles files from mapbox have the "tiles" as a view
rather than an explicit table.  These files can be used as overlay
MBTiles, but not as TileSet .mbtiles storage.

https://www.mapbox.com/help/define-mbtiles/

and of course, vector tiles are something completely different!

https://openmaptiles.com/downloads/planet/

Notice that the satellite views .mbtiles file (available for pay) is
196GB in size.  Yes, 196 GIGAbytes!








__._,_.___

Posted by: "Lynn W Deffenbaugh (Mr)" <KJ4ERJ@...>



__,_._,___

MBTiles TileSet storage

Lynn Deffenbaugh
 

Here's an old, but nearly accurate description of firing up an MBTiles file for database storage.  It does not describe how to configure an MBTiles file for https:// access but relies on the server in the legacy tile set configuration block.

And the URL that it mentions is http://sqlitebrowser.org but I didn't notice it in that writeup.

More details to follow, but this is the posting that I thought was around around somewhere!

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

-------- Forwarded Message --------
Subject: [aprsisce] MBTiles TileSet storage
Date: Thu, 1 Feb 2018 17:37:08 -0500
From: 'Lynn W Deffenbaugh (Mr)' kj4erj@... [aprsisce] <aprsisce@...>
Reply-To: aprsisce@...
To: APRSISCE Group <aprsisce@...>


So, you're wondering about the <MBTiles> and <OSM.MBTiles> elements are doing in the APRSIS32.XML file? They are the beginnings of support for using MBTiles (SQLite) databases to store the map tile images instead of directory trees of individual files.  You can set this up yourself if you'd like to test it with the following procedure.

0) Make a copy of your working APRSIS32 instance directory so that if you bork it up, you still have a good working copy!

1) Download an empty MBTiles database from http://ldeffenb.dnsalias.net/MBTiles/* - It's called Empty.mbtiles and is only 4,096 bytes.

2) Copy that file to a new name appropriate to the tile set that you'll be placing into it.  It is easiest to put it in the default execution directory alongside your APRSIS32.XML file.

3) Edit your APRSIS32.XML file and locate the actual <TileServer> that you want to test with.  If you want, you can copy an entire <TileServer>...</TileServer> block to a new entry and change the Name value within the <TileServer Name="xxxx"> element.

4) In that block, add the name that you called the copy of Empty.mbtiles, including the .mbtiles extension and the full path unless it is in your default execution directory.  Yes, with full paths multiple instances of APRSIS32 can share a single .mbtiles file.  It is important that each instance is drawing from the same tile server or thing can get really confusing really quickly.

5) If you are testing with the currently selected TileSet, then you also need to put the same value in the <OSM.MBTiles> element.  Or you can just fire up APRSIS32, switch to a different tile set, and then switch back to the one that is using the <MBTiles> entry.

6) Done.

But what does it actually DO and how can I tell if it is working?  Well, that's a bit trickier.

The easiest way I now of is to make a new copy of a <TileServer> entry and point its <Path> to a newly-created empty directory and specify the <MBTiles> entry as well pointing to a suitably-named copy of the Empty.mbtiles file.  Then when you select that new TileServer in a running APRSIS32, you should see the map tiles get downloaded, but nothing should appear in the directory tree.  And the .mbtiles file should be growing in size as new tiles are downloaded. Zooming and panning around to fetch lots of tiles should show the .mbtiles file continuing to grow.

Then, when you want to see what you've got, open the new .mbtiles file up in the SQLite database browser mentioned earlier and execute the following SQL command:

SELECT zoom_level, count(*), min(tile_column), max(tile_column), min(tile_row), max(tile_row) from tiles group by zoom_level order by zoom_level;

Or you can just restart APRSIS32 and look in the sqlite trace log to see if it has any zoom level ranges in the .mbtiles file.  That output will look something like:

WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[1] 2 Tiles x:1-1 y:0-1
WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[2] 2 Tiles x:3-3 y:1-2
WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[3] 3 Tiles x:7-7 y:2-4
WinMain:2018-02-01T21:44:21.183 Test.mbtiles z[4] 20 Tiles x:0-15 y:1-8
WinMain:2018-02-01T21:44:21.184 Test.mbtiles z[5] 60 Tiles x:0-13 y:6-15
WinMain:2018-02-01T21:44:21.184 Test.mbtiles z[6] 206 Tiles x:0-26 y:14-32
WinMain:2018-02-01T21:44:21.185 Test.mbtiles z[7] 137 Tiles x:16-37 y:41-54
WinMain:2018-02-01T21:44:21.185 Test.mbtiles z[8] 360 Tiles x:36-78 y:86-108
WinMain:2018-02-01T21:44:21.187 Test.mbtiles z[9] 535 Tiles x:77-153 y:176-217
WinMain:2018-02-01T21:44:21.188 Test.mbtiles z[10] 591 Tiles x:158-305 y:355-431
WinMain:2018-02-01T21:44:21.190 Test.mbtiles z[11] 498 Tiles x:323-608 y:750-860
WinMain:2018-02-01T21:44:21.191 Test.mbtiles z[12] 494 Tiles x:652-1213 y:1502-1718
WinMain:2018-02-01T21:44:21.192 Test.mbtiles z[13] 426 Tiles x:1564-2423 y:3008-3434
WinMain:2018-02-01T21:44:21.193 Test.mbtiles z[14] 138 Tiles x:4197-4844 y:6018-6866
WinMain:2018-02-01T21:44:21.193 Test.mbtiles z[15] 123 Tiles x:8333-9684 y:11516-12816
WinMain:2018-02-01T21:44:21.200 Test.mbtiles z[16] 73 Tiles x:16771-16781 y:25623-25629

This says that my Test.mbtiles file has tiles from zooms 1 through 16 with a concentration of them (300-500/level) in zooms 8 through 13.  The x and y ranges show the actual OSM tile numbers that are cached in that level.  Note that this is only the min and max, it does not mean that every tile in the entire x/y rectangle is actually present in the file.

If any of you are brave enough to give this a shot, let me know how it goes or especially if it goes bust!

And as with the overlays, I'll be incorporating this into the Configure / Map / TileSets / New... user interface.  If you use the SQLite database browser and look at the contents of the "metadata" table, you'll notice that it includes TileServer definition information.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

PS.  Note that not all .mbtiles files are compatible with APRSIS32 tile storage.  Some .mbtiles files have been optimized to remove redundant tile images.  These .mbtiles files can be used as overlay tilesets, but not as main tile storage as their internal table format is different.  As long as the SQLite database browser shows only 2 tables called "metadata" and "tiles", it should be good.

For instance, MBTiles files from mapbox have the "tiles" as a view rather than an explicit table.  These files can be used as overlay MBTiles, but not as TileSet .mbtiles storage.

https://www.mapbox.com/help/define-mbtiles/

and of course, vector tiles are something completely different!

https://openmaptiles.com/downloads/planet/

Notice that the satellite views .mbtiles file (available for pay) is 196GB in size.  Yes, 196 GIGAbytes!




------------------------------------
Posted by: "Lynn W Deffenbaugh (Mr)" <KJ4ERJ@...>
------------------------------------


------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/aprsisce/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/aprsisce/join
(Yahoo! ID required)

<*> To change settings via email:
aprsisce-digest@... aprsisce-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
aprsisce-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/


https Tile Server (like ThunderForest)

Lynn Deffenbaugh
 

I just confirmed that ThunderForest's tile servers are accessed via https.  This cannot be done with APRSIS32's legacy map tile set configuration.

But the newest development version of APRSIS32 can theoretically do this if you can manually configure some information into an MBTiles database file and then edit the APRSIS32.xml configuration file to point a tile set to this database.

Note: I just proved that it can do this by a) signing up for a ThunderForest free account, b) Noting the URL for their OpenCycleMaps on my dashboard, c) Cloning an empty MBTiles database and updating the URLFormat metadata element (along with name and description) to this URL including my API key and changing the {x} to %x (y and z respectively).  Maybe I'll have to add a ToDo item to support either %x or {x} as the latter seems to have gained some traction in tile server URL definitions.

Details on how to do that will be forthcoming as soon as I write them up.  I was searching my e-mail archives to see if I had made any mention of it in the past which is why these old messages are resurfacing.

In the meantime, you might want to download and install http://sqlitebrowser.org

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

PS.  Their free account provides 150,000 tile requests per month.  I was at 69 with a single full-screen view at zoom 14.  Seems like it might work for an individual user provided that you're not like me bouncing all over the planet when I notice an interesting APRS station.

On 6/1/2019 11:29 AM, 'Fred Hillhouse' fmhillhouse@... [aprsisce] wrote:


If a link has HTTPS rather than HTTP, then APRSIS32 will not pull tiles. I suspect this is the case for Thunderforest.

 

You should be able to put together the entire link and paste it into a browser.

tile.thunderforest.com/transport/apikey=apikey/9/143/185.png

tile.thunderforest.com/transport/apikey=apikey/9/143/185.png

 

Once you are successful with a returned image, look at the beginning of the link for HTTP or HTTPS.

If a link has HTTPS rather than HTTP, then APRSIS32 will not pull tiles. I suspect this is the case for Thunderforest.

 

APRSIS32 should have a TileServer entry that looks like this:

<Server>tile.thunderforest.com</Server>

<URLPrefix>/transport/apikey=apikey/%z/%x/%y.png</URLPrefix>

Or maybe:

<Server>tile.thunderforest.com</Server>

<URLPrefix>/transport/apikey=apikey/</URLPrefix>

 

As Lynn commented, “Server” should always be just the server.

 

I hope this helps!

 

Best regards,

Fred N7FMH

 

 

From: aprsisce@... [mailto:aprsisce@...]
Sent: Friday, May 31, 2019 8:42 PM
To: aprsisce@...
Subject: Re: [aprsisce] Re: OSM Tile servers

 

 

Try specifying a server of just tile.thunderforest.com and a URLPrefix of /transport/apikey=..../%z/%y/%x.png or whatever the URL should look like.  With what you have now, I'm sure the DNS translation of the Server is failing.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

On 5/31/2019 12:04 PM, hamradiojunk@... [aprsisce] wrote:

I am interested in the thunderforest server, but I haven't been able to get it to fetch tiles.  Here is the section of the XML file.  My APIKey has been blanked.  I would appreciate any help to get this working.

 

TIA

Dave VE3SLM

 

<!--TileServer[2]-->
<TileServer Name="ThunderForest">
<Server>tile.thunderforest.com/transport/apikey=apikeyapikeyapikeyapikeyapikeyap</Server>
<Port>80</Port>
<URLPrefix>/</URLPrefix>
<SupportsStatus>1</SupportsStatus>
<Path>G:/Mapping/OSM Tiles/ThunderForest/</Path>
<MBTiles></MBTiles>
<PurgeEnabled>0</PurgeEnabled>
<RetainDays>0</RetainDays>
<RetainZoom>20</RetainZoom>
<MinServerZoom>0</MinServerZoom>
<MaxServerZoom>20</MaxServerZoom>
<RevisionHours>0</RevisionHours>
</TileServer>
<!--TileServer[2]-->


Virus-free. www.avast.com


__._,_.___

Posted by: "Fred Hillhouse" <fmhillhouse@...>



__,_._,___

SARTopo Maps

Lynn Deffenbaugh
 

I don't see any information on the SARTopo/CalTopo web site describing direct access to their map tile layers, but if anyone knows of the proper URL, the new development version of APRSIS32 may be able to access it.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

On 2/3/2019 6:27 PM, Bill Hancock billwa4mjm@... [aprsisce] wrote:


Has anyone tried to use the SARTopo maps yet?  If so, I would appreciate knowing how you accomplish that.  Tnx, WA4MJM


-----Original Message-----
From: n7jzt@... [aprsisce] <aprsisce@...>
To: aprsisce <aprsisce@...>
Sent: Sun, Feb 3, 2019 12:46 pm
Subject: [aprsisce] APRSISCE MBTiles (yet?)



Has MBTiles support been added to APRSISCE (yet?).

I think this was on the To-Do list, but Round-Tuits are probably in short supply. 

I have created specialized tile sets for my area and they have worked fine for several years in APRSISCE.
I have also created MBTiles files for these tile sets, and they work fine on Android using APRSISMO and mapping applications (ORUX).  (just moved to a Nexus3 and having issues selecting files in the directories that are listed ... but working on that)

So, looking forward to reducing maintenance issues by using one set of files on Windoze and Android. 
We are also replacing older laptops in our rescue vehicles, so map and overlay configurations are the hot topic

(Also thinking of KML/KMZ files instead of or in addition to GPX : the KMZ contain attributes, in GPX they must be individually configured : yeah we are copying XML from older to newer files, and we have a long list)

Mykle N7JZT
It's warm in Tucson





__._,_.___

Posted by: Bill Hancock <billwa4mjm@...>



__,_._,___