Ysurac / FlightAirMap

Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
https://www.flightairmap.com/
GNU Affero General Public License v3.0
522 stars 158 forks source link

PiroSail... #369

Closed tonkepen100 closed 6 years ago

tonkepen100 commented 6 years ago

After conversations with my friend Ycarus. I open this thread for the PiroSail Away operation.

Thank you for your effort, and you know that you will have your reward, for your work, that has not been little throughout this project.

I know that for years, everything we have asked for has come true.

Thanks Ysu ...

tonkepen100 commented 6 years ago

Ysurac, I understand, that 3D, still does not work? Because it keeps loading without stopping, but I do not see the positions of the boats.

I say it in case I'm doing something wrong.

Thank you.

Ysurac commented 6 years ago

Should be fixed in latest (big) commit. You should increase your live map refresh ($globalMapRefresh), this seems to be 15, but data are not refreshed so often, so you can put at least 30 or 60.

tonkepen100 commented 6 years ago

Agreed, thank you very much, I saw yesterday, that the boat types are already out. Sensational, sensational.

tonkepen100 commented 6 years ago

oJJJ, With this last update, I put the address /install/index.php and it tells me that it can not find the page.

I get it in white, what could it be ?.

Ysurac commented 6 years ago

You use really latest commit ? I fixed some issues.

tonkepen100 commented 6 years ago

If I went up all over again, and now if he leaves me, what I see now is that no ship comes out, stays at 0, does not detect them. and the crons, it seems they're fine

captura

tonkepen100 commented 6 years ago

It already works, false alarm, sorry and your ...

Ysurac commented 6 years ago

Fixed in latest commit.

Ysurac commented 6 years ago

I make many changes in latest commit, but you will have to truncate all marine tables. This will remove past trace, sorry about that.

TRUNCATE TABLE marine_live; TRUNCATE TABLE marine_output; TRUNCATE TABLE marine_archive; TRUNCATE TABLE marine_archive_output;
tonkepen100 commented 6 years ago

Well I do first delete the tables, and then upload it, or the other way round.

Nothing happens, I understand perfectly, the question is that it is being sensational, Ycarus.

Ysurac commented 6 years ago

You should upload it and then truncate the table with the SQL command above.

Ysurac commented 6 years ago

It's added. You should truncate again tables because I think that the daemon was working the first time, so you have data 2 times.

tonkepen100 commented 6 years ago

Go, verry thanks Ysu..

Ysurac commented 6 years ago
  1. Not possible. I don't have the rights on the pics. This can be pics in public domain from somewhere else but not from the game.
  2. I don't thinks it's really needed, maybe using an option for unit like speed, altitude,...
  3. Strange. We always ident a boat by his name, not by the captain name. Can be done for sailaway...
  4. maybe...
  5. this will be added in the infobox
  6. maybe later
tonkepen100 commented 6 years ago

Ok then on point 1, we can look for 5 photos of open right, or that give me permission to use those 5 photographs.

Or even if you tell me what size, I'll give you 5 photos, with a logo of each boat.

Ysurac commented 6 years ago

I will add an option to add the pics in the settings

Ysurac commented 6 years ago

It's more a layer function to display this. I also don't have an "elevation"/depth source for sea. I use SRTM htg files for elevation, but this seems to be only available for ground.

tonkepen100 commented 6 years ago

I'm going to inform me, where they take it from, sailaway ..

Ysurac commented 6 years ago

I will add custom icons for each boat but not custom colors.

tonkepen100 commented 6 years ago

Oppss, ok ok, thanks In 2D?

Ysurac commented 6 years ago

Yes. I need to find 3d models for 3d...

For pics you can add this, for example, in your require/settings.php (you can change pics and copyrights):

$globalMarineImagePics = array('type' => array('50\' Performance Cruiser' => array('image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CS_27_sailboat_Gryphon.jpg/1024px-CS_27_sailboat_Gryphon.jpg','image_copyright' => 'Ahunt'),'Mini Transat' => array('image' => 'https://upload.wikimedia.org/wikipedia/commons/8/82/Mini_transat_2007.JPG','image_copyright' => 'Butterfly voyages'),'52\' Cruising Cat' => array('image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Boyer_Mk_IV_A_class_catamaran.jpg/640px-Boyer_Mk_IV_A_class_catamaran.jpg'),'Sailaway Cruiser 38' => array('image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Sagitta-Racing2002_8mR_world_cup.jpg/550px-Sagitta-Racing2002_8mR_world_cup.jpg','image_copyright' => 'Tajna Wesolowski'),'Caribbean Rose' => array('image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Tanzer_26_sailboat_2612.jpg/640px-Tanzer_26_sailboat_2612.jpg', 'image_copyright' => 'Ahunt')));
tonkepen100 commented 6 years ago

But what is this?. So hard is it that I believe, 5 logos, and they can be put on?

Ysurac commented 6 years ago

It's some sails pics. It's an example. You can change url as you want.

tonkepen100 commented 6 years ago

I put 5 images and have to put all that, I swear I get into college, to learn computer science.

Ysurac commented 6 years ago

I didn't add configuration in the install script yet. It's only an array with pics in it.

tonkepen100 commented 6 years ago

Ok, do not worry, tomorrow I go to the university, to study how to put 5 logos created by me.

And what of copirright noses, if they are mine.

tonkepen100 commented 6 years ago

ok let it, what I see is hard to do

tonkepen100 commented 6 years ago

5 logos, created by me. do not humble me, that in two minutes they get man

tonkepen100 commented 6 years ago

But what wikipedia, or nadam if I believe them, myself, and do not have to define copirrigght or anything, are 5 logos, nothing more.

Ysurac commented 6 years ago

If you don't want to add pics, don't add them. I didn't add it in the install script yet, it's all. Wikipedia is not copyright free...

tonkepen100 commented 6 years ago

But what rights, if I tell you that the 5 logos, I believe them, me.

I do not understand why I have to put all that code, that neither put it, to be able to put 5 logos made by me.

That's what I do not understand,

Ysurac commented 6 years ago

It's an example... I don't have your logos...

tonkepen100 commented 6 years ago

Ok, but a moment we talk about the 2d logos, which are in the post, or we are talking about 3D. is what I do not understand, sorry.

Ysurac commented 6 years ago

I speak about boat pics that you see in infobox and list.

tonkepen100 commented 6 years ago

No problem tomorrow I have them done, tell me what measures and what format. please

Ysurac commented 6 years ago

80x80 png same color as images/aircrafts/new/*.png

But I will make them, I take some pics on internet of sails saw from the sky, I only need to make them logos.

tonkepen100 commented 6 years ago

By the way, within two days you have already completed, the Spanish language in your tracker, 100 per 100 translated.

tonkepen100 commented 6 years ago

Okay, and now comes the final question, for the issue of the images of the boats ...

In the event that Sailaway gives us permission to use the 5 captures, of each one of its boats, could they be put?

Naturally putting his copyrright, and all that.

Thank you.

Ysurac commented 6 years ago

Sure, without problem if they put it as public domain or give the right to link to them somewhere on their website with copyright.

Ysurac commented 6 years ago

I can add the description of the race, example: The Vendée Globe is a race that consists of sailing around the world on a solo basis, without stops and without assistance.\r\n\r\nAprox.. From 78 to 128 Days.\r\n\r\nREGISTRATION : pirosail.ovh\r\n\r\nContact: sail@piro.biz, Steam or Teamspeak3 (ts.piro.biz).\r\n\r\n\r\n\nby Tonique [VDG]. but difficult to add something else...

If you make an other page, you can add a link to show only a race like: http://pirosail.ovh/?raceid=7436 This only filter race on the map page for now.

Ysurac commented 6 years ago

I can add it on the race page, the example I give is an information I get from sailaway data.

I will not add a custom editor or something like that in FlightAirmap. Because it's lot of code (would need an editor, users,...), only usable for you if I want that clean,... I try to make all code usable for any other simulator (and real boat when possible).

tonkepen100 commented 6 years ago

I understand, perfect, it would be great to be able to add, at least that information.

And even, to be able to put an external link under said information, in case you want to go to another website.

Would it be possible?

Ysurac commented 6 years ago

Should be possible with some changes. I will try to find a good way to add an option for that.

tonkepen100 commented 6 years ago

Thank you very much Ysu, really Thank you.

Now I send you another challenge, which I think is important.

Ysurac commented 6 years ago

What would be cool is to find a way to get marker position from sailaway... I will make source_location logo pics really usable.

Ysurac commented 6 years ago

This seems to be possible to get more info using a login and pass: https://github.com/dakk/sailaway-cli I will try to create a working account (never received the mail for the last test...)

Ysurac commented 6 years ago

hmmm account on sailaway website doesn't give access to anything...

tonkepen100 commented 6 years ago

You need an account, you?

If you need it, I give you one.

tonkepen100 commented 6 years ago

Wait, I'm going to talk to these resellers, who are always the same.

And they are already touching me cojon ,,,,,

Ysurac commented 6 years ago

Yes I see that... Strange