<html><body><div style="color:; background-color:; font-family:arial, helvetica, sans-serif;font-size:10pt">Thanks for the reply.<br><br>Using you example indicated below, is there a way of getting the values of the point i.e the Lat, Long without manually entering the values like <br><pre class="yiv101445035literal-block">[100.0, 0.0] and so on. This is when am reading a shape file stored in postgis and it doesn't have a column for X and Y.</pre><div><span><br></span></div><div> </div><div><b><font face="times new roman"></font></b><font face="tahoma, new york, times, serif"> </font></div><div><font face="tahoma, new york, times, serif"> </font></div><div><b></b><font face="tahoma, new york, times, serif" size="2"> </font></div><div><b><font face="tahoma, new york, times, serif" size="2">Respectfully yours,</font></b></div><div><b></b><font face="tahoma, new york, times, serif" size="2"> </font></div><div><b><font face="tahoma,
 new york, times, serif" size="2">********************************************</font></b></div><div><b></b><font face="tahoma, new york, times, serif" size="2"> </font></div><div><b><font face="tahoma, new york, times, serif" size="2">Ngugi Kimani M.</font></b></div><div align="left"><b><font face="tahoma, new york, times, serif" size="2">P.O. Box 449 - 00520 </font></b></div><div align="left"><b><font face="tahoma, new york, times, serif" size="2">Ruai, Kenya.</font></b></div><div align="left"><b><font face="tahoma, new york, times, serif" size="2">Tel: +254-721324886 </font></b></div><div align="left"><b><font face="tahoma, new york, times, serif" size="2">Email: </font><a rel="nofollow" target="_blank" href="mailto:kimanimike2002@yahoo.com"><font face="tahoma, new york, times, serif" size="2">kimanimike2002@yahoo.com</font></a><br></b></div><div align="left"><font face="tahoma, new york, times, serif" size="2"> </font></div><div
 dir="ltr"><b><font face="tahoma, new york, times, serif" size="2">********************************************</font></b></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Matt Priour <mpriour@kestrelcomputer.com><br> <b><span style="font-weight: bold;">To:</span></b> geojson@lists.geojson.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, December 13, 2012 6:16 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Geojson] Query<br> </font> </div> <br><div id="yiv101445035">
  

    
  
  <div>
    I'm not sure I understand your question.<br>
    Your example is a polygon, not a point. A point is represented like
    this:<br>
    <br>
    { "type": "Point", "coordinates": [100.0, 0.0] }<br>
    <br>
    or a feature collection of points:<br>
    <br>
    <pre class="yiv101445035literal-block">{ "type": "FeatureCollection",
  "features": [
    { "type": "Feature1",
      "geometry": { "type": "Point", "coordinates": [100.0, 0.0] },
      "properties": {"prop0": "value0"}
      },
{ "type": "Feature2",
      "geometry": { "type": "Point", "coordinates": [90.0, 60.0] },
      "properties": {"prop0": "value1", "foo":"bar"}
      }]
}

</pre>
    <br>
    <big>Matt Priour</big><br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div class="yiv101445035moz-cite-prefix">On 12/13/2012 7:23 AM, Michael Ngugi
      Kimani wrote:<br>
    </div>
    <blockquote type="cite">
      <div style="font-family:arial, helvetica, sans-serif;font-size:10pt;">
        <div><span><br>
          </span></div>
        <div> 
          <div><span>Hallo all,</span></div>
          <div style="color:rgb(0, 0,
            0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br>
            <span></span></div>
          <div style="color:rgb(0, 0,
            0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><span>Using

              the example below of displaying  point is there a way of
              reading the coordinates automatically since getting the
              coordinates of several polygon might be alot of work.<br>
            </span></div>
          <div style="color:rgb(0, 0,
            0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br>
            <span></span></div>
          <div style="color:rgb(0, 0,
            0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br>
          </div>
          <pre class="yiv101445035literal-block">{ "type": "FeatureCollection",
  "features": [
    { "type": "Feature",
      "geometry": {"type": "Polygon", "coordinates": [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0],
             [100.0, 1.0], [100.0, 0.0] ]
           ]},
      "properties": {"prop0": "value0"}
      }]
}
</pre>
          <div style="color:rgb(0, 0,
            0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><span><br>
            </span></div>
        </div>
        <div><font face="tahoma, new york, times, serif"> </font></div>
        <div><font face="tahoma, new york, times, serif"> </font></div>
        <div><font face="tahoma, new york, times, serif" size="2"> </font></div>
        <div><b><font face="tahoma, new york, times, serif" size="2">Respectfully
              yours,</font></b></div>
        <div><font face="tahoma, new york, times, serif" size="2"> </font></div>
        <div><b><font face="tahoma, new york, times, serif" size="2">********************************************</font></b></div>
        <div><font face="tahoma, new york, times, serif" size="2"> </font></div>
        <div><b><font face="tahoma, new york, times, serif" size="2">Ngugi
              Kimani M.</font></b></div>
        <div align="left"><b><font face="tahoma, new york,
              times, serif" size="2">P.O. Box 449 - 00520 </font></b></div>
        <div align="left"><b><font face="tahoma, new york,
              times, serif" size="2">Ruai, Kenya.</font></b></div>
        <div align="left"><b><font face="tahoma, new york,
              times, serif" size="2">Tel: +254-721324886 </font></b></div>
        <div align="left"><b><font face="tahoma, new york,
              times, serif" size="2">Email: </font><a rel="nofollow" ymailto="mailto:kimanimike2002@yahoo.com" target="_blank" href="mailto:kimanimike2002@yahoo.com"><font face="tahoma, new york, times, serif" size="2">kimanimike2002@yahoo.com</font></a><br>
          </b></div>
        <div align="left"><font face="tahoma, new york, times,
            serif" size="2"> </font></div>
        <div dir="ltr"><b><font face="tahoma, new york, times,
              serif" size="2">********************************************</font></b></div>
      </div>
      <br>
      <fieldset class="yiv101445035mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Geojson mailing list
<a rel="nofollow" class="yiv101445035moz-txt-link-abbreviated" ymailto="mailto:Geojson@lists.geojson.org" target="_blank" href="mailto:Geojson@lists.geojson.org">Geojson@lists.geojson.org</a>
<a rel="nofollow" class="yiv101445035moz-txt-link-freetext" target="_blank" href="http://lists.geojson.org/listinfo.cgi/geojson-geojson.org">http://lists.geojson.org/listinfo.cgi/geojson-geojson.org</a>
</pre>
    </blockquote>
    <br>
  </div>

</div><br>_______________________________________________<br>Geojson mailing list<br><a ymailto="mailto:Geojson@lists.geojson.org" href="mailto:Geojson@lists.geojson.org">Geojson@lists.geojson.org</a><br><a href="http://lists.geojson.org/listinfo.cgi/geojson-geojson.org" target="_blank">http://lists.geojson.org/listinfo.cgi/geojson-geojson.org</a><br><br><br> </div> </div> </blockquote></div>   </div></body></html>