<span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; color: rgb(82, 83, 83); -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><div>I couldn't find 900913 in the Spatial Reference List. Does anybody know which one of the following projections uses Google Maps?</div>
<ul><li><a href="http://spatialreference.org/ref/sr-org/6/" style="color: rgb(79, 70, 64); ">SR-ORG:6</a>: Google Projection</li><li><a href="http://spatialreference.org/ref/sr-org/16/" style="color: rgb(63, 97, 127); ">SR-ORG:16</a>: Mercator (world)</li>
<li><a href="http://spatialreference.org/ref/sr-org/95/" style="color: rgb(79, 70, 64); ">SR-ORG:95</a>: Google Maps/Microsoft Live</li><li><a href="http://spatialreference.org/ref/sr-org/98/" style="color: rgb(63, 97, 127); ">SR-ORG:98</a>: Mapy.cz Projection</li>
<li><a href="http://spatialreference.org/ref/sr-org/6627/" style="color: rgb(63, 97, 127); ">SR-ORG:6627</a>: Google Mercator</li><li><a href="http://spatialreference.org/ref/sr-org/6722/" style="color: rgb(79, 70, 64); ">SR-ORG:6722</a>: google map</li>
</ul>I'm also trying to compare with Google Maps my results of measuring distances reprojecting my original SRID-4326 data to some UTM projection but I don't know what is the right one.</span><div><span class="Apple-style-span" style="font-size: 13px; "></span><font class="Apple-style-span" color="#525353" face="Verdana"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Oscar<br>
</span></font><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 8:40 AM, ibrahim saricicek <span dir="ltr"><<a href="mailto:ibrahimsaricicek@gmail.com">ibrahimsaricicek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi;<br><br>For 4326 projection distance unit is in degrees. <br>Google maps use 900913 projection code, and units for this projection.<br>To get the same distance calculation; firstly add 900913 projection to spatial_ref_sys table.<br>

<br>Then use this query<br><br>select st_distance(st_transform(tableA.colB,900913),st_transform(tableA.colC,900913))<br><br>Regards..<br>IBO..<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 1:17 PM, lomarod <span dir="ltr"><<a href="mailto:lomarodpostgis@hotmail.com" target="_blank">lomarodpostgis@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><br>
Hi,<br>
<br>
I have a table "tableA" with the column "colB" and "colC" type geometry.<br>
<br>
tableA.colB = geometryfromtext('POINT('-19.922488 -43.9367')',4326)<br>
tableA.colC = geometryfromtext('POINT('-19.926357 -43.934223')',4326)<br>
<br>
Using google earth or google maps, a have the distance between this two<br>
points in 500 meters.<br>
<br>
When I execute the query<br>
select st_distance(tableA.colB, tableA.colC) from tableA my result is<br>
0,004593984...<br>
<br>
How can I have the same result as google maps ?<br>
What am I doing wrong ?<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://old.nabble.com/ST_distance-in-meters-tp27271750p27271750.html" target="_blank">http://old.nabble.com/ST_distance-in-meters-tp27271750p27271750.html</a><br>
Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</font></blockquote></div><br>
</div></div><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br></div>