Hello,
How can I add the map of Belgium or Benelux ?
It seems no template exists
Kinds regards,
Joël.
Hello,
How can I add the map of Belgium or Benelux ?
It seems no template exists
Kinds regards,
Joël.
You must to do it yourself, see here
The map can be made by the Blitzortung map generator or find in internet,it must be rectangular type or mercator projection,you must to know all the coordinates (Nord,sud,east and west).
OK, thanks, the result is here :
And the code :
$_BO['mapimg'][103] = $_BO['tpl_imgmap_default'];
$_BO['mapimg'][103]['name'] = 'Belgium';
$_BO['mapimg'][103]['menu'] = true;
$_BO['mapimg'][103]['archive'] = true;
$_BO['mapimg'][103]['file'] = 'map-belgium-64.png';
$_BO['mapimg'][103]['coord'] = array(51.95, 7, 48.72, 1.95);
$_BO['mapimg'][103]['show_station'] = array(5, 155,80,155,true);
$_BO['mapimg'][103]['cities'][1] = $_BO['points']['whitered1'];
$_BO['mapimg'][103]['cities'][2] = $_BO['points']['whitered1'];
$_BO['mapimg'][103]['cities'][5] = $_BO['points']['whitered1'];
$_BO['mapimg'][103]['cities'][6] = $_BO['points']['whitered1'];
$_BO['mapimg'][103]['stations']['A'] = $_BO['points']['stations_dots_active'];
$_BO['mapimg'][103]['stations']['O'] = $_BO['points']['stations_dots_offline'];
$_BO['mapimg'][103]['stations']['V'] = $_BO['points']['stations_dots_nogps'];
$_BO['mapimg'][103]['stations']['-'] = $_BO['points']['stations_inactive'];
Can someone confirm this code is right ?
The stations are not displayed, did I do something wrong ?
Thanks in advance
Joël.
I tried a map of belgium too (see other thread). But I like yours too. Is it ok that I use it?
I tried a map of belgium too (see other thread). But I like yours too. Is it ok that I use it?
Yes, of course.
The png is here
If you want the main cities to be displayed, you have to adapt the cities.txt file a little bit : for each city to be displayed, replace the last character (0) by 1
I suggest the head of provinces, plus Tournai and Charleroi because province of Hainaut is very large.
Joel,
The stations are displayed, but they are just a "dot" which is a very small pixel. This is good for the Europe map. For the Belgium map I would use this:
$_BO['mapimg']['belgium']['stations']['A'] = $_BO['points']['stations_active'];
$_BO['mapimg']['belgium']['stations']['O'] = $_BO['points']['stations_offline'];
$_BO['mapimg']['belgium']['stations']['V'] = $_BO['points']['stations_nogps'];
$_BO['mapimg']['belgium']['stations']['-'] = $_BO['points']['stations_inactive'];
(so stations_active instead of stations_dots_active).
Joel!
This is great stuff, thanks for sharing! I placed the code into my config.php but how do i make the map visible? i'm getting an error 'couldn't find the map'
Joel,
The stations are displayed, but they are just a "dot" which is a very small pixel. This is good for the Europe map. For the Belgium map I would use this:
$_BO['mapimg']['belgium']['stations']['A'] = $_BO['points']['stations_active'];
$_BO['mapimg']['belgium']['stations']['O'] = $_BO['points']['stations_offline'];
$_BO['mapimg']['belgium']['stations']['V'] = $_BO['points']['stations_nogps'];
$_BO['mapimg']['belgium']['stations']['-'] = $_BO['points']['stations_inactive'];(so stations_active instead of stations_dots_active).
Great, thank you
en bedankt ![]()
Joel!
This is great stuff, thanks for sharing! I placed the code into my config.php but how do i make the map visible? i'm getting an error 'couldn't find the map'
Did you put the map into the "images" subfolder of the myblitzortung folder ?
Edit : if you put the map into the maps_europe folder, you must adapt the folloging line : $_BO['mapimg'][103]['file'] = 'map-belgium-64.png';
like this : $_BO['mapimg'][103]['file'] = 'maps_europe/map-belgium-64.png';
Hi Joel,
That worked! I put the PNG image into the folder images and now i see Belgium :). Can u give me some tips for my config.php? When i have much visitors on , my server host complains about the high server load of the Blitzortung script
Het mag ook in het Nederlands via een privé ![]()
Nicolas
I'm afraid I cannot help very much because I'm a newbie too.
My provider is OVH.com in France. With the PRO hosting solution you receive unlimited traffic and a 500 MB database
Thanks Joel for the information!
I'd like to change the images of the strikes because they are very smal on the map right now. Could u help me with editing it?
Example:

Regards,
Nicolas
© Wetter-Board 2004-2026