Skip to main content
Question

No transparency for layer in pdf2d


Hello, new user here.

I try to make a geospatial pdf from multiple shapefile as source. I use Mapnikrasterizer for the style of each layer, but when I try to save the file, my layer are well stored but the transparency turn black.

 

Thanks in advance for your advice.

4 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 30, 2019

@b.dorbani

 

Alas no transparency in the pdf writer. I'm still hoping for it.

Options are

- use raster type; I usually go png.

- create/read intended background layer with transparent layer and burn the raster...which can take some time..

- drive arcmap (or maybe Q-Gis) using python.

Their pdf exporter can do transparency.

 

 


debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • January 30, 2019

Hi @b.dorbani

I'm sorry you ran into this issue. If you would like to see support for transparency in rasters implemented in the PDF2D writer, you can vote for the Idea here.

Is it a requirement to have the features in a raster format? If not, you can output the features as vectors which does support transparency. You can style your features using the PDFStyler. I have attached a modified copy of your workspace which demonstrates this.

I hope this helps.

carto_znieff_pdfStyler.fmw


  • Author
  • January 30, 2019
gio wrote:

@b.dorbani

 

Alas no transparency in the pdf writer. I'm still hoping for it.

Options are

- use raster type; I usually go png.

- create/read intended background layer with transparent layer and burn the raster...which can take some time..

- drive arcmap (or maybe Q-Gis) using python.

Their pdf exporter can do transparency.

 

 

Hi @gio thanks for your quick answer, I'm a bit desapointed that the geospatial pdf transparency is sot yet supported by the pdf writer. I'll try the qgis route if the solution provided by @DebbiAtSafe doesn't match my need. thank's for your input anyway !


  • Author
  • January 30, 2019
debbiatsafe wrote:

Hi @b.dorbani

I'm sorry you ran into this issue. If you would like to see support for transparency in rasters implemented in the PDF2D writer, you can vote for the Idea here.

Is it a requirement to have the features in a raster format? If not, you can output the features as vectors which does support transparency. You can style your features using the PDFStyler. I have attached a modified copy of your workspace which demonstrates this.

I hope this helps.

carto_znieff_pdfStyler.fmw

Hi @DebbiAtSafe. Voted. I'lI try your workspace when I come back to my office (on Friday). The raster format is not mandatory but I’m a bit worried by the export size of the vector solution (but I’m very new facing this kind of issue, I may be worried for nothing). In the end, I will have around 10 layers and the interactive feature of the geospatial pdf is a big improvement for the readability of the final product. Thanks for the time you take to investigate my problem.

edit : With only a raster as the base map and all other feature as vector, the final product meet my need ! Thanks for the help


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings