Jamie Vital
a2a73ade25
Optimize map overlay caching
2024-01-03 22:11:59 -05:00
Jamie Vital
be0080c692
Reduce map overlay colors to 8-bit
2024-01-02 19:48:25 -05:00
Aang23
599084d748
Fix stray lines on latlon
2023-10-18 14:20:08 +02:00
Aang23
e2c8a20909
Fix a stupid 2 years old bug
2023-10-17 18:34:35 +02:00
Jamie Vital
507424075d
Clean up some viewer functionality
2023-10-16 11:14:21 -04:00
Aang23
720a823b38
Slightly less precise latlon grid
2023-10-15 21:46:56 +02:00
Aang23
c137d4d593
Add lat/lon grid option
2023-10-14 22:25:43 +02:00
baskiton
077437e9c3
Add configuring map/cities overlay to result rgb-composites.
...
Result images will be saved to a separate file with "_map" suffix instead of the main image.
Configure options:
| Name | Type | Default | Description |
|----------------|---------|-------------|-----------------------|
| map_overlay | Boolean | `false` | Draw countries border |
| cities_overlay | Mapped | `NONE` | Draw cities |
`cities_overlay`:
| Name | Type | Default | Description |
|----------------|---------|-------------|----------------------------------------------------------------------------|
| color | Array | `[0, 1, 0]` | RGB float-array (0.0 - 1.0) |
| font_size | Number | `50` | Cities font size |
| type | String | `capitals` | Cities type. See below |
| scale_rank | Number | `3` | **Only for `all` type**. 0-10. The more, the smaller cities will be drawn. |
Cities `type` is one of:
* `capitals` - Draw only Capitals
* `rcapitals` - Draw Capitals and Administrative centers
* `all` - Draw all cities by Scale Rank
Example:
```json
...
"map_overlay": true,
"cities_overlay": {
"color": [0.85, 1, 0],
"font_size": 24,
"type": "rcapitals",
"scale_rank": 6
}
...
```
2023-09-05 02:40:13 +07:00
baskiton
3543b54f6f
Choose other cities types/size instead Capitals only, in Viewer only.
...
* Capital Only: Draw only Capitals
* Regional Capital Also: Draw Capitals and Administrative centers
* All (by Scale Rank): Draw all cities by Scale Rank. The higher the "Scale Rank", the smaller cities will be drawn.
2023-08-26 16:44:25 +07:00
ZbychuButItWasTaken
c5b88751c1
finnish up the font
2023-03-18 23:49:29 +01:00
Aang23
3e6fb93ede
Goodbye CImg, replace by own Image library. Thanks Zbychu for the help here and there!
2021-12-22 21:00:11 +01:00
Aang23
9c462aaaac
Fix a shapefile drawing bug
2021-11-12 19:56:29 +01:00
Aang23
7098ba98f9
Initial forward LEO projection support
2021-11-12 19:50:05 +01:00
Aang23
84e2c9dcc5
Custom map labels
2021-11-03 16:47:52 +01:00
Aang23
cc3b868c9f
Fix windows, finally
2021-10-07 16:32:44 -07:00
Aang23
45fa1ff3fb
Hopefully Windows works this time
2021-10-08 00:25:37 +02:00
Aang23
ceb32b6ec4
Hopefully Windows works
2021-10-08 00:09:48 +02:00
Aang23
53d1435fcd
Fix a few bugs, retune projections and more
2021-09-30 17:33:32 +02:00
Aang23
372df02588
Add a Shapefile parser and replace 10m map file with .shp instead of GeoJSON
2021-09-16 17:50:53 +02:00
Aang23
3c05fdeadf
Add map drawer
2021-08-23 00:52:42 +02:00