Bug 147780

Summary: Particular "Landuse" areas in OpenStreetMap-exported SVG files display with black area color instead of original one
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, himajin100000, LibreOffice
Priority: medium    
Version: 7.3.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Sample document

Description Eyal Rozenberg 2022-03-05 12:24:27 UTC
If I export a map fragment from OpenStreetMaps, say from this URL:

https://www.openstreetmap.org/#map=14/32.3367/34.9163

using the SVG output format, the result displays correctly in an SVG viewer such as Geeqie, but when opened in LO Writer - I see black areas instead the pink area and others, in the image as rendered in the LO window.

I'm not sure what the exact issue is, so this may well be a dupe, but - OSM map fragment export is quite a common use-case as SVGs go. Also, I'm not sure I've chosen the right component; I saw this in LO Writer.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: fb9270b238cba4f36e595c5d7f4d85f6f3f18e1c
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Comment 1 Rainer Bielefeld Retired 2022-03-05 16:34:15 UTC
REPRODUCIBLE with  Installation of Version: 7.3.0.3 (x64) 
Build ID 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win | Locale: de-DE (de_DE); UI: de-DE | Calc: threaded | ElementaryTheme | My normal User Profile

This problem affects areas with particular map "landuse" tags like orchard,  	military, prison, cemetery, probably others.
Comment 2 Rainer Bielefeld Retired 2022-03-05 16:42:40 UTC
a) No obvious DUPs found with query <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs147780&sharer_id=19321>.
b) I checked "orchard"and "cemetery" also on other maps, same result.
Comment 3 Rainer Bielefeld Retired 2022-03-05 17:36:29 UTC
Created attachment 178663 [details]
Sample document

Cemetery from https://osm.org/go/0G46SQfC2-- shown black in .svg export in LibO
Comment 4 BogdanB 2023-04-06 04:51:27 UTC
Please retest, don't repro in
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded