<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Hello Gery,<br><br>Thanks very much for replying.  I am using TileCache 2.11, installed via pip.  The host system is RHEL 6.3.  I have built Mapserver 6.4 from source with Proj 4.7.<br><br>My Mapserver configuration file (gshhs_polar.map) is available on pastebin, if you'd care to look:<br><a href="http://pastebin.com/69rAdCdz">http://pastebin.com/69rAdCdz</a><br><br>I am using <span style="font-weight: bold;">tilecache_seed.py</span> to create the map tiles, as follows: <br><br><span style="font-weight: bold;">tilecache_seed.py gshhspolar 0 3</span><br><br>Just to clarify, the tilecache.cfg I listed previously and this Mapserver map file work effectively with tilecache_seed.py to create the existing EPSG:4326 tile set that we use for OpenLayers. <br><br>I took those same two
 files and attempted to modify them to generate Arctic Polar Stereographic tiles (EPSG:3995).  As you can see from the image I included, the map file appears to have been correctly configured.  Mapserver was able to produce a PNG file that shows EPSG:3995 quite well.<br><br>So the problem at this point is getting TileCache to create the map tile set.  My error is probably very simple, as I do not have much experience with these tools.  <br><br>Everything I have tried so far produces only blank tiles, or tiles in the color that we designated for "water".  If I change the tilecache.cfg projection (srs) back to EPSG:4326, it works fine but the tiles are not polar.  If I change to EPSG:3995, they are blank.<br><br>Thanks very much for any pointers.<br><div><span><br></span></div><div>Scott<br></div><div>--<br>Scott Chilcote<br>scottchilcote@yahoo.com<br>Cary, NC USA</div><div style="display: block;" class="yahoo_quoted"> <br>
 <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Saturday, November 9, 2013 4:15 AM, Gery . <gamejihou@hotmail.com> wrote:<br> </font> </div>  <div class="y_msg_container">Hi Scott,<br><br>Which tilecache version are you using? I've never tried polar projections, I don't know if that's an issue with specific versions. However I read that proj should help here.<br><br>Also, posting the main steps of your procedure and some more settings can help to find what your problem is.<br><br>Cheers,<br><br>Gery<br><br><br>Sent from my i386<br><br>On Nov 9, 2013, at 9:43, "ScottCh" <<a ymailto="mailto:scottchilcote@yahoo.com" href="mailto:scottchilcote@yahoo.com">scottchilcote@yahoo.com</a>> wrote:<br><br>Hi
 All,<br><br>I am attempting to use tilecache.py, GSHHS shapefiles, and Mapserver to<br>create Arctic polar stereographic tiles for OpenLayers.  <br><br>My Mapserver map file appears to work.  It displays a polar map image for<br>EPSG:3995 correctly when I create a PNG image on my web browser:<br><br><<a href="http://osgeo-org.1560.x6.nabble.com/file/n5088297/maps-r-us.png" target="_blank">http://osgeo-org.1560.x6.nabble.com/file/n5088297/maps-r-us.png</a>> <br><br>I display this via apache using the URL: <br><a href="http://localhost/maps/mapserv?MAP=/var/www/maps/gshhs_polar.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=GSHHS_f_L1,GSHHS_f_L2,GSHHS_f_L3,GSHHS_f_L4&STYLES=&BBOX=-6486320.82608643,-6485942.31407885,6486655.95236211,6486510.25174298&SRS=EPSG:3995&WIDTH=800&HEIGHT=800&FORMAT=image/png"
 target="_blank">http://localhost/maps/mapserv?MAP=/var/www/maps/gshhs_polar.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=GSHHS_f_L1,GSHHS_f_L2,GSHHS_f_L3,GSHHS_f_L4&STYLES=&BBOX=-6486320.82608643,-6485942.31407885,6486655.95236211,6486510.25174298&SRS=EPSG:3995&WIDTH=800&HEIGHT=800&FORMAT=image/png</a><br><br>Unfortunately this is as far as I have gotten.  When I use<br>*tilecache_seed.py* to create tiles, they are all blank.  I have read<br>everything I can find including dozens of forum postings.  Nothing has<br>helped yet.<br><br>This is my tilecache.cfg file:<br><br>[gshhspolar]<br>size=256,256<br>type=WMSLayer<br>url=<a href="http://localhost/maps/mapserv?MAP=/var/www/maps/gshhs_polar.map" target="_blank">http://localhost/maps/mapserv?MAP=/var/www/maps/gshhs_polar.map</a><br>#layers=GSHHS_f_L1,GSHHS_f_L2, GSHHS_f_L3, GSHHS_f_L4,
 WDBII_border_f_L1,<br>WDBII_border_f_L2&STYLES<br>layers=GSHHS_f_L1,GSHHS_f_L2,GSHHS_f_L3,GSHHS_f_L4,WDBII_border_f_L1,WDBII_border_f_L2<br>#bbox=-180,60,180,90<br>#bbox=-6486320.82608643,-6485942.31407885,6486655.95236211,6486510.25174298<br>#bbox=-20037508.342789244,8399737.8898183592,20037508.342789244,238107693.26496765<br>#bbox=-0.0000,0.0000,0.0000,3333134.0276<br>srs=EPSG:3995<br>#projection= +proj=stere +lat_0=90 +lat_ts=-71 +lon_0=0 +k=1 +x_0=0 +y_0=0<br>+ellps=WGS84 +datum=WGS84 +units=m +no_defs<br>extension=png<br>description=GSHHS Polar Stereographic Map<br>extent_type=loose<br>#maxresolution=0.3515625<br>resolutions=0.3515625,0.17578125,0.087890625,0.0439453125<br>#resolutions=0.3515625, 0.17578125, 0.087890625, 0.0439453125,<br>0.02197265625, 0.010986328125, 0.0054931640625, 0.00274658203125,<br>0.001373291015625<br><br>As you can see many lines are commented out.  The bounding box changes and<br>other guesses are just some of
 the things I have tried, in the hours I have<br>spent attempting to get tiles that are not blank.<br><br>The only thing that has worked is when I change the projection back to<br>EPSG:4326 (WGS 84).  My original tile cache for OpenLayers was not polar. <br>That one worked fine.<br><br>Since proj 4's "epsg" file on my system includes a listing for 3995, it<br>seems to me that I should not have to include a separate line to configure<br>it in the tilecache.cfg file.  I have it in the listing above but it is<br>commented out.  If I uncomment it, it has no effect.<br><br>I have not added my Mapserver map file here since it is rather long, but I<br>can paste it if it will help.  <br><br>Gracious thanks for any clues or expertise.  As you may have guessed I still<br>have plenty to learn about these tools!<br><br>Scott C.<br>Cary, NC USA<br><br><br><br>--<br>View this message in context: <a
 href="http://osgeo-org.1560.x6.nabble.com/Clue-Please-TileCache-won-t-make-Polar-Tiles-for-OpenLayers-tp5088297.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Clue-Please-TileCache-won-t-make-Polar-Tiles-for-OpenLayers-tp5088297.html</a><br>Sent from the TileCache mailing list archive at Nabble.com.<br>_______________________________________________<br>Tilecache mailing list<br><a ymailto="mailto:Tilecache@lists.osgeo.org" href="mailto:Tilecache@lists.osgeo.org">Tilecache@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/tilecache" target="_blank">http://lists.osgeo.org/mailman/listinfo/tilecache</a><br><br></div>  </div> </div>  </div> </div></body></html>