<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Amila,<br>
      <br>
        There are a couple of problems in your map file.  Have a look in
      your mapserver error log (/ms4w/tmp/ms_error.txt?) for details.  I
      used mapserver's shp2img command line program to parse the map
      file:<br>
      <br>
      <tt>shp2img -m kysitesutmrd1.map -o kysitesutmrd1.png</tt><tt><br>
      </tt><tt>getDouble(): Symbol definition error. Parsing error near
        (,):(line 5) <br></tt><br>
      <br>
      so i made the following changes:<br>
      <br>
      <tt># Use spaces instead of commas:</tt><tt><br>
      </tt><tt>#    EXTENT 
        8887274.859924,787036.529767,9096903.423788,852344.927174</tt><tt><br>
      </tt><tt>    EXTENT  8887274.859924 787036.529767 9096903.423788
        852344.927174</tt><br>
      <br>
      and EXTENT expects X Y X Y; these look more like Y X Y X so you
      may need to swap the values.  I had a look at the shapefile using
      GDAL's ogrinfo:<br>
      <br>
      <tt>ogrinfo -so  KYsitesUTMRD.shp KYsitesUTMRD</tt><tt><br>
      </tt><tt>INFO: Open of `KYsitesUTMRD.shp'</tt><tt><br>
      </tt><tt>      using driver `ESRI Shapefile' successful.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>Layer name: KYsitesUTMRD</tt><tt><br>
      </tt><tt>Geometry: Point</tt><tt><br>
      </tt><tt>Feature Count: 92</tt><tt><br>
      </tt><tt>Extent: (456029.823976, 801937.311301) - (467996.155898,
        808358.268919)</tt><br>
      :<br>
      <br>
      so I used <br>
          <tt>EXTENT 456029 801937 467996 808358</tt><br>
      <br>
      And another problem in the LAYER:<br>
      <tt>loadLayer(): Unknown identifier. Parsing error near
        (CLOSE_CONNECTION=DEFER):(line 61) <br>:</tt><tt><br>
      </tt><tt><br>
      </tt><tt># Use PROCESSING directive:</tt><tt><br>
      </tt><tt>#        CLOSE_CONNECTION=DEFER</tt><tt><br>
      </tt><tt>        PROCESSING "CLOSE_CONNECTION=DEFER"</tt><br>
      <br>
      and you'll likely need a PROJECTION block for your LAYER
      definition if the data is stored in the database in EPSG:4326<br>
      <br>
      <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
      On 5/6/2014 11:23 PM, Amila Karunathilake wrote:<br>
    </div>
    <blockquote
cite="mid:CALrT7ufmg_7ReU0DeSZz-G5Q4KqP5Oh58dOX=yLuQcDvzzhYCg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr">
            <div class="gmail_quote">
              <div dir="ltr">Dear Sir,
                <div><br>
                </div>
                <div>I'm PhD student from university of Peradeniya,
                  Srilanka.</div>
                <div>I'm having a problem with displaying my shape file
                  on top of</div>
                <div>geomoose interface (It display pink color when
                  active layer).</div>
                <div><br>
                </div>
                <div>Herewith i attache my map file and shape file,
                  would you please</div>
                <div>let me know any correction. Your kind attention for
                  this matter </div>
                <div>highly appreciated.</div>
                <div><br>
                </div>
                <div>Thank you.</div>
                <span class="HOEnZb"><font color="#888888">
                    <span><font color="#888888">
                        <div><br>
                        </div>
                        <div>Amila.</div>
                      </font></span></font></span></div>
            </div>
            <br>
          </div>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>