Владимир Калачихин
Владимир Калачихин
SKSignal K
Created by AdrianP on 1/21/2025 in #server
Might be worth including this in the
Not at all. But message 14 is part of AIS-SART messages and it could generate a alert. Or it might not.
1 replies
SKSignal K
Created by a1_ma. on 1/18/2025 in #questions
Sending test data to NMEA0183
13 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
No, don't do it. It should work.
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
The mapsources/NAIS.php received some changes some time ago, download a fresh one. Or edit existing. As I recall, it's need to specify the http version:
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"User-Agent: $userAgent\r\n" . "$RequestHead\r\n",
//'proxy'=>'tcp://127.0.0.1:8118',
'timeout' => 60,
'request_fulluri'=>TRUE,
'protocol_version'=>1.1
)
);
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"User-Agent: $userAgent\r\n" . "$RequestHead\r\n",
//'proxy'=>'tcp://127.0.0.1:8118',
'timeout' => 60,
'request_fulluri'=>TRUE,
'protocol_version'=>1.1
)
);
To make it work through the tor, you need to uncomment from //'proxy'=>'tcp://127.0.0.1:8118' to 'proxy'=>'tcp://127.0.0.1:8118' But it should work as it does.
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
No description
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
ok
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
df -hi ?
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Sorry, my mistake. Correctly:
$ php tilefromsource.php -z17 -x68261 -y39474 -rC-MAP_raster1 --maxTry=15 --checkonly

Get tile from: https://tiles.c-map.com/wmts/maxnp_int1_hrb/webmercator/17/68261/39474.png
checkonly mode: no save any files

The tile is not true, must be e28727c9, recieved 50a78eb7
$ php tilefromsource.php -z17 -x68261 -y39474 -rC-MAP_raster1 --maxTry=15 --checkonly

Get tile from: https://tiles.c-map.com/wmts/maxnp_int1_hrb/webmercator/17/68261/39474.png
checkonly mode: no save any files

The tile is not true, must be e28727c9, recieved 50a78eb7
So the tile present.
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
You can check the availability of any tile:
$ php tilefromsource.php -z17-x68261 -y39474 -rC-MAP_raster1 --maxTry=15 --checkonly

Get tile from: https://tiles.c-map.com/wmts/maxnp_int1_hrb/webmercator/17/0/39474.png
tilefromsource.php getTile: tile in trash list
checkonly mode: no save any files
Recieved a bad tile
tilefromsource.php getTile: tile in trash list
$ php tilefromsource.php -z17-x68261 -y39474 -rC-MAP_raster1 --maxTry=15 --checkonly

Get tile from: https://tiles.c-map.com/wmts/maxnp_int1_hrb/webmercator/17/0/39474.png
tilefromsource.php getTile: tile in trash list
checkonly mode: no save any files
Recieved a bad tile
tilefromsource.php getTile: tile in trash list
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
In your launch the tilefromsource.php above, a certain picture was successfully obtained. Just not the one listed in mapsources/C-MAP_raster1.php On the file mapsources/C-MAP_raster1.php in the string "$trueTile=" replace 7e8245aa to 4ae8db71 and run
$ php tilefromsource.php -z15 -x1896 -y9316 -rC-MAP_raster1 --checkonly
$ php tilefromsource.php -z15 -x1896 -y9316 -rC-MAP_raster1 --checkonly
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
It's ok. Just open "Get tile from:" bu right click.
230 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
You say about the C-MAP_raster1 map? I don't see any problems on this moment. To check map availability run the tilefromsource.php with --checkonly option. For example:
$ php tilefromsource.php -z15 -x1896 -y9316 -rC-MAP_raster1 --checkonly
$ php tilefromsource.php -z15 -x1896 -y9316 -rC-MAP_raster1 --checkonly
To automate this process, there is checkSources.php with brief doc inside. In Russian 🙂
230 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
you sound like we have been breaking backwards compatibility all the time.
😄
have discussion
Personally, I don't think the SignalK data model is a good one. And v.2 is worse than v.1. But for some reason you have accepted this data model. And I'm going to use your model for as long as it possible. The important thing is to achieve stability.
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
so is "battery voltage too high" an alarm or a notification?
The most important thing is that you arrive to conclusion, and do not require me to rewrite my plugins every six months.
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
But then you could maybe do cool things like if the vessel is on autopilot automatically heaving to when somebody goes over board.
A good way to run on the rocks.
39 replies