Get spatial intersection through attributes in WFS

View: New views
3 Messages — Rating Filter:   Alert me  

Get spatial intersection through attributes in WFS

by Imran_Rajjad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
I need to get the intersection area of two features in the same layer, the tutorial shows that you need to pass the geometery of both features , is it possible to define attributes of feature instead of its geometry and get the spatial intersection. for example Intersect('attrib=1',attrib=2)  or do I need to extract the poslist at the client end for both features and then pass the geometries to the function?
 
thanx
Imran

--
I.R

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Get spatial intersection through attributes in WFS

by Justin Deoliveira-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Imran,

Yes, you will need to the later. WFS only specifies how to deliver data,
doing any sort of processing on it, or deriving any sort of data is out
of range of the spec and more inline with WPS which is something being
worked on but still experimental.

-Justin

Imran Rajjad wrote:

> Hi,
>  
> I need to get the intersection area of two features in the same layer,
> the tutorial shows that you need to pass the geometery of both features
> , is it possible to define attributes of feature instead of its geometry
> and get the spatial intersection. for example
> Intersect('attrib=1',attrib=2)  or do I need to extract the poslist at
> the client end for both features and then pass the geometries to the
> function?
>  
> thanx
> Imran
>
> --
> I.R
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Get spatial intersection through attributes in WFS

by Imran_Rajjad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

thnx for reply, well i did put the same sort of question in another
thread, in which version can you use the WPS service, otherwise do i
need to make a servlet using JTS and add it to GS? is it possible or
do I need to make the whole calculation thing at client end! I`ve
already done that for cliping linear features according to bbox but
the polygon intersection algo is not that easy to implement in the
limited scripting language

regards,
imran

On 11/6/09, Justin Deoliveira <jdeolive@...> wrote:

> Hi Imran,
>
> Yes, you will need to the later. WFS only specifies how to deliver data,
> doing any sort of processing on it, or deriving any sort of data is out
> of range of the spec and more inline with WPS which is something being
> worked on but still experimental.
>
> -Justin
>
> Imran Rajjad wrote:
>> Hi,
>>
>> I need to get the intersection area of two features in the same layer,
>> the tutorial shows that you need to pass the geometery of both features
>> , is it possible to define attributes of feature instead of its geometry
>> and get the spatial intersection. for example
>> Intersect('attrib=1',attrib=2)  or do I need to extract the poslist at
>> the client end for both features and then pass the geometries to the
>> function?
>>
>> thanx
>> Imran
>>
>> --
>> I.R
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@...
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>


--
I.R

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users