APRS Map (embeded) on my Website always centers Helsinki

555 views
Skip to first unread message

Steffan Jeschek

unread,
Apr 7, 2016, 1:37:57 PM4/7/16
to aprs.fi
Hi folks,

first of all thank you very much for this great service! I love it!

I did embed a map on our internal website for members to see each others location.

I dunno when this happens but right now the map always shows Helsinki in center when openeing the page.

The Code i use is:

<script type="text/javascript">
he_track
= 'DO6DAD,DO6DAD-5,DO6DAD-7,DO6DAD-9,DO2MRC,DO2MRC-7,DO2MRC-13,DL2FHM-7,DL2FHM-9,DL1MNU-9,DB0LM,';
// latitude and longitude of Miami, Florida
// he_lat = 25.696;
// he_lng = -80.174;
he_width
= 640; // The width of the map in pixels (defaults to 550 pixels)
he_height
= 400; // The height of the map in pixels (defaults to 350 pixels)
he_zoom
= 10; // zoom out a bit
he_maptype
= 'osm'; // hybrid map
// select what to show
he_hide_tcp
= 0; // do not show Internet stations
he_show_aprs
= 'w'; // show APRS stations with waypoints
he_show_aprs_w
= ''; // do not show APRS weather stations
he_show_aprs_i
= 'p'; // only show the current position of items without track
he_show_ais
= ''; // do not show AIS ships
he_show_others
= 0;
</script>
<script src="http://aprs.fi/js/embed.js" type="text/javascript">
</script>

<hr />

and it worked very well till february, when I added the latest members (he_track).

The code is embedded in a wordpress blog - i guess the autoformatting makes some errors, but I do not find it.

Anybody an Idea?

73 de Steffan, DO6DAD

Shawn Stoddard

unread,
Apr 7, 2016, 3:47:40 PM4/7/16
to 'Steffan Jeschek' via aprs.fi
Does the trailing comma cause any pain?
--
You received this message because you are subscribed to the Google Groups "aprs.fi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aprsfi+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Heikki Hannikainen

unread,
Apr 12, 2016, 6:49:47 AM4/12/16
to 'Steffan Jeschek' via aprs.fi

Hi,

On Tue, 5 Apr 2016, 'Steffan Jeschek' via aprs.fi wrote:

> first of all thank you very much for this great service! I love it!

Thanks, I'm glad you like it!

> I did embed a map on our internal website for members to see each others location.
>
> I dunno when this happens but right now the map always shows Helsinki in center when openeing the page.
>
> The Code i use is:
>
> <script type="text/javascript">
> he_track = 'DO6DAD,DO6DAD-5,DO6DAD-7,DO6DAD-9,DO2MRC,DO2MRC-7,DO2MRC-13,DL2FHM-7,DL2FHM-9,DL1MNU-9,DB0LM,';

It seems like the embedded map feature has a bug: if one of those
callsigns is not found, the map loading fails. At least DO2MRC-13 is not
present in the database at all.

Removing DO2MRC-13 will help, and I wrote down a note about the bug, will
fix it a bit later.

- Hessu

Steffan Jeschek

unread,
May 18, 2016, 4:00:24 AM5/18/16
to aprs.fi
Am Dienstag, 12. April 2016 12:49:47 UTC+2 schrieb Heikki Hannikainen:


It seems like the embedded map feature has a bug: if one of those
callsigns is not found, the map loading fails. At least DO2MRC-13 is not
present in the database at all.

Removing DO2MRC-13 will help, and I wrote down a note about the bug, will
fix it a bit later.

   - Hessu


Hi Hessu,

deleting DO2MRC-13 in the Code does not help.
And on my private Site: http://www.do6dad.de/logbuch/ it doesn`t work too.
There I use
he_track = 'DO6DAD,DO6DAD-5,DO6DAD-7,DO6DAD-9';

And what what is strange too: my DO6DAD-7 is listed 2 times on aprs.fi.

Steffan

Heikki Hannikainen

unread,
May 27, 2016, 5:53:01 PM5/27/16
to 'Steffan Jeschek' via aprs.fi
On Wed, 18 May 2016, 'Steffan Jeschek' via aprs.fi wrote:

> Am Dienstag, 12. April 2016 12:49:47 UTC+2 schrieb Heikki Hannikainen:
>
> It seems like the embedded map feature has a bug: if one of those
> callsigns is not found, the map loading fails. At least DO2MRC-13 is not
> present in the database at all.
>
> deleting DO2MRC-13 in the Code does not help.
> And on my private Site: http://www.do6dad.de/logbuch/ it doesn`t work too.
> There I use he_track = 'DO6DAD,DO6DAD-5,DO6DAD-7,DO6DAD-9';

Pasting DO6DAD,DO6DAD-5,DO6DAD-7,DO6DAD-9 to the search field on
http://aprs.fi/ reveals the problem: it brings up a pop-up window asking
which stations you want to show. DO6DAD-7 is not unique (there's both an
APRS station, and an iOS app "web station" with the same name).

If you want to show the APRS station DO6DAD-7, enter "a/DO6DAD-7" (like in
http://aprs.fi/info/a/DO6DAD-7, "a/" for APRS), and if you want to show
the iOS app station, enter "w/1621061678" (like in
http://aprs.fi/info/w/1621061678). Those unique identifiers can be looked
up on the web site by looking up DO6DAD-7 to get the disambiguation view,
and then checking where the links for each station lead to
(http://aprs.fi/info/DO6DAD-7).

> And what what is strange too: my DO6DAD-7 is listed 2 times on aprs.fi.

Right, you have an APRS station named DO6DAD-7 and then another using the
same name from the iOS app. Those two stations are different entities, and
their data is not mixed up, for two reasons:

- if someone else (not you) enters data using the iOS app, using your
callsign, it does not mix up with and mess up your APRS data or your iOS
app data using the same callsign

- so that data entered using the iOS app, or web site, can be deleted
safely at any time by the user which sent it, without deleting APRS data

- Hessu

Steffan Jeschek

unread,
Oct 11, 2016, 5:42:29 AM10/11/16
to aprs.fi
Hi Hessu,

it is still the same behavior:

http://www.do6dad.de/logbuch/

[code]
<script type="text/javascript">
he_track = 'DO6DAD,DO6DAD-9,a/DO6DAD-7,w/1621061678';

// latitude and longitude of Miami, Florida
// he_lat = 25.696;
// he_lng = -80.174;
he_width = 640; // The width of the map in pixels (defaults to 550 pixels)
he_height = 400; // The height of the map in pixels (defaults to 350 pixels)
he_zoom = 10; // zoom out a bit
he_maptype = 'h'; // hybrid map

// select what to show
he_hide_tcp = 0; // do not show Internet stations
he_show_aprs = 'w'; // show APRS stations with waypoints
he_show_aprs_w = ''; // do not show APRS weather stations
he_show_aprs_i = 'p'; // only show the current position of items without track
he_show_ais = ''; // do not show AIS ships
he_show_others = 1;

</script>
<script src="http://aprs.fi/js/embed.js" type="text/javascript">

</script>
[/code]

is my current code.

The first aprs map (the one with osm view) is used by a "plugin" for wordpress. this map worked yesterday, but today it has the same behavior :-(

greetings Steffan

Heikki Hannikainen

unread,
Oct 11, 2016, 5:45:55 AM10/11/16
to 'Steffan Jeschek' via aprs.fi
On Tue, 11 Oct 2016, 'Steffan Jeschek' via aprs.fi wrote:

> Hi Hessu,
>
> it is still the same behavior:
>
> http://www.do6dad.de/logbuch/
>
> [code]
> <script type="text/javascript">
> he_track = 'DO6DAD,DO6DAD-9,a/DO6DAD-7,w/1621061678';

This is, again, the same thing that happened earlier: DO6DAD does not
point to a single station, but there are two stations using that name:

http://aprs.fi/#!call=DO6DAD

The previous advice applies again:

> Pasting DO6DAD,DO6DAD-5,DO6DAD-7,DO6DAD-9 to the search field on
> http://aprs.fi/ reveals the problem: it brings up a pop-up window asking
> which stations you want to show. DO6DAD-7 is not unique (there's both an
> APRS station, and an iOS app "web station" with the same name).
>
> If you want to show the APRS station DO6DAD-7, enter "a/DO6DAD-7" (like in
> http://aprs.fi/info/a/DO6DAD-7, "a/" for APRS), and if you want to show
> the iOS app station, enter "w/1621061678" (like in
> http://aprs.fi/info/w/1621061678). Those unique identifiers can be looked
> up on the web site by looking up DO6DAD-7 to get the disambiguation view,
> and then checking where the links for each station lead to
> (http://aprs.fi/info/DO6DAD-7).

- Hessu

Steffan Jeschek

unread,
Jul 20, 2018, 6:29:37 AM7/20/18
to apr...@googlegroups.com
Hello Hessu,

I just heard about the google maps stuff and I would love to help!
I have a root Server running at Hetzner.de

I think I could set up a OSM-Tile-Server so that a part of the maps could be loaded from this server.

Do you think this could help you?

Kind regards
Steffan

DO6DAD

Heikki Hannikainen

unread,
Jul 20, 2018, 7:11:06 AM7/20/18
to 'Steffan Jeschek' via aprs.fi

Steffan,

When replying, please reply to a relevant topic (there's a thread for this
subject), or start a new one instead of replying to a message of another
topic; that'll keep the threading useful in the group. Thanks!

On Fri, 20 Jul 2018, 'Steffan Jeschek' via aprs.fi wrote:

> I think I could set up a OSM-Tile-Server so that a part of the maps could be loaded from this server.
>
> Do you think this could help you?

Yes, if people can run tile servers, those are quite useful indeed. The
process is described here:

https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/

Note that the hardware requirements are substantial, 500 GB of SSD and
some 32GB of RAM, and a day or two of crunching time, just to *import* the
OSM database, before generating and caching any tiles. It'll also take
some effort to upgrade it, monitor the automatic updates of the content,
and so on.

I'd generally prefer to use tile servers / services which are run by a
team of people, or an organisation, as opposed to individual servers which
are run by a single person. In many ham services (APRS-IS services for
example) some servers are sometimes offline for quite some time when they
break during the holiday of an individual.

On Twitter someone suggested running a tile service, consisting of
multiple servers, for amateur radio use, and having a team of people to
manage that (many people having access to the set of servers would help
availability). That might make sense.

- Hessu

Reply all
Reply to author
Forward
0 new messages