Code Monkey home page Code Monkey logo

Comments (7)

derrickmehaffy avatar derrickmehaffy commented on August 29, 2024 1

https://elitebgs.app/api/eddb

from canonned3d-map.

Docjones avatar Docjones commented on August 29, 2024

I second this :)

Using eddb and downloading the station list together with the systems database, a csv file with systems containing a station could be created.

I am currently trying to get access to both files in certain formats to compile such a list. However - the owner of eddb already stated, that a JSON RESTApi would be unlikely :(

from canonned3d-map.

derrickmehaffy avatar derrickmehaffy commented on August 29, 2024

We would need to add them to our API. If you know of where I can query this data (EDDB does have an API it just doesn't contain this data).

Likewise in order for me to support it, I would need to know how to grab this data from the journal for our plugin.

from canonned3d-map.

Docjones avatar Docjones commented on August 29, 2024

I am in contact with themroc (owner of eddb) in regards with this. I will keep you informed.

from canonned3d-map.

Docjones avatar Docjones commented on August 29, 2024

Hmmm - looks promising - however, i can't seem to GET all station entries... this would mean:

  1. iterate over all stations
    1.1 for each station, fetch the systems coordinates
  2. compile a list with unique systems

from canonned3d-map.

NoFoolLikeOne avatar NoFoolLikeOne commented on August 29, 2024

EDSM Has a nightly stations dump

https://www.edsm.net/en/nightly-dumps

Its only 5.14MB does that help?

from canonned3d-map.

Docjones avatar Docjones commented on August 29, 2024

I have written a short springboot program to query the rest-api.

here is the (excerped) result:

2020-03-13 15:56:49.422  INFO 11456 --- [  restartedMain] n.r.e.s.StationlistApplication           : Found System {108 Herculis}
System: 1 G. Caeli at (80.90625/-83.53125/-30.8125)
System: 1 Geminorum at (19.78125/3.5625/-153.8125)
System: 1 Hydrae at (60.90625/28.53125/-54.90625)
System: 1 i Centauri at (38.46875/29.78125/40.46875)
System: 1 Kappa Cygni at (-117.75/37.78125/11.1875)
System: 10 Arietis at (-79.09375/-88.21875/-105.875)
System: 10 Canum Venaticorum at (-9.375/55.4375/-7.0)
System: 10 G. Canis Majoris at (96.5625/-38.28125/-80.3125)
System: 10 Iota Cygni at (-116.375/32.03125/12.625)
System: 10 Kappa Pegasi at (-102.40625/-39.75/19.9375)
System: 10 Tauri at (3.25/-29.9375/-34.1875)
System: 10 Theta Piscium at (-93.59375/-115.375/0.15625)
System: 101 Tauri at (12.0625/-35.375/-127.78125)
System: 108 Herculis at (-146.34375/59.1875/93.0)

(Thats a list of systems with the first 50 stations)

How would such a program fit into the canonn runtime architecture?

I am looking at the nightly dumps to reduce the load on eddb...

from canonned3d-map.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.