<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Geograefin,<br>
      <br>
        Check your "frmt_wms_openstreetmap_tms.xml" file is working by
      using gdal_translate (or gdalinfo) command line program.<br>
      <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
      On 2/9/2015 7:31 AM, <a class="moz-txt-link-abbreviated" href="mailto:geo.graefin@web.de">geo.graefin@web.de</a> wrote:<br>
    </div>
    <blockquote
cite="mid:trinity-97dfb096-f86a-4bb8-98a5-c3d3c03edb52-1423492281260@3capp-webde-bs05"
      type="cite">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div> 
          <div>
            <div>Dear Brent Fraser,</div>
            <div> </div>
            <div>in addition to the post you listed below, I have
              created a map file (my_osm.map), to support the printing
              of osm tiles.</div>
            <div> </div>
            <div>MAP
              <div>  
 #--------------------------------------------------------------------------------<br>
                  
 #---------------------------------MAPFILEHEADER----------------------------------<br>
                  
 #--------------------------------------------------------------------------------<br>
                    NAME 'background'<br>
                    STATUS ON<br>
                    DEBUG 5<br>
                    CONFIG "MS_ERRORFILE" "/ms4w/tmp/ms_error.txt"<br>
                    #EXTENT 1190889 6412149 1987057 6860988<br>
                    #SIZE 100 100<br>
                    #UNITS METERS<br>
                    #IMAGETYPE PNG<br>
                    PROJECTION<br>
                        'init=epsg:3857'     #projection of the map<br>
                    END<br>
                    OUTPUTFORMAT<br>
                        NAME png<br>
                        DRIVER "GD/PNG"<br>
                        MIMETYPE "image/png"<br>
                        IMAGEMODE PC256<br>
                        EXTENSION "png"<br>
                    END    <br>
                    INCLUDE "../../geomoose_globals.map"<br>
                  
 #--------------------------------------------------------------------------------<br>
                  
 #-----------------------------------WEB-SECTION----------------------------------<br>
                  
 #--------------------------------------------------------------------------------<br>
                    WEB<br>
                        IMAGEPATH "/ms4w/tmp/ms_tmp/"<br>
                        IMAGEURL "/ms_tmp/"<br>
                        METADATA<br>
                            WMS_TITLE "open street map"<br>
                            WMS_ABSTRACT "Open Street Map Kacheln"<br>
                            WMS_ONLINERESOURCE
                "<a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/mapserv">http://localhost/cgi-bin/mapserv</a>?<br>
                              
                 map=/geomoose2/maps/demo/test/angebote/my_osm.map"<br>
                            WMS_SRS "EPSG:3857"        #projection of
                the service<br>
                            WMS_ENABLE_REQUEST "*"<br>
                        END<br>
                    END<br>
                  
 #--------------------------------------------------------------------------------<br>
                  
 #-------------------------------------LAYER--------------------------------------<br>
                  
 #--------------------------------------------------------------------------------<br>
                      LAYER<br>
                        NAME 'my_osm'<br>
                        DATA "frmt_wms_openstreetmap_tms.xml"<br>
                        STATUS ON<br>
                        TYPE RASTER<br>
                        PROCESSING "OVERSAMPLE_RATIO=1"<br>
                        PROCESSING "LOAD_FULL_RES_IMAGE=NO"<br>
                        UNITS METERS<br>
                        METADATA<br>
                            WMS_TITLE "open street map tiles"<br>
                        END<br>
                        PROJECTION<br>
                            "proj=merc" "a=6378137" "b=6378137"
                "lat_ts=0.0" "lon_0=0.0" "x_0=0.0" "y_0=0" "k=1.0"
                "units=m" "nadgrids=@null" "no_defs"<br>
                        END<br>
                      END<br>
                END     #end map</div>
            </div>
            <div> </div>
            <div>Are the settings correct, the coordinate systems, too?</div>
            <div> </div>
            <div>And the settings in mapbook.xml are these:</div>
            <div> </div>
            <div>    <map-source name="background"
              type="mapserver"><br>
                    
               <file>./test/angebote/my_osm.map</file><br>
                      <layer name="my_osm" status="on"/><br>
                  </map-source></div>
            <div> </div>
            <div>
              <div>    <layer title="Mein OSM"
                src="background/my_osm" legend="false" fade="false"
                unfade="false"/></div>
              <div> </div>
              <div>I would be very grateful if you could check this!
                Currently, there is just a white display, when I turn on
                the layer.</div>
              <div>Thank you very much!</div>
              <div> </div>
              <div>Greetings, Geograefin</div>
              <div> </div>
            </div>
            <div name="quote" style="margin:10px 5px 5px 10px; padding:
              10px 0 10px 10px; border-left:2px solid #C3D9E5;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">
              <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch,
                04. Februar 2015 um 18:56 Uhr<br>
                <b>Von:</b> "Brent Fraser"
                <a class="moz-txt-link-rfc2396E" href="mailto:bfraser@geoanalytic.com"><bfraser@geoanalytic.com></a><br>
                <b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:geo.graefin@web.de">geo.graefin@web.de</a>,
                <a class="moz-txt-link-abbreviated" href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br>
                <b>Betreff:</b> Re: [Geomoose-users] print osm tiles</div>
              <div name="quoted-content">
                <div style="background-color: rgb(255,255,255);">
                  <div class="moz-cite-prefix">There's some info on a
                    work-around:<br>
                    <br>
                    <a moz-do-not-send="true"
                      class="moz-txt-link-freetext"
href="http://osgeo-org.1560.x6.nabble.com/Geomoose-users-Printing-tt4928024.html"
                      target="_blank">http://osgeo-org.1560.x6.nabble.com/Geomoose-users-Printing-tt4928024.html</a><br>
                    <br>
                    but the results are not very good.
                    <pre class="moz-signature">Best Regards,
Brent Fraser</pre>
                    On 2/4/2015 3:45 AM, <a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="geo.graefin@web.de" target="_parent">geo.graefin@web.de</a>
                    wrote:</div>
                  <blockquote>
                    <div style="font-family: Verdana;font-size: 12.0px;">
                      <div>Hello,</div>
                      <div> </div>
                      <div>is there a current solution to print open
                        street map tiles in GeoMOOSE?</div>
                      <div> </div>
                      <div>Thank you for your answers!</div>
                      <div> </div>
                      <div>Greetings, Geograefin</div>
                    </div>
                     
                    <fieldset class="mimeAttachmentHeader"> </fieldset>
                     
                    <pre>_______________________________________________
Geomoose-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="Geomoose-users@lists.osgeo.org" target="_parent">Geomoose-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></pre>
                  </blockquote>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>