Thank you very much guys !!! it worked. i had to adjust the tolerance to about 7.<br>I really appreciate your help guys. cheers !<br><br><div class="gmail_quote">On Thu, Nov 15, 2012 at 6:30 PM, Brent Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Getting Info to work can be a pain. <br>
      <br>
      1. Since GeoMoose uses mapscript for getting info, the LAYER
      object in your mapfile must have:<br>
      <span>        METADATA</span><br>
      <span>
                   'identify_record' '</span><tt><small>templates/identify.html</small></tt><span>'</span><br>
      <span>
      </span><span>      
        END  </span><br>
      The path is relative to the file system location of your mapfile.<br>
      <br>
      Also add the following to the LAYER:<br>
      <span>          
        TOLERANCE 0  # use 0 for TYPE POLYGON</span><br>
      <span>
                  TOLERANCEUNITS PIXELS</span><br>
      <br>
      <br>
      2. Your info template file must contain this as a first line:<br>
      <span>    <!--
        MapServer Template --></span><br>
      <br>
      <br>
      3. The EXTENT in your mapfile's MAP object will act as a spatial
      filter.  Only objects inside/intersecting with the EXTENT will be
      returned.<br>
      <br>
      <pre cols="72">Best Regards,
Brent Fraser</pre><div><div class="h5">
      On 11/15/2012 8:01 AM, moff mofire wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">yes its 4326.<br>
      <br>
      I have managed to get rid of the error that was popping out, but
      now when i click on the layer using the identify tool i only get
      the coordinates.<br>
      I guess my mapbook had some errors i had to go through it line by
      line comparing with the original mapbook.<br>
      <br>
      Any help????<br>
      <br>
      <div class="gmail_quote">On Thu, Nov 15, 2012 at 5:47 PM, Brent
        Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div>What is your display coordinate system? 4326?<br>
              <pre cols="72">Best Regards,
Brent Fraser</pre>
              <div>
                <div> On 11/14/2012 10:48 PM, moff mofire
                  wrote:<br>
                </div>
              </div>
            </div>
            <div>
              <div>
                <blockquote type="cite">Thank you very much guys for
                  your help. But my problem is still there, I have tried
                  to change the tolerance and also add the "the_geom
                  FROM county using unique oid using srid=4326 " but
                  still no change. I have even tried to rename the
                  postgis table columns but no change. The layer is
                  displaying perfectly. find attached the altered
                  mapfile and identify.html<br>
                  <br>
                  I am so frustrated and i want to use this application
                  for my masters degree project.<br>
                  <br>
                  <div class="gmail_quote">On Wed, Nov 14, 2012 at 9:14
                    PM, Eli Adam <span dir="ltr"><<a href="mailto:eadam@co.lincoln.or.us" target="_blank">eadam@co.lincoln.or.us</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div class="gmail_quote">
                        <div>On Wed, Nov 14, 2012 at 10:12 AM, Anderson,
                          Dean <span dir="ltr"><<a href="mailto:anderson.dean@co.polk.or.us" target="_blank">anderson.dean@co.polk.or.us</a>></span>
                          wrote:<br>
                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I think the
                            "TEMPLATE O" is misstyped and should
                            probably be "TOLERANCE 0". At least that
                            would make it more consistent with the
                            demo. <span></span></blockquote>
                        </div>
                        <div><br>
                          Might want to try TOLERANCE 20 too.  <br>
                          <span><font color="#888888"> <br>
                              Eli<br>
                               </font></span></div>
                        <div>
                          <div>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><font color="#888888">
                                  <div>Dean </div>
                                </font></span>
                              <div>
                                <div>
                                  <div><br>
                                    <div><br>
                                      <div class="gmail_quote"> On Wed,
                                        Nov 14, 2012 at 10:07 AM, Eli
                                        Adam <span dir="ltr"><<a href="mailto:eadam@co.lincoln.or.us" target="_blank">eadam@co.lincoln.or.us</a>></span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
                                          <div class="gmail_quote">
                                            <div>On Wed, Nov 14, 2012 at
                                              2:50 AM, moff mofire <span dir="ltr"><<a href="mailto:githiro@gmail.com" target="_blank">githiro@gmail.com</a>></span>
                                              wrote:<br>
                                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                Thank you very much
                                                Anderson for your reply.
                                                Please find attached my
                                                mapfile and
                                                identify.html.<br>
                                              </blockquote>
                                            </div>
                                            <div><br>
                                              <br>
                                              Moff,<br>
                                              <br>
                                              Does you layer display
                                              properly?  <br>
                                              <br>
                                              I'm not sure that you need
                                              "TEMPLATE O" in your map
                                              file.<br>
                                              <br>
                                              Sometimes PostGIS
                                              connections can work
                                              better more like (copied
                                              from, <a href="http://www.mapserver.org/input/vector/postgis.html" target="_blank">http://www.mapserver.org/input/vector/postgis.html</a>):

                                              <br>
                                              <pre>DATA "the_geom from the_database using unique gid using srid=4326"</pre>
                                              <span><font color="#888888"> <br>
                                                  Eli<br>
                                                  <br>
                                                   </font></span></div>
                                            <div>
                                              <div>
                                                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Also
                                                  this how i have called
                                                  the layer on mapbook;<br>
                                                  ...........<br>
                                                  <map-source
                                                  name="county"
                                                  type="mapserver"><br>
                                                         
                                                  <file>./demo/parcels/parcels.map</file><br>
                                                          <layer
                                                  name="county"
                                                  status="on"/><br>
                                                          <param
                                                  name="FORMAT"
                                                  value="image/png;bits=8"/><br>
                                                     
                                                  </map-source><br>
                                                  <br>
                                                  .........<br>
                                                  <br>
                                                  <catalog><br>
                                                      <br>
                                                          <group
                                                  title="Base
                                                  Layers"><br>
                                                  <br>
                                                              <br>
                                                              <layer
                                                  title="County"
                                                  src="county/county" 
                                                  legend="true"
                                                  tip="County layer"
                                                  show-legend="true"
                                                  fade="false"
                                                  unfade="false"/><br>
                                                              <br>
                                                              <br>
                                                              <br>
                                                          </group><br>
                                                  <br>
                                                          <br>
                                                      </catalog>
                                                  <div>
                                                    <div><br>
                                                      <br>
                                                      <br>
                                                      <div class="gmail_quote">On

                                                        Wed, Nov 14,
                                                        2012 at 12:42
                                                        AM, Anderson,
                                                        Dean <span dir="ltr"><<a href="mailto:anderson.dean@co.polk.or.us" target="_blank">anderson.dean@co.polk.or.us</a>></span>
                                                        wrote:<br>
                                                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please

                                                          send the
                                                          mapfile for
                                                          your identify
                                                          as an
                                                          attachment and
                                                          where you call
                                                          the mapfile
                                                          from your
                                                          mapbook.xml. 
                                                          <div> <br>
                                                          </div>
                                                          <div>Thanks </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Dean</div>
                                                          <div><br>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          <br>
                                                          <div class="gmail_quote">
                                                          <div>
                                                          <div> On Tue,
                                                          Nov 13, 2012
                                                          at 1:01 PM,
                                                          moff mofire <span dir="ltr"><<a href="mailto:githiro@gmail.com" target="_blank">githiro@gmail.com</a>></span>
                                                          wrote:<br>
                                                          </div>
                                                          </div>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div>
                                                          <div> Please
                                                          someone help
                                                          me solve this
                                                          problem !<br>
                                                          <br>
                                                          Error Calling
                                                          the server:<br>
                                                          TypeError:
                                                          Application.getMapSource(
                                                          <div>layerName)

                                                          is undefined<br>
                                                          <br>
                                                          This error
                                                          appears when i
                                                          try to use the
                                                          identify or
                                                          select tool on
                                                          a postgis
                                                          layer.<br>
                                                          I would
                                                          appreciate any
                                                          assistance.</div>
                                                          <br>
                                                          </div>
                                                          </div>
_______________________________________________<br>
                                                          Geomoose-users
                                                          mailing list<br>
                                                          <a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
                                                          <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          <span><font color="#888888"><br>
                                                          <br clear="all">
                                                          <div><br>
                                                          </div>
                                                          -- <br>
                                                          <div>Dean R
                                                          Anderson </div>
                                                          <div>IT
                                                          Director </div>
                                                          <div>Polk
                                                          County</div>
                                                          <br>
                                                          </font></span></div>
                                                          </div>
                                                        </blockquote>
                                                      </div>
                                                      <br>
                                                    </div>
                                                  </div>
                                                  <br>
_______________________________________________<br>
                                                  Geomoose-users mailing
                                                  list<br>
                                                  <a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
                                                  <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
                                                  <br>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </div>
                                          <br>
                                        </blockquote>
                                      </div>
                                      <br>
                                      <br clear="all">
                                      <div><br>
                                      </div>
                                      -- <br>
                                      <div>Dean R Anderson </div>
                                      <div>IT Director </div>
                                      <div>Polk County</div>
                                      <br>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
Geomoose-users mailing list
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
                </blockquote>
                <br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br>