<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div><br/>
Hello Brent,</div>

<div> </div>

<div><span id="result_box" lang="en"><span class="hps">I'm sorry</span> <span class="hps">to bother</span> <span class="hps">you</span> <span class="hps">again</span><span>,</span> <span class="hps">but I could not</span> <span class="hps">find</span> <span class="hps">where to</span> <span class="hps">store the</span> <span class="hps">xml</span> <span class="hps">file.</span> <span class="hps">How</span> <span class="hps">does </span><span class="hps">the</span> <span class="hps">MapServer interact with</span> <span class="hps">GDAL</span><span>?</span></span> Where I have to reference the xml file? Apparently the content of the xml file should look like this one [http://code.metager.de/source/xref/lib/gdal/frmts/wms/frmt_wms_openstreetmap_tms.xml].</div>

<div>By these instructions [http://www.gdal.org/frmt_wms.html] I can not look through.</div>

<div>Thank you very much in advance for answering!</div>

<div> </div>

<div>Greetings, Geograefin</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> Montag, 09. Februar 2015 um 16:38 Uhr<br/>
<b>Von:</b> "Brent Fraser" <bfraser@geoanalytic.com><br/>
<b>An:</b> geo.graefin@web.de, "GeoMOOSE Users List" <geomoose-users@lists.osgeo.org><br/>
<b>Betreff:</b> Re: Aw: Re: [Geomoose-users] print osm tiles</div>

<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<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.
<pre class="moz-signature">Best Regards,
Brent Fraser</pre>
On 2/9/2015 7:31 AM, <a 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> 
<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" target="_blank">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 style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 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="bfraser@geoanalytic.com" target="_parent"><bfraser@geoanalytic.com></a><br/>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="geo.graefin@web.de" target="_parent">geo.graefin@web.de</a>, <a class="moz-txt-link-abbreviated" href="geomoose-users@lists.osgeo.org" target="_parent">geomoose-users@lists.osgeo.org</a><br/>
<b>Betreff:</b> Re: [Geomoose-users] print osm tiles</div>

<div>
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix">There's some info on a work-around:<br/>
<br/>
<a 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 class="moz-txt-link-abbreviated">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 class="moz-txt-link-abbreviated">Geomoose-users@lists.osgeo.org</a>
<a 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>
</div>
</div>
</div>
</div>
</div></div></body></html>