<div dir="ltr">Yes, this should be done with the ST_Equals function: <a href="http://postgis.net/docs/ST_Equals.html">http://postgis.net/docs/ST_Equals.html</a><div>From the docs: "<span style="color:rgb(46,46,46);font-family:"Lucida Grande",Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:13.3333px">Returns true if the given geometries represent the same geometry. Directionality is ignored."</span></div><div><span style="color:rgb(46,46,46);font-family:"Lucida Grande",Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(46,46,46);font-family:"Lucida Grande",Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:13.3333px">Best, </span></div><div><span style="color:rgb(46,46,46);font-family:"Lucida Grande",Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:13.3333px">  Tom</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 19, 2017 at 7:55 PM, Basques, Bob (CI-StPaul) <span dir="ltr"><<a href="mailto:bob.basques@ci.stpaul.mn.us" target="_blank">bob.basques@ci.stpaul.mn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
I’m trying to remove all duplicated parcel edges from an exploded parcel dataset.  I have a set of 2 point line segments and I’ve been able to find the geom duplicates ok witha window partition, but the number was really low.  Upon examining the data more closely,
 I figured out that the majoirty of the duplicates are indeed the same line, but the end points are swapped around, so they appear in the window as different feature.
<div><br>
</div>
<div>Anyone have a SQL chunk/function that I should look at to get to this matching of spatial location?  </div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>bobb</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div style="color:rgb(0,0,0);font-family:'Comic Sans MS';font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br class="m_-5359812668341210610Apple-interchange-newline">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:'Comic Sans MS';font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<dt>"Be nice to people on your way up because you meet them on your way down."<span class="m_-5359812668341210610Apple-converted-space"> </span></dt><dd>- Jimmy Durante
<div><br>
</div>
</dd></div>
<br class="m_-5359812668341210610Apple-interchange-newline">
</div>
<br>
</div>
</div>

<br>______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>