Open gane-knetworks opened 6 years ago
SYMBOL(c:#000000FF,s:50px,id:bus_stop.png); The expected behavior is to resize the image bus_stop.png to 50px size when drawing the Point OGR Features.
The actual behavior is the image is always in one standard size only, irrespective of change in source image dimensions. For e.g, 32x32 px when resized to 16x16 px always appear as 50x50 px.
Create a VRT data source and add style to Point Features, i.e., Each point should be marked as this imagery on that PDF on a Layer. SYMBOL(c:#000000FF,s:50px,id:bus_stop.png);
Windows 10
From looking at pdfcreatecopy.cpp it seems that GDAL only honors the symbol size (dfSymbolSize -> dfRadius) when using one of the built-in symbols. It ought not to be too difficult to tweak this function call to account for the custom symbol size.
OGR Feature style SYMBOL not support custom raster icon resize in PDF Driver