<html><head><style type="text/css">body, p, li { font-family: NokiaPureTextLight; }</style></head><body><div id="fenix-user-content">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">Another aproach could be to compare angles in each vertex "corner". If all angles are the same in some sort of tolerance the shape should be the same. </span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'NokiaPureTextLight';"><br></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">Jusr a thought</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'NokiaPureTextLight';"><br></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">/Nicklas<br><br>--<br></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">Sendt fra min Nokia N9<br></span></p></div><br><div id="fenix-reply-header"><p>09.05.12 18:41 skrev Bob Pawley:<br></p></div><div id="fenix-quoted-body"><div>
Hi Sandro<br>
<br>
</div>
<div>
Absolutely, if it's something people want.<br>
<br>
</div>
<div>
I developed the first part a few months ago, just as something to do . I <br>
compare relative distance of points(intersections) of the object, overriding <br>
the actual distances(size) and ignoring any spatial reference (placement).<br>
<br>
</div>
<div>
The result is an array set of numbers that should match if the two objects <br>
are the same.<br>
<br>
</div>
<div>
This system can be easily scaled to improve resolution. At the moment I use <br>
a resolution of 100 points.<br>
<br>
</div>
<div>
I still need to develop a method of analyzing the arrays ( and perhaps, <br>
giving a percent evaluation of sameness) for which I have some ideas.<br>
<br>
</div>
<div>
I will probably need some help in making it an actual Postgis function if <br>
that is what you have in mind.<br>
<br>
</div>
<div>
Bob<br>
<br>
<br>
</div>
<div>
-----Original Message----- <br>
From: Sandro Santilli<br>
Sent: Wednesday, May 09, 2012 9:13 AM<br>
To: PostGIS Users Discussion<br>
Subject: Re: [postgis-users] Same, similar et al<br>
<br>
</div>
<div>
On Wed, May 09, 2012 at 09:06:15AM -0700, Bob Pawley wrote:<br>
> Hi Steve<br>
><br>
> FYI - I'm not involved in the geography side of Postgis, I'm<br>
> developing an application to analyze engineering drawings. So, same<br>
> in shape even if the shapes are spatially diverse is what I was<br>
> looking for.<br>
><br>
> However, since this function doesn't exist I will need to develop <br>
> something.<br>
<br>
</div>
<div>
Will you share it ?<br>
<br>
</div>
<div>
--strk;<br>
</div>
<div>
_______________________________________________<br>
</div>
<div>
postgis-users mailing list<br>
</div>
<div>
<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">http://postgis.refractions.net/mailman/listinfo/postgis-users</a> <br>
<br>
_______________________________________________<br>
</div>
<div>
postgis-users mailing list<br>
</div>
<div>
<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">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br>
<br>
</div>
</div><br></body></html>