viz1090/map_conversion
nathan 414d8aed65 changed doubles to float. wrote out mapdata.bin and read in, this is still hacky, but compiles faster now
Former-commit-id: 59f44288ca1838e89e1f8c7463e88e91d5252c4b
Former-commit-id: 8894cdb766d205bf630d4de44701894a53b95b12
2020-02-26 22:44:30 -08:00
..
41.svg.REMOVED.git-id svg conversion in python, full 48 us states 2020-01-21 23:24:29 -08:00
a.out.REMOVED.git-id changed doubles to float. wrote out mapdata.bin and read in, this is still hacky, but compiles faster now 2020-02-26 22:44:30 -08:00
all.svg.REMOVED.git-id svg conversion in python, full 48 us states 2020-01-21 23:24:29 -08:00
allstates.c.REMOVED.git-id changed doubles to float. wrote out mapdata.bin and read in, this is still hacky, but compiles faster now 2020-02-26 22:44:30 -08:00
data.REMOVED.git-id changed doubles to float. wrote out mapdata.bin and read in, this is still hacky, but compiles faster now 2020-02-26 22:44:30 -08:00
mapconverter.py svg conversion in python, full 48 us states 2020-01-21 23:24:29 -08:00
README.md changed doubles to float. wrote out mapdata.bin and read in, this is still hacky, but compiles faster now 2020-02-26 22:44:30 -08:00
write2bin.c changed doubles to float. wrote out mapdata.bin and read in, this is still hacky, but compiles faster now 2020-02-26 22:44:30 -08:00

Very hacky map pipeline:

using latlon maps from sourced from http://www.mccurley.org/svg/

get all.svg

run mapconverted.py

at this point you have to manually format into a c array and get the length.

now compile write2bin gcc write2bin.c allstates.c -o write2bin

and run write2bin

this will produce mapdata.bin that the main program reads in

** this should be one python that generates the binary file **

** then it should be grabbed from mapbox or something **