<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2013-10-27 00:46, Bruce Crevensten
      wrote :<br>
    </div>
    <blockquote
cite="mid:CA+7ktctgM3oZe3aW0fNdCk-YK0hwZ+YBKONW8V=MabMADb+eXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Andre, Oliver, thanks very much for the responses.
         I'll explore alternatives for the project I'm working on.
        <div><br>
        </div>
        <div>Andre, can you give me more detail regarding your idea of
          building the picture in two parts?  Would that be a MapProxy
          configuration, i.e. create two layers with bounding boxes to
          prevent the problematic overlap, then add both layers on the
          OpenLayers client to yield the desired result?  Or are you
          thinking of a different approach?</div>
      </div>
    </blockquote>
    <br>
    I was thinking of not producing an image that crosses the meridian.
    OSM tiles are undoubtedly free of that problem, but a larger image
    is not, an issue that Oliver put in terms of bounding boxes.<br>
    Hence my idea to test if limiting your present display to right near
    the meridian is OK and then, indeed, go confidently forward to a
    solution like what you describe.<br>
    Note that the OSM map itself is not problem free. If you notice that
    line splitting <a
      href="http://www.openstreetmap.org/#map=5/66.267/170.662">Чукотка</a>
    and zoom down to its Map data layer, you get a <a
href="http://www.openstreetmap.org/#map=19/66.42085/-180.00000&layers=D">never
      ending data loading page</a>. JOSM takes a very long time loading
    across the line and times out, telling there's no data.  Probably an
    API problem timed out differently by the client.<br>
    I can tell you tackled the trickiest part of the globe: I was there
    before ;-)<br>
    The best advisors would be the unhappy islanders maybe, if you can
    find them ;-)<br>
    <br>
    Cheers,<br>
    <br>
    <table>
      <tbody>
        <tr>
          <td>André.</td>
        </tr>
      </tbody>
    </table>
    <br>
    PS: Curious me extracted the OSM html for <a
      href="http://www.openstreetmap.org/#map=19/68.97579/-179.99997">rendering
      this across the line</a>: as expected, single layer happily mixing
    x=0-1 and x=524286-524287, see below.<br>
    BTW, wouldn't you be luckier reprojecting EPSG:3338 to OSM's
    instead? (Just like me talking English ;-))<br>
    <br>
    <blockquote
cite="mid:CA+7ktctgM3oZe3aW0fNdCk-YK0hwZ+YBKONW8V=MabMADb+eXw@mail.gmail.com"
      type="cite">
      <div class="gmail_extra">
        <div class="gmail_quote">On Thu, Oct 24, 2013 at 9:22 AM, André
          Pirard <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:A.Pirard.Papou@gmail.com" target="_blank">A.Pirard.Papou@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>On 2013-10-24 14:01, Oliver Tonnhofer wrote :<br>
              </div>
              <div class="im">
                <blockquote type="cite">
                  <pre>On 23.10.2013, at 21:37, Bruce Crevensten wrote:

</pre>
                  <blockquote type="cite">
                    <pre>I'm trying to use MapProxy to present OpenStreetMap layers in a nonstandard projection, EPSG:3338 (Alaska Albers).  The end goal is to use this as a base layer in an app that adds other layers showing historical sea ice extent around Alaska, which is why this (or a similar polar projection) is needed.

Instead of a clean map, I'm seeing extreme distortion around the antimeridian/date line.  Screenshot of distortion around antimeridian/date line is here:
</pre>
                  </blockquote>
                  <pre>Unfortunately there is no explicit support for handling the antimeridian in MapProxy (yet).
You will get unwanted results as soon as you cross the dateline (and that may happen internally when MapProxy transforms bounding boxes between 3857 and 3338).
</pre>
                </blockquote>
              </div>
              Out of curiosity, I'd like to know the result of the test
              I suggested and hence the possibility of the same kludge
              as for the unlucky islanders: build the picture in two
              parts on each side of that line.<br>
              <br>
              Cheers,<br>
              <br>
              <table>
                <tbody>
                  <tr>
                    <td>André.</td>
                  </tr>
                </tbody>
              </table>
              <br>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <a class="moz-txt-link-freetext" href="http://www.openstreetmap.org/#map=19/68.97579/-179.99997">http://www.openstreetmap.org/#map=19/68.97579/-179.99997</a><br>
    <br>
      <div style="" class="leaflet-map-pane"><br>
        <div class="leaflet-tile-pane"><br>
          <div class="leaflet-layer"><br>
            <div class="leaflet-tile-container
    leaflet-zoom-animated"><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://b.tile.openstreetmap.org/19/524287/121593.png">"http://b.tile.openstreetmap.org/19/524287/121593.png"</a>
    style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://a.tile.openstreetmap.org/19/0/121593.png">"http://a.tile.openstreetmap.org/19/0/121593.png"</a> style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://a.tile.openstreetmap.org/19/524287/121592.png">"http://a.tile.openstreetmap.org/19/524287/121592.png"</a>
    style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://c.tile.openstreetmap.org/19/0/121592.png">"http://c.tile.openstreetmap.org/19/0/121592.png"</a> style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://c.tile.openstreetmap.org/19/524287/121594.png">"http://c.tile.openstreetmap.org/19/524287/121594.png"</a>
    style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://b.tile.openstreetmap.org/19/0/121594.png">"http://b.tile.openstreetmap.org/19/0/121594.png"</a> style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://a.tile.openstreetmap.org/19/524286/121593.png">"http://a.tile.openstreetmap.org/19/524286/121593.png"</a>
    style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://b.tile.openstreetmap.org/19/1/121593.png">"http://b.tile.openstreetmap.org/19/1/121593.png"</a> style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://c.tile.openstreetmap.org/19/524286/121592.png">"http://c.tile.openstreetmap.org/19/524286/121592.png"</a>
    style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://a.tile.openstreetmap.org/19/1/121592.png">"http://a.tile.openstreetmap.org/19/1/121592.png"</a> style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://b.tile.openstreetmap.org/19/524286/121594.png">"http://b.tile.openstreetmap.org/19/524286/121594.png"</a>
    style=<br>
            "height: 256px; width: 256px;" class=<br>
            "leaflet-tile leaflet-tile-loaded" /><img src=<br>
            <a class="moz-txt-link-rfc2396E" href="http://c.tile.openstreetmap.org/19/1/121594.png">"http://c.tile.openstreetmap.org/19/1/121594.png"</a> style=<br>
            "height: 256px; width: 256px;" class="leaflet-tile
    leaflet-tile-loaded" /></div><br>
          </div><br>
        </div><br>
      </div><br>
    <br>
  </body>
</html>