Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase 32 contour regions limit #27

Open
dBitech opened this issue Oct 19, 2020 · 4 comments
Open

Increase 32 contour regions limit #27

dBitech opened this issue Oct 19, 2020 · 4 comments

Comments

@dBitech
Copy link
Collaborator

dBitech commented Oct 19, 2020

It would be useful to have an output mode where the dBm or dBuV/m can have more than 32 steps. Given we output at least 24bit image files, we easily increase the number of contours.

Further, if we do this within the GeoTIFF realm, we can multiband, and have the 1 file contain both path loss as well as field strength information. This GeoTIFF can easily then be used by other tools like Rio-RGB to produce datasets that can be used for high performance, mapping through for example Mapbox Terrain-RGB inspired frameworks accessible through Mapbox-GL for both the web and native

@der-stefan
Copy link
Collaborator

der-stefan commented Nov 10, 2020

Absolutely! I fully agree with your idea. GeoTiff is already implemented in the "json" branch and would easily accept higher "color" depth or additional bands. The WriteImage functions have been also cleaned up and could be adapted to a universal output.

@der-stefan
Copy link
Collaborator

By the way: Use "-sc" for smooth rather than quantized colors. That should be default for path loss output in geotiffs anyway.

@dBitech
Copy link
Collaborator Author

dBitech commented Apr 12, 2021

I've done up a quick patch to allow the GeoTIFF to output band5 with the path loss, does anyone think there ould there also be merit in adding the additional bands for Field strength?

@der-stefan
Copy link
Collaborator

der-stefan commented Jun 20, 2021

My proposal: Let's split the outputs into several files:

  • *_raw.tif => contains pathloss and line-of-sight as two bands. This is an universal output independent of the TX power. You can take this file as input for the following outputs:
  • *_pl.tif => contains pathloss as RGBA with applied color palette
  • *_los.tif => contains line-of-sight as black pixels
  • *_dBm.tif => contains receive power as RGBA with applied color palette
  • *_dBuVm.tif => contains electric field strength as RGBA with applied color palette

Calculating the raw output (pathloss and LoS) is computationally complex and is conducted anyway for each SPLAT simulation. The calculation of the other outputs is absolutely simple - it is just scaling according to the user's input of TX power, RX antenna gain etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants