[Qgis-user] QGIS Server GetPrint Use Redlining

Pedro Henriques henriques.pedro.mf at gmail.com
Mon Dec 10 04:49:55 PST 2018


 Hello,

I using QGIS Server 3.4 and I'm trying to generate a pdf using Redlining.
When I make a getprint using redlining, it only returns me the pdf with the
drawing sent in the geomeria, that is, the layers that are in the project
qgs do not appear.

   -
   http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/eploc/eploc.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetPrint&SRS=EPSG:3763&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&HIGHLIGHT_GEOM=POLYGON((-38181.2152513194%20-1084.2058541722063,-38202.381960319486%20-1341.7341470065699,-37789.631134817835%20-1292.3451593397056,-37884.881325318216%20-1147.7059811724605,-38181.2152513194%20-1084.2058541722063))&HIGHLIGHT_SYMBOL=%3CStyledLayerDescriptor%3E%3CUserStyle%3E%3CName%3EHighlight%3C/Name%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CName%3ESymbol%3C/Name%3E%3CLineSymbolizer%3E%3CStroke%3E%3CSvgParameter%20name=%22stroke%22%3E%23ea1173%3C/SvgParameter%3E%3CSvgParameter%20name=%22stroke-opacity%22%3E1%3C/SvgParameter%3E%3CSvgParameter%20name=%22stroke-width%22%3E5%3C/SvgParameter%3E%3C/Stroke%3E%3C/LineSymbolizer%3E%3C/Rule%3E%3C/FeatureTypeStyle%3E%3C/UserStyle%3E%3C/StyledLayerDescriptor%3E&TEMPLATE=A4%20-%20Vertical&map0:EXTENT=-40854.07572967957,-2126.5006543812624,-35774.06556965925,604.0048066296604&map0:ROTATION=0&map0:SCALE=2000&FORMAT=pdf&DPI=300&requerente:&nif:&proprietario:&freguesia:&local:&planta_uid:63249544
   - IMG - http://owncloud.cm-ourem.pt/owncloud/index.php/s/8IKcUJgcBZqZTTB

However, if you do a getprint, but without the redlining layers already
appear.

   -
   http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/eploc/eploc.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetPrint&SRS=EPSG:3763&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&TEMPLATE=A4%20-%20Vertical&map0:EXTENT=-77047.4762001524,-15281.340957581922,-847.3237998475961,25676.24095758192&map0:ROTATION=0&map0:SCALE=2000&FORMAT=pdf&DPI=300&requerente:&nif:&proprietario:&freguesia:&local:&planta_uid:63249544
   - IMG - http://owncloud.cm-ourem.pt/owncloud/index.php/s/Kx0SqCSjrw7CTxw

  What i'm doing something wrong on request?

Cumprimentos
*Pedro Henriques*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181210/ad9f436f/attachment.html>


More information about the Qgis-user mailing list