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
cdbbaccc27
Fix windows
2022-05-12 15:24:25 -07:00
Aang23
7c6c49b366
Goodbye projections
2022-02-26 23:30:06 +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
7fe1b1d040
Allow LEO mapping on more sats
2021-11-19 01:03:12 +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
6ff86db594
cleanup
2021-10-05 22:13:11 +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