<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=638460116-14112007><FONT face=Arial color=#0000ff size=2>If you 
use this same connection info and data, can you get it to display as a line 
layer using mode=map?</FONT></SPAN></DIV>
<DIV><SPAN class=638460116-14112007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=638460116-14112007><FONT face=Arial color=#0000ff size=2>If 
not, I would debug this as a normal layer first and then convert it to a WMS 
layer.</FONT></SPAN></DIV>
<DIV><SPAN class=638460116-14112007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=638460116-14112007><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Steven 
  De Vriendt<BR><B>Sent:</B> Wednesday, November 14, 2007 9:55 AM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] 
  Migrating from Windows to Linux: trouble with 
  mapfiles<BR><BR></FONT></DIV>Gregor:<BR>this is my layer-setup for 
  postgis-wms..<BR>am I missing out something ?<BR><BR><BR>LAYER<BR>&nbsp;&nbsp; 
  NAME "grens"<BR>&nbsp;&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp; "wms_title" 
  "gemeentegrens"<BR>&nbsp;&nbsp; END<BR>&nbsp;&nbsp; CONNECTIONTYPE postgis 
  <BR>&nbsp;&nbsp; CONNECTION "host=<A href="http://80.201.239.208/" 
  target=_blank>******</A> port=**** dbname=***** user=****** 
  password=*****"<BR>&nbsp;&nbsp; DATA "the_geom from 
  alrgemline"<BR>&nbsp;&nbsp; TYPE LINE<BR>&nbsp;&nbsp;&nbsp; 
  CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "KadScan"<BR>&nbsp;&nbsp;&nbsp; COLOR 221 221 
  221<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 238 238 238 <BR>&nbsp; 
  END<BR>&nbsp;&nbsp;&nbsp; PROJECTION<BR>&nbsp;&nbsp;&nbsp; 
  "init=epsg:31300"<BR>&nbsp;<BR>&nbsp;&nbsp; END<BR><BR><BR>
  <DIV class=gmail_quote>On Nov 14, 2007 4:06 PM, Steven De Vriendt &lt;<A 
  href="mailto:gisaalter@gmail.com">gisaalter@gmail.com</A> &gt; wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Ok, 
    thanks all.<BR>With the help from Kyle"s file I was able to access my 
    mapserver, still I do get an error <BR><BR>msEvalRegex(): Regular expression 
    error. String (/etc/mapserver/wmsserver.map?) failed expression test. 
    <BR><BR>I will search the archives whats causing this...<BR><BR>Thanks !
    <DIV>
    <DIV></DIV>
    <DIV class=Wj3C7c><BR><BR><BR><BR>
    <DIV class=gmail_quote>On Nov 14, 2007 4:02 PM, Ed McNierney &lt; <A 
    href="mailto:ed@topozone.com" target=_blank>ed@topozone.com</A>&gt; 
    wrote:<BR>
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Steven 
      - <BR><BR>In addition to Kyle's example and info, one of the most likely 
      problems is that you're moving from an operating system that is not 
      case-sensitive to one that is. &nbsp;If your mapfile refers to the file 
      XYZZY and on Windows you have a file named xyzzy, that file will be found. 
      &nbsp;On Linux it will not be found, as XYZZY and xyzzy are two different 
      filenames. <BR><BR>&nbsp; &nbsp; - Ed<BR><BR>Ed 
      McNierney<BR>TopoZone.com<BR><BR>________________________________<BR><BR>From: 
      UMN MapServer Users List on behalf of Steven De Vriendt<BR>Sent: Wed 
      11/14/2007 9:24 AM<BR>To: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" 
      target=_blank>MAPSERVER-USERS@LISTS.UMN.EDU</A><BR>Subject: 
      [UMN_MAPSERVER-USERS] Migrating from Windows to Linux: trouble with 
      mapfiles<BR>
      <DIV>
      <DIV></DIV>
      <DIV><BR><BR>Hi list,<BR><BR>I'm migrating from windows to linux (ubuntu) 
      but I have some trouble getting a map-file to work. <BR>I want to be able 
      to access my server as wms but I'm not sure what to look out for 
      when<BR>making a map-file. I'm having trouble with path-names 
      etc...<BR><BR>Can someone give me an example of a working mapfile for 
      Linux ? <BR><BR>That would be great !<BR><BR>Thanks 
      !<BR><BR>Steven<BR><BR><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>