Map creation - exporting PNG for import into FC

Visit here to get your questions about scenario making answered.

Moderator: MOD_Flashpoint

Post Reply
Zumwalt_446
Posts: 170
Joined: Mon Feb 18, 2019 3:29 am

Map creation - exporting PNG for import into FC

Post by Zumwalt_446 »

I am creating a test map in qGIS and attempting to import it into the FC map editor. My terrain import into qGIS is done using a GeoTIFF file for the area of interest; I then change the style for that layer to use a singleband pseudocolor style with several elevation bins. I can see from the layer display in qGIS that the elevation is being correctly processed and has the correct color applied based on the style specification.

However, when I export this as a PNG and then import the PNG into the Map Editor, portions of the map show as "Elevation Unknown" in the map scan. Are there additional steps required beyond what I have described above?

The PNG I am using is attached for reference.
Attachments
susangerd_terrain.png
susangerd_terrain.png (28.52 KiB) Viewed 501 times
User avatar
CapnDarwin
Posts: 9740
Joined: Sat Feb 12, 2005 3:34 pm
Location: Newark, OH
Contact:

Re: Map creation - exporting PNG for import into FC

Post by CapnDarwin »

How big is the map? I'll see if I can get William to get back to you as our map guru.
OTS is looking forward to Southern Storm getting released!

Cap'n Darwin aka Jim Snyder
On Target Simulations LTD
User avatar
WildCatNL
Posts: 931
Joined: Fri Mar 27, 2009 5:21 pm
Location: Eindhoven, the Netherlands

Re: Map creation - exporting PNG for import into FC

Post by WildCatNL »

The colors used for elevation do not match the (narrow) bands defined for the elevations in the MapDataTypes_FCCW.xls spreadsheet:

How did you pick the colors? Which style did you apply to the elevation data?
The most frequent green color on the map is RGB 141, 151, 90 which falls outside all the 15 elevation colors.

map_values_scanner_rgb_palette.png
map_values_scanner_rgb_palette.png (53.78 KiB) Viewed 473 times
William
On Target Simulations LLC
Zumwalt_446
Posts: 170
Joined: Mon Feb 18, 2019 3:29 am

Re: Map creation - exporting PNG for import into FC

Post by Zumwalt_446 »

Interesting - my qGIS color selections match the ones in the spreadsheet. I've attached screenshots of my style tab and the individual color definitions; does anything here seem off to you?
Attachments
qgis_styles_L3.png
qgis_styles_L3.png (38.6 KiB) Viewed 446 times
qgis_styles_L2.png
qgis_styles_L2.png (39.27 KiB) Viewed 446 times
qgis_styles_L1.png
qgis_styles_L1.png (39.77 KiB) Viewed 446 times
qgis_styles.png
qgis_styles.png (43.44 KiB) Viewed 446 times
User avatar
Argyll
Posts: 132
Joined: Tue May 14, 2019 2:39 pm
Location: Canada

Re: Map creation - exporting PNG for import into FC

Post by Argyll »

If the QGIS settings match the expected input, there might be an issue with the color space of the exported image, perhaps? That could potentially shift the hue.
Producer, On Target Simulations
User avatar
WildCatNL
Posts: 931
Joined: Fri Mar 27, 2009 5:21 pm
Location: Eindhoven, the Netherlands

Re: Map creation - exporting PNG for import into FC

Post by WildCatNL »

Zumwalt_446 wrote: Wed Mar 04, 2026 1:51 am Interesting - my qGIS color selections match the ones in the spreadsheet. I've attached screenshots of my style tab and the individual color definitions; does anything here seem off to you?
It looks like in 'post-processing' the colors are being changed due to the +9 brightness setting.
qgis3_bumping_up_brightness.png
qgis3_bumping_up_brightness.png (116.7 KiB) Viewed 430 times
William
On Target Simulations LLC
User avatar
Argyll
Posts: 132
Joined: Tue May 14, 2019 2:39 pm
Location: Canada

Re: Map creation - exporting PNG for import into FC

Post by Argyll »

WildCatNL wrote: Wed Mar 04, 2026 6:18 pm
Zumwalt_446 wrote: Wed Mar 04, 2026 1:51 am Interesting - my qGIS color selections match the ones in the spreadsheet. I've attached screenshots of my style tab and the individual color definitions; does anything here seem off to you?
It looks like in 'post-processing' the colors are being changed due to the +9 brightness setting.

qgis3_bumping_up_brightness.png
Good spot!
Producer, On Target Simulations
Zumwalt_446
Posts: 170
Joined: Mon Feb 18, 2019 3:29 am

Re: Map creation - exporting PNG for import into FC

Post by Zumwalt_446 »

Perfect - setting the brightness to 0 makes the color mapping correct and it can be read into FC. Thanks for the help.
Post Reply

Return to “Scenario School”