mapserver error

Lee Keel lee_keel at TRIMBLE.COM
Fri Jan 18 10:40:49 PST 2008


Thomas,
 
The main layer is a single layer.  It is not a group layer and I have removed all labels.  The basemap is a group layer that is coming from tilecache as a base layer.  The basemap layer works 100% of the time, its the main that is not working.  So even though the basemap is working all the time, could that be causing the other layer to not work?  
 
Meanwhile, I will continue to follow all the layers from the groups and make sure they don't have the angle follow.
 
Thanks,
Lee

________________________________

From: thomas bonfort [mailto:thomas.bonfort at gmail.com]
Sent: Fri 1/18/2008 10:39 AM
To: Lee Keel
Cc: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] mapserver error



coming back again at my angle follow question...
the layers you request, ie main and/or basemap are layer groups right,
not just single layers. can you make sure that angle follow is
disabled for *all* layers in the corresponding group.
just checking 'cause there was a recently fixed problem here that
could have multiple effects when using follow labels and non ascii
characters

tb

On Jan 18, 2008 4:21 PM, Lee Keel <lee_keel at trimble.com> wrote:
> Thanks Ed.  I will do that.  Was just trying not to cross post and hoping that there were enough of the OL guys on this list.  But I will fwd on to OL list.
>
> ________________________________
>
> From: UMN MapServer Users List on behalf of Ed McNierney
> Sent: Fri 1/18/2008 8:58 AM
>
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] mapserver error
>
>
>
> Lee -
>
> While you might get info here, you should also post this to the
> OpenLayers list to get info on "what's different in OL".
>
>         - Ed
>
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
> Behalf Of Lee Keel
> Sent: Friday, January 18, 2008 9:43 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] mapserver error
>
> Hello all.
>
> I have a new twist to my problem that I believe rules
> mapserver->postgres out.  I added a layer last night that are the labels
> for the roads and I am getting both problems with this layer now as
> well.  However, these labels are coming from TIGER shape files instead
> of postgres.
>
> Here is something else I have monkeyed with.  If I use
> http://webserver/cgi-bin/mapserv.exe?map=/mapserver/pc/gas.map&layers=ba
> semap+basemap_anno) then all of my layers seem to be working at any zoom
> level.  But if I go to my openlayers application, they don't always
> work.  If you get a layer not working in the OL app and check the URL,
> it doesn't seem to be incorrect.  So what is the difference between OL
> requesting from mapserver based on a bbox and the HTML below requesting
> an image from mapserver?
>
> Sorry for my newby questions and 1,000s of emails, but just trying to
> narrow this down.
>
> Thanks,
> LK
>
>
> Map File Settings for WEB:
>
>  WEB
>   TEMPLATE  'gas.html'
>   IMAGEPATH "d:/ms4w/tmp/ms_tmp/"
>   IMAGEURL "/ms_tmp/"
>   LOG "gas.log"
>   METADATA
>    wms_title "WMS"
>    wms_onlineresource
> "http://webserver/cgi-bin/mapserv.exe?map=/mapserver/pc/gas.map
> <http://webserver/cgi-bin/mapserv.exe?map=/mapserver/pc/gas.map> &"
>    "wms_srs" "EPSG:2238"
>    "WMS_FEATURE_INFO_MIME_TYPE" "text/html"
>   end
>  END
>
> Gas.HTML File that is being used:
> <html xmlns="http://www.w3.org/1999/xhtml <http://www.w3.org/1999/xhtml>
> ">
> <head>
>   <meta name="generator" content="HTML Tidy for Windows (vers 1st June
> 2004), see www.w3.org <http://www.w3.org <http://www.w3.org%20%3chttp//www.w3.org/> > > " />
>
>   <title>MapServer Workshop (panamacity)</title>
>   <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"
> />
> </head>
> <body bgcolor="#FFFFFF" text="#000000">
>   <h3></h3>
>   <!-- START OF MAPSERVER FORM -->
>   <form name="mapserv" method="get"
> action="http://webserver/cgi-bin/mapserv.exe
> <http://webserver/cgi-bin/mapserv.exe> " id="mapserv">
>     <!-- HIDDEN MAPSERVER CGI VARIABLES -->
>     <input type="hidden" name="map" value="[map]" />
>  <input type="hidden" name="imgext" value="[mapext]" />
>  <input type="hidden" name="imgxy" value="199.5 149.5" />
>
>     <table>
>       <tr>
>         <td>
>           <!-- SPECIFY MAP MODE -->
>           <div align="center">Map Mode:
>             <select name="mode">
>      <option value="browse">Browse</option>
>      <option value="map">Map</option>
>             </select>
>             Layers: <input type="TEXT" name="layers" value="[layers]" />
>           </div>
>         </td>
>         <td>
>           <!-- FORM SUBMIT BUTTON -->
>           <div align="center">
>             <input type="submit" name="submit" value="Refresh" />
>           </div>
>         </td>
>         <td>
>           <!-- ZOOM/PAN CONTROLS -->
>           <div align="center">Map Control:
>             <select name="zoom">
>               <option value="4" [zoom_4_select]>Zoom In 4x</option>
>               <option value="3" [zoom_3_select]>Zoom In 3x</option>
>               <option value="2" [zoom_2_select]>Zoom In 2x</option>
>               <option value="1" [zoom_1_select]>Recenter</option>
>               <option value="-2" [zoom_-2_select]>Zoom Out 2x</option>
>               <option value="-3" [zoom_-3_select]>Zoom Out 3x</option>
>               <option value="-4" [zoom_-4_select]>Zoom Out 4x</option>
>             </select>
>           </div>
>         </td>
>         <td rowspan="2" valign="top">
>           <!-- <p>Reference:<br />
>            <img name="ref" src="[ref]" id="ref" />
>     </p> -->
>     <p>Legend:<br />
>            <img name="legend" src="[legend]" id="legend" />
>     </p>
>         </td>
>       </tr>
>       <tr>
>         <!-- DISPLAY THE MAPSERVER-CREATED MAP IMAGE -->
>         <td colspan="3" align="center" valign="top">
>           <input type="image" name="img" src="[img]" width="800"
> height="600" border="0" />
>           <table border="0" width="600" align="center">
>             <!-- DISPLAY THE SCALE BAR -->
>             <tr>
>               <td align="right"><!-- <img src="[scalebar]" /> --></td>
>             </tr>
>           </table>
>         </td>
>       </tr>
>     </table>
>
>  <input name="mapxy" type="text" value="[mapx] [mapy]" />
>   </form>
>
>   <p>Map scale 1:[scale]</p>
>   <p>Pixel size [cellsize]</p>
>   <p>Extents [minx], [miny], [maxx], [maxy]</p>
>   <p>Map size (screen) [mapsize]</p>
>   <p>Map width [mapwidth]</p>
>   <p>Map height [mapheight]</p>
>   <p>Map [map]</p>
>   <p>Layers [layers]</p>
> </body>
> </html>
> <plaintext>
>



More information about the MapServer-users mailing list