"Fossies" - the Fresh Open Source Software Archive

Member "user/extensions/printing/faq.html" (22 Nov 2019, 10683 Bytes) of package /linux/www/geoserver-2.16.1-htmldoc.zip:

The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
    4 <head>
    5   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    7   <title>FAQ &mdash; GeoServer 2.16.1 User Manual</title>
    8   <link rel="stylesheet" href="../../_static/blueprint/screen.css" type="text/css" media="screen, projection" />
    9   <link rel="stylesheet" href="../../_static/blueprint/print.css" type="text/css" media="print" /> 
   10   <!--[if IE]>
   11   <link rel="stylesheet" href="../../_static/blueprint/ie.css" type="text/css" media="screen, projection" />
   12   <![endif]-->
   13   <link rel="stylesheet" href="../../_static/default.css" type="text/css" />
   14   <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
   15   <script type="text/javascript">
   17         URL_ROOT:    '../../',
   18         VERSION:     '2.16.1',
   19         COLLAPSE_MODINDEX: false,
   20         FILE_SUFFIX: '.html'
   21     };
   22   </script>
   23   <script type="text/javascript" src="../../_static/jquery.js"></script>
   24   <script type="text/javascript" src="../../_static/doctools.js"></script>
   25   <script type="text/javascript" src="../../_static/searchtools.js"></script>
   26   <script type="text/javascript" src="../../searchindex.js"></script>
   27   <link rel="shortcut icon" href="../../_static/geoserver.ico"/>
   28       <link rel="search" title="Search" href="../../search.html" />
   29       <link rel="top" title="GeoServer 2.16.1 User Manual" href="../../index.html" />
   30       <link rel="up" title="GeoServer Printing Module" href="index.html" />
   31       <link rel="next" title="Cross-layer filtering" href="../querylayer/index.html" />
   32       <link rel="prev" title="Protocol" href="protocol.html" />
   33 </head>
   34 <body class="extensions/printing/faq">
   35   <div id="header" class="selfclear">
   36     <div class="wrap selfclear">
   37       <div id="logo"><a href="../../index.html">GeoServer 2.16.1 User Manual</a></div>
   38       <ul id="top-nav">
   39         <li class="first"><a href="http://geoserver.org/about">About</a></li>
   40         <li><a href="http://blog.geoserver.org/">Blog</a></li>
   41         <li><a href="http://geoserver.org/download">Download</a></li>
   42         <!--<li><a href="../../index.html">Documentation</a></li>-->
   43       </ul>
   44         <form id="quick-search" action="../../search.html" method="get">
   45           <fieldset>
   46             <input type="hidden" name="check_keywords" value="yes" />
   47             <input type="hidden" name="area" value="default" />
   48             <input id="quick-search-query" type="text" name="q" accessKey="q" name="searchQuery.queryString" size="25" value="Search Documentation&hellip;" size="20" tabindex="3" onblur="if(this.value=='') this.value='Search Documentation&hellip;';" onfocus="if(this.value=='Search Documentation&hellip;') this.value='';" />
   49             <input id="quick-search-submit" type="image" value="Search" src="../../_static/chrome/search_icon_green.png" />
   50           </fieldset>
   51         </form>
   52     </div><!-- /.wrap -->
   53   </div><!-- /#header -->
   54   <div id="main">
   55     <div class="wrap selfclear">
   56       <div id="content-left" class="content-border"></div>
   57       <div id="content">
   58 <ul id="breadcrumbs">
   60   <li><a href="../../index.html">GeoServer 2.16.1 User Manual</a> &raquo;</li>
   61   <li><a href="../index.html" accesskey="U">Extensions</a> &raquo;</li>
   62   <li><a href="index.html" accesskey="U">GeoServer Printing Module</a> &raquo;</li>
   63   <li>FAQ</li>
   64 </ul>
   65 <ul id="relatedlinks" class="selfclear">
   66   <li class="first">
   67     <a href="../../py-modindex.html" title="Python Module Index"
   68        accesskey="">modules</a></li>
   69   <li>
   70     <a href="../querylayer/index.html" title="Cross-layer filtering"
   71        accesskey="N">next</a>|</li>
   72   <li>
   73     <a href="protocol.html" title="Protocol"
   74        accesskey="P">previous</a>|</li>
   75 </ul>
   77   <div class="section" id="faq">
   78 <h1>FAQ<a class="headerlink" href="#faq" title="Permalink to this headline"></a></h1>
   79 <dl class="docutils">
   80 <dt><strong>All I get in my PDF is: “ERROR: infinite table loop”. What’s wrong?</strong></dt>
   81 <dd>Something in your page is too big. For example, the width or the height of your !map block.</dd>
   82 <dt><strong>I tried to print (pylons mode) and I get a “Java error”. What’s next?</strong></dt>
   83 <dd>Look in the apache error log, you’ll find more information.</dd>
   84 <dt><strong>What are the limitations of the type 2 layers?</strong></dt>
   85 <dd><p class="first">It depends mostly on the map server you use. For the moment, GeoServer has not been extensively tested. With MapServer:</p>
   86 <ul class="last simple">
   87 <li>The PDF output must be enabled when you compile and doesn’t work in WMS mode, only in native MapServer mode. There are some limitations. on the styling. And you must use truetype fonts.</li>
   88 <li>The SVG output is limited regarding the stylings you can use. For example only plain polygon fillings are supported by MapServer. If a complex styling is used, your features may appear plain black.</li>
   89 </ul>
   90 </dd>
   91 <dt><strong>I tried to change the layout and half the Map is printed off the page on the right. Or I have an empty page added. Is it a bug?</strong></dt>
   92 <dd>It’s mostly a feature ;-) . This kind of behavior can be seen in iText, when adding a block that is too big for the page size. Try to reduce the size of your map block.</dd>
   93 <dt><strong>When I look at my generated PDF in Acrobat Reader, it looks good. But, when I print it, it misses some tiles/layers, some bitmaps are just weird or there are no page printed. What’s wrong?</strong></dt>
   94 <dd><p class="first">There are three possible explanations:</p>
   95 <ul class="last simple">
   96 <li>Your printer has not enough memory: in Acrobat’s print dialog, select “Save printer memory”</li>
   97 <li>Your printer firmware is buggy: upgrade it</li>
   98 <li>Your printer driver is buggy: upgrade it</li>
   99 </ul>
  100 </dd>
  101 <dt><strong>The module needs to go through a proxy to acces the map services.</strong></dt>
  102 <dd><p class="first">It’s so 90s… you should hire some fresh guys for your IT team. ;-)</p>
  103 <p class="last">You need to set some system properties (http.proxy*) when you start your java programs.</p>
  104 </dd>
  105 <dt><strong>On the browser, the scale is displayed with spaces to separate thousands and it’s against my religion. How do I put my sacred separator?</strong></dt>
  106 <dd><p class="first">By default, the browser’s configured locale is used. You can force another locale in the print widget configuration:</p>
  107 <div class="last highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="p p-Indicator">{</span>
  108   <span class="nv">...</span>
  109   <span class="nv">configUrl</span><span class="p p-Indicator">:</span> <span class="s">&#39;print/info.json&#39;</span><span class="p p-Indicator">,</span>
  110 <span class="nt">  serviceParams</span><span class="p">:</span> <span class="p p-Indicator">{</span><span class="nt"> locale</span><span class="p">:</span> <span class="s">&#39;fr_CH&#39;</span> <span class="p p-Indicator">},</span>
  111   <span class="nv">...</span>
  112 <span class="p p-Indicator">}</span>
  113 </pre></div>
  114 </div>
  115 </dd>
  116 <dt><strong>I copied the examples and the print widgets are not working.</strong></dt>
  117 <dd><p class="first">First edit the client/examples/examples.js file and make sure the URLs are correct.</p>
  118 <ol class="arabic simple">
  119 <li>If you don’t want to install the server side, make sure you installed a proxy (see Configure Proxy). For example, test (must return a JSON content, not the proxy.cgi script’s content) it with an URL like that (adapt the hostname, port and path): <cite>http://localhost/cgi-bin/proxy.cgi?url=http://demo.mapfish.org/mapfishsample/trunk/print/info.json</cite></li>
  120 <li>If you installed the server side, make sure it works by calling the URL specified in the mapfish.SERVER_BASE_URL variable (must be the hostname/port your page is accessed through) added with <cite>/print/info.json</cite>. For example, if you have <cite>mapfish.SERVER_BASE_URL=”http://localhost/mapfish”: http://localhost/mapfish/print/info.json</cite></li>
  121 </ol>
  122 <p class="last">If it still doesn’t work, use firefox, install firebug and check in the console panel that the AJAX request made by the print widget works fine.</p>
  123 </dd>
  124 </dl>
  125 <div class="section" id="warranty-disclaimer-and-license">
  126 <h2>Warranty disclaimer and license<a class="headerlink" href="#warranty-disclaimer-and-license" title="Permalink to this headline"></a></h2>
  127 <p>The authors provide these documents “AS-IS”, without warranty of any kind
  128 either expressed or implied.</p>
  129 <p>Document under <a class="reference external" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Common License Attribution-Share Alike 2.5 Generic</a>.</p>
  130 <p>Authors: MapFish developers.</p>
  131 </div>
  132 </div>
  135       <div class="selfclear pagination-nav">
  136           <div class="leftwise"><strong>Previous</strong>: <a href="protocol.html" title="previous chapter">Protocol</a></div>
  137           <div class="rightwise"><strong>Next</strong>: <a href="../querylayer/index.html" title="next chapter">Cross-layer filtering</a></div>
  138       </div>
  139       </div><!-- /#content> -->
  140       <div id="content-right" class="content-border"></div>
  141   <div id="sidebar" class="contrast">
  142       <div id="toc" class="section">
  143         <h3 class="pngfix">Table Of Contents</h3>
  144         <ul>
  145 <li><a class="reference internal" href="#">FAQ</a><ul>
  146 <li><a class="reference internal" href="#warranty-disclaimer-and-license">Warranty disclaimer and license</a></li>
  147 </ul>
  148 </li>
  149 </ul>
  151         <div class="section-footer"></div>
  152       </div>
  153         <div class="section">
  154           <h3>Continue Reading</h3>
  155           <ul>
  156             <li>Previous: <a href="protocol.html" title="previous chapter">Protocol</a></li>
  157             <li>Next: <a href="../querylayer/index.html" title="next chapter">Cross-layer filtering</a></li>
  158           </ul>
  159         </div>
  160         <div class="section">
  161         <h3>This Page</h3>
  162         <ul class="this-page-menu">
  164         <li><a href="https://github.com/geoserver/geoserver/tree/master/doc/en/user/source/extensions/printing/faq.rst">Edit</a></li>
  165         </ul>
  166         </div>
  167   </div><!-- /#sidebar -->
  168   </div><!-- /.wrap> -->
  169 </div><!-- /#main -->
  170 <div id="footer">
  171   <div class="wrap">
  172     &copy; Copyright 2019, Open Source Geospatial Foundation. License <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution</a>.
  173     Last updated on Nov 22, 2019.
  174     Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
  175   </div><!-- /.wrap> -->
  176 </div><!-- /#footer -->
  177   </body>
  178 </html>