[postgis-devel] st_dwithin, st_within, st_dcompletlywithin
nicklas.aven at jordogskog.no
nicklas.aven at jordogskog.no
Tue Jul 7 05:15:39 PDT 2009
I think ST_DFullyWithin sounds great.
Is it ok if I put this to in ticket #137. In the code they are all close related, st_distance, st_max_distace, st_shortestline, st_longestline, st_dwithin, st_dfullywithin
I have a patch for the trunk that seems to work, but I haven't tested more than randomly. I will try to build cunit-tests but I think it is difficult to get the make check thing work at all. In windows I get som problems and in ubuntu I get permission-problems. I'm new to Linux.
I also just have become a father :-) two weeks ago so my sparetime for learning new things has drastically decreased.
/Nicklas
2009-07-07 Paragon Corporation wrote:
Paul and Nicklas,
>
>I think we had suggested calling it ST_DFullyWithin or maybe that was my
>idea.
>
>http://trac.osgeo.org/postgis/ticket/20
>
>Though I guess we closed this out when we put the short circuit in for
>ST_DWithin. We probably should resurrect or add it as a separate ticket.
>Nicklas since you are working on it, you want to add it as a trac item.
>
>Thanks,
>Regina
>
>
>
>-----Original Message-----
>From: postgis-devel-bounces at postgis.refractions.net
>[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Paul
>Ramsey
>Sent: Monday, July 06, 2009 7:23 PM
>To: PostGIS Development Discussion
>Subject: Re: [postgis-devel] st_dwithin, st_within, st_dcompletlywithin
>
>It gets even more confusing if you note that some members of the WFS working
>group insist that the semantics of the WithinDistance OGC filter op are the
>semantics of your proposed function, rather than the semantics of dwithin.
>
>P
>
>On Mon, Jul 6, 2009 at 4:19 PM, wrote:
>> Hallo
>>
>> This is a semantic question.
>> I'm working with the new functions st_shortestline etc.
>> I found that we can get another new function for free when we have
>> implemented st_max_distance. By using the max-calculation instead of
>> min-calculation the same way as st_dwithin, we insead get
>> "st_dcompletlywithin" the function returns true if the maximum
>> distance between the geometries is shorter than the third input.
>>
>> My question is (beside the question if this is something useble), what
>> to call the function. I think it easily can be confusing. I mean,
>> st_within and st_dwithin is two quite similar names wich is ok because
>> they don't really relate to eachother in what they do, but if we add a
>> function that do the same as st_dwithin but whith the difference that
>> the geometries has to be completly inside the given distance of
>> eachother, maybe we risk making it confusing. I guess
>> st_dcompletlywithin is maybe the most describing, but very long.
>>
>> Greetings
>> Nicklas
>>
>>
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>
>>
>_______________________________________________
>postgis-devel mailing list
>postgis-devel at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
>
>_______________________________________________
>postgis-devel mailing list
>postgis-devel at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090707/e5b74c09/attachment.html>
More information about the postgis-devel
mailing list