[Geoserver-jp] CQL and DWITHIN

Mario Basa mario.basa @ gmail.com
2010年 10月 12日 (火) 10:37:42 EDT


Hello Seto-san,

What I really like about DWITHIN, and CQL in general, is that it easy
to make complicated filters with no programming.

My little demo of DWITHIN is here:

http://demo2.orkney.jp/geothematics/census2005_cql.html

it contains a lot of bugs, but it does show what DWITHIN filters can do.

Regards,

Mario.



On Tue, Oct 12, 2010 at 10:01 PM, Toshikazu SETO (MBPro)
<gr0008sf at ed.ritsumei.ac.jp> wrote:
> Mario-san
>
> Thank you for very nice information!
>
> I hopefully try to ovarley some layers into geothematics.
> For example, facilities point data (cf.shp) and census polygon data.
>
> So, I think CQL and DWITHIN is very interesting.
> I want to try this sample.
>
> best regards.
>
> Mario Basa さんは書きました:
>>
>> Hello again.
>>
>> One of the most useful CQL filter for me now is DWITHIN, because with
>> just one line:
>>
>> cql_filter: dwithin(the_geom,POINT( x y ),radius,"meters")
>>
>> I was able to create a radius filter for both WFS and WMS  requests.
>> The radius parameter though has to be in the same units as that of the
>> layer, so it is best to convert the layer's projection so that the
>> units will be in meters.
>>
>> Anyway, with just that one line, it is easy to create an application
>> that can do Site Analysis and show if a site has a 1 million
>> population within a 10 kilometer radius (半径10km=人口100万人以上). This is
>> actually one the requirements for a Cosco site:
>>
>> http://www.costco.co.jp/real.htm
>>
>> Attached are a couple of screen shots of my little application that
>> uses DWITHIN.
>>
>> Regards,
>>
>> Mario.
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> geoserver-jp mailing list
>> geoserver-jp at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geoserver-jp
>
>


geoserver-jp メーリングリストの案内