how to use a filter in a wms kvp request

9 messages Options
Embed this post
Permalink
Jayeeta Mukherjee

how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
Hi all,
          I am using deegree wms with my own data.i want to use a filter in a kvp request.how to use a filter in a kvp request?

--
Thanks & Regards
Jayeeta Mukherjee
MS(SIT)
JPA,GIS Lab
IIT Kharagpur
Kharagpur  721302

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Judit Mays

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Jayeeta,

as I suggested two days ago: please read the description in the deegree
wiki regarding this topic:
http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD

I created the page to answer exactly this question. If you have problems
with a certain detail, then please explain what it is that you do not
understand. Then, maybe, someone might be able to help you further.

Kind regards,
Judit Mays


Jayeeta Mukherjee schrieb:
> Hi all,
>           I am using deegree wms with my own data.i want to use a filter
> in a kvp request.how to use a filter in a kvp request?
>

Jayeeta Mukherjee schrieb:

> How to use a filter in a wms kvp request where two layers are mapped and
> the filter is on only one layer?plz help...
>
> --
> Thanks & Regards
> Jayeeta Mukherjee
> MS(SIT)
> JPA,GIS Lab
> IIT Kharagpur
> Kharagpur  721302
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrpheIACgkQ00HMccodrqW92ACffGT0c88R/TN1sP44l6vO+OPU
PGYAn2zablqLX0ay/OjcqSte0IAMgJwn
=74SH
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Jayeeta Mukherjee

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
Hi,

     if I want to add the filter in a getmap request for wms, do i have to add it after the layer name?

     

On Thu, Oct 29, 2009 at 5:39 PM, Judit Mays <[hidden email]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Jayeeta,

as I suggested two days ago: please read the description in the deegree
wiki regarding this topic:
http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD

I created the page to answer exactly this question. If you have problems
with a certain detail, then please explain what it is that you do not
understand. Then, maybe, someone might be able to help you further.

Kind regards,
Judit Mays


Jayeeta Mukherjee schrieb:
> Hi all,
>           I am using deegree wms with my own data.i want to use a filter
> in a kvp request.how to use a filter in a kvp request?
>

Jayeeta Mukherjee schrieb:
> How to use a filter in a wms kvp request where two layers are mapped and
> the filter is on only one layer?plz help...
>
> --
> Thanks & Regards
> Jayeeta Mukherjee
> MS(SIT)
> JPA,GIS Lab
> IIT Kharagpur
> Kharagpur  721302
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrpheIACgkQ00HMccodrqW92ACffGT0c88R/TN1sP44l6vO+OPU
PGYAn2zablqLX0ay/OjcqSte0IAMgJwn
=74SH
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users



--
Thanks & Regards
Jayeeta Mukherjee
MS(SIT)
JPA,GIS Lab
IIT Kharagpur
Kharagpur  721302

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Andreas Poth

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

as Judit already has written: PLEASE have a look at
http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
There you find an explaination and an example for it.

best regards

ANDREAS


Jayeeta Mukherjee schrieb:

> Hi,
>
>      if I want to add the filter in a getmap request for wms, do i have
> to add it after the layer name?
>
>      
>
> On Thu, Oct 29, 2009 at 5:39 PM, Judit Mays <[hidden email]
> <mailto:[hidden email]>> wrote:
>
> Hello Jayeeta,
>
> as I suggested two days ago: please read the description in the deegree
> wiki regarding this topic:
> http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
>
> I created the page to answer exactly this question. If you have problems
> with a certain detail, then please explain what it is that you do not
> understand. Then, maybe, someone might be able to help you further.
>
> Kind regards,
> Judit Mays
>
>
> Jayeeta Mukherjee schrieb:
>> Hi all,
>>           I am using deegree wms with my own data.i want to use a
> filter
>> in a kvp request.how to use a filter in a kvp request?
>
>
> Jayeeta Mukherjee schrieb:
>> How to use a filter in a wms kvp request where two layers are
> mapped and
>> the filter is on only one layer?plz help...
>
>> --
>> Thanks & Regards
>> Jayeeta Mukherjee
>> MS(SIT)
>> JPA,GIS Lab
>> IIT Kharagpur
>> Kharagpur  721302
>
>

-
------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
<mailto:[hidden email]>
https://lists.sourceforge.net/lists/listinfo/deegree-users




> --
> Thanks & Regards
> Jayeeta Mukherjee
> MS(SIT)
> JPA,GIS Lab
> IIT Kharagpur
> Kharagpur  721302


> ------------------------------------------------------------------------

> ------------------------------------------------------------------------------
> 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


> ------------------------------------------------------------------------

> _______________________________________________
> deegree-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-users


- --
Dr. Andreas Poth

l a t / l o n  GmbH
Aennchenstrasse 19            53177 Bonn, Germany
phone ++49 +228 18496-0       fax ++49 +228 18496-29
http://www.lat-lon.de         http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK6tuUAAoJEFkfq+114rKIqrYIAIZBzHvLrVxYAD+urm1NI1mK
FuR7WoezYZeFDHpaSV4cwuA+FS6R+QbP+Q92dxtcL0JNy/ZiZ3sluxzzE4RwYyQv
r/qptnOO/h6X7VsklF4syxufu+kjml6kIeI2+PiCRIuIUXd7YyH9cIBe3MfvVOjB
6BL6lIARfjKJt7BHvOEs8cMXKRzEN4eZq37lxCs8e+S3ExOlOdiI5sFransgWAFo
nWu2jz1/YVsivtylv6y3CNS4DKSxWUPH2ecK6lkK2rZPumZXw6ySPSKD8iNWk1c5
Rv7wVt+m7G2JQLjrYtwM2UCuJcLnpJHY3/zfDMctTMrxxdYo3wHCAq/vIKm1SjE=
=KzpD
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Jayeeta Mukherjee

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
HI,
yes I have read this document,but what is explained there is to use the filter in the sld file.but i want to use the filter in a query like below:



<?xml version="1.0" encoding="UTF-8"?>
<ogc:GetMap xmlns:ogc="http://www.opengis.net/ows"
  xmlns:gml="http://www.opengis.net/gml"
  xmlns:sld="http://www.opengis.net/sld" version="1.1.1" service="WMS">
  <sld:StyledLayerDescriptor version="1.0.0">
    <sld:NamedLayer>
      <sld:Name>bhq</sld:Name>
    </sld:NamedLayer>
  </sld:StyledLayerDescriptor>
  <sld:BoundingBox
    srsName="http://www.opengis.net/gml/srs/epsg.xml#26912">
    <gml:coord>
      <gml:X>86.612183</gml:X>
      <gml:Y>22.626936</gml:Y>
    </gml:coord>
    <gml:coord>
      <gml:X>87.767677</gml:X>
      <gml:Y>23.635832</gml:Y>
    </gml:coord>
  </sld:BoundingBox>
  <sld:Output>
    <sld:Format>image/jpeg</sld:Format>
    <sld:Transparent>false</sld:Transparent>
    <sld:Size>
      <sld:Width>603</sld:Width>
      <sld:Height>476</sld:Height>
    </sld:Size>
  </sld:Output>
  <sld:Exceptions>application/vnd.ogc.se_xml</sld:Exceptions>
</ogc:GetMap>


"bhq" is the name of the layer defined in the configuration file.

On Fri, Oct 30, 2009 at 5:57 PM, Andreas Poth <[hidden email]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

as Judit already has written: PLEASE have a look at
There you find an explaination and an example for it.

best regards

ANDREAS

 
Jayeeta Mukherjee schrieb:
> Hi,
>
>      if I want to add the filter in a getmap request for wms, do i have
> to add it after the layer name?
>
>
>
> On Thu, Oct 29, 2009 at 5:39 PM, Judit Mays <[hidden email]
> <mailto:[hidden email]>> wrote:
>
> Hello Jayeeta,
>
> as I suggested two days ago: please read the description in the deegree
> wiki regarding this topic:
> http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
>
> I created the page to answer exactly this question. If you have problems
> with a certain detail, then please explain what it is that you do not
> understand. Then, maybe, someone might be able to help you further.
>
> Kind regards,
> Judit Mays
>
>
> Jayeeta Mukherjee schrieb:
>> Hi all,
>>           I am using deegree wms with my own data.i want to use a
> filter
>> in a kvp request.how to use a filter in a kvp request?
>
>
> Jayeeta Mukherjee schrieb:
>> How to use a filter in a wms kvp request where two layers are
> mapped and
>> the filter is on only one layer?plz help...
>
>> --
>> Thanks & Regards
>> Jayeeta Mukherjee
>> MS(SIT)
>> JPA,GIS Lab
>> IIT Kharagpur
>> Kharagpur  721302
>
>

-
------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
<mailto:[hidden email]>
https://lists.sourceforge.net/lists/listinfo/deegree-users




> --
> Thanks & Regards
> Jayeeta Mukherjee
> MS(SIT)
> JPA,GIS Lab
> IIT Kharagpur
> Kharagpur  721302


> ------------------------------------------------------------------------

> ------------------------------------------------------------------------------
> 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


> ------------------------------------------------------------------------

> _______________________________________________
> deegree-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-users


- --
Dr. Andreas Poth

l a t / l o n  GmbH
Aennchenstrasse 19            53177 Bonn, Germany
phone ++49 +228 18496-0       fax ++49 +228 18496-29
http://www.lat-lon.de         http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK6tuUAAoJEFkfq+114rKIqrYIAIZBzHvLrVxYAD+urm1NI1mK
FuR7WoezYZeFDHpaSV4cwuA+FS6R+QbP+Q92dxtcL0JNy/ZiZ3sluxzzE4RwYyQv
r/qptnOO/h6X7VsklF4syxufu+kjml6kIeI2+PiCRIuIUXd7YyH9cIBe3MfvVOjB
6BL6lIARfjKJt7BHvOEs8cMXKRzEN4eZq37lxCs8e+S3ExOlOdiI5sFransgWAFo
nWu2jz1/YVsivtylv6y3CNS4DKSxWUPH2ecK6lkK2rZPumZXw6ySPSKD8iNWk1c5
Rv7wVt+m7G2JQLjrYtwM2UCuJcLnpJHY3/zfDMctTMrxxdYo3wHCAq/vIKm1SjE=
=KzpD
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users



--
Thanks & Regards
Jayeeta Mukherjee
MS(SIT)
JPA,GIS Lab
IIT Kharagpur
Kharagpur  721302

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Andreas Poth

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

as you see with the example you attached it contains a SLD Document
(StyledLayerDescriptor). So you just have to adapt the SLD as described
at http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD

best regards

ANDREAS

Jayeeta Mukherjee schrieb:

> HI,
> yes I have read this document,but what is explained there is to use the
> filter in the sld file.but i want to use the filter in a query like below:
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ogc:GetMap xmlns:ogc="http://www.opengis.net/ows"
>   xmlns:gml="http://www.opengis.net/gml"
>   xmlns:sld="http://www.opengis.net/sld" version="1.1.1" service="WMS">
>   <sld:StyledLayerDescriptor version="1.0.0">
>     <sld:NamedLayer>
>       <sld:Name>bhq</sld:Name>
>     </sld:NamedLayer>
>   </sld:StyledLayerDescriptor>
>   <sld:BoundingBox
>     srsName="http://www.opengis.net/gml/srs/epsg.xml#26912">
>     <gml:coord>
>       <gml:X>86.612183</gml:X>
>       <gml:Y>22.626936</gml:Y>
>     </gml:coord>
>     <gml:coord>
>       <gml:X>87.767677</gml:X>
>       <gml:Y>23.635832</gml:Y>
>     </gml:coord>
>   </sld:BoundingBox>
>   <sld:Output>
>     <sld:Format>image/jpeg</sld:Format>
>     <sld:Transparent>false</sld:Transparent>
>     <sld:Size>
>       <sld:Width>603</sld:Width>
>       <sld:Height>476</sld:Height>
>     </sld:Size>
>   </sld:Output>
>   <sld:Exceptions>application/vnd.ogc.se_xml</sld:Exceptions>
> </ogc:GetMap>
>
>
> "bhq" is the name of the layer defined in the configuration file.
>
> On Fri, Oct 30, 2009 at 5:57 PM, Andreas Poth <[hidden email]
> <mailto:[hidden email]>> wrote:
>
> Hi,
>
> as Judit already has written: PLEASE have a look at
> http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
> There you find an explaination and an example for it.
>
> best regards
>
> ANDREAS
> --
Dr. Andreas Poth

l a t / l o n  GmbH
Aennchenstrasse 19            53177 Bonn, Germany
phone ++49 +228 18496-0       fax ++49 +228 18496-29
http://www.lat-lon.de         http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK6vKfAAoJEFkfq+114rKI2O8H+QGmzXk6RQ9/wmAPfDZ933j/
gMyuYOhwmPv80/FoB+Y62arDXC1K4oX4z7eRnJBekN3UXkegdvrkMCUcHKEJR/RC
/p8U1KoFSr/dx/6g+5dHQvirdwwhvUSnaYhjajb+3SOvDeB2r9cql2knTJ5D2V3i
jDYs4GlLpbHTirAxldA4jbqUEXlGhC1Y63mcusWDoeHNzUiCTmyTpg3XEqiIqAkT
zvCO/PlX402dHUBn5AzIhcOETJLMIKRK6kBO3o5KpdYmyr17mDyVwLlFUUQVa0QN
YH4g8O22NENcvAeUz5e/WQZQIcL9BNyXj3o2ebzNrBcR9scScaTmB5VjY2owGn0=
=J4MY
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Jayeeta Mukherjee

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
Hi,
      what I want to implement will generate the parameter of the filter in runtime.one user will give a input and the filter will work by matching the value of the with one property of the feature.now that can not be done in a sld file,because sld file can not be modified runtime.so, how to do it?

On Fri, Oct 30, 2009 at 7:35 PM, Andreas Poth <[hidden email]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

as you see with the example you attached it contains a SLD Document
(StyledLayerDescriptor). So you just have to adapt the SLD as described
best regards

ANDREAS

Jayeeta Mukherjee schrieb:
> HI,
> yes I have read this document,but what is explained there is to use the
> filter in the sld file.but i want to use the filter in a query like below:
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ogc:GetMap xmlns:ogc="http://www.opengis.net/ows"
>   xmlns:gml="http://www.opengis.net/gml"
>   xmlns:sld="http://www.opengis.net/sld" version="1.1.1" service="WMS">
>   <sld:StyledLayerDescriptor version="1.0.0">
>     <sld:NamedLayer>
>       <sld:Name>bhq</sld:Name>
>     </sld:NamedLayer>
>   </sld:StyledLayerDescriptor>
>   <sld:BoundingBox
>     srsName="http://www.opengis.net/gml/srs/epsg.xml#26912">
>     <gml:coord>
>       <gml:X>86.612183</gml:X>
>       <gml:Y>22.626936</gml:Y>
>     </gml:coord>
>     <gml:coord>
>       <gml:X>87.767677</gml:X>
>       <gml:Y>23.635832</gml:Y>
>     </gml:coord>
>   </sld:BoundingBox>
>   <sld:Output>
>     <sld:Format>image/jpeg</sld:Format>
>     <sld:Transparent>false</sld:Transparent>
>     <sld:Size>
>       <sld:Width>603</sld:Width>
>       <sld:Height>476</sld:Height>
>     </sld:Size>
>   </sld:Output>
>   <sld:Exceptions>application/vnd.ogc.se_xml</sld:Exceptions>
> </ogc:GetMap>
>
>
> "bhq" is the name of the layer defined in the configuration file.
>
> On Fri, Oct 30, 2009 at 5:57 PM, Andreas Poth <[hidden email]
> <mailto:[hidden email]>> wrote:
>
> Hi,
>
> as Judit already has written: PLEASE have a look at
> http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
> There you find an explaination and an example for it.
>
> best regards
>
> ANDREAS
> --
Dr. Andreas Poth

l a t / l o n  GmbH
Aennchenstrasse 19            53177 Bonn, Germany
phone ++49 +228 18496-0       fax ++49 +228 18496-29
http://www.lat-lon.de         http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK6vKfAAoJEFkfq+114rKI2O8H+QGmzXk6RQ9/wmAPfDZ933j/
gMyuYOhwmPv80/FoB+Y62arDXC1K4oX4z7eRnJBekN3UXkegdvrkMCUcHKEJR/RC
/p8U1KoFSr/dx/6g+5dHQvirdwwhvUSnaYhjajb+3SOvDeB2r9cql2knTJ5D2V3i
jDYs4GlLpbHTirAxldA4jbqUEXlGhC1Y63mcusWDoeHNzUiCTmyTpg3XEqiIqAkT
zvCO/PlX402dHUBn5AzIhcOETJLMIKRK6kBO3o5KpdYmyr17mDyVwLlFUUQVa0QN
YH4g8O22NENcvAeUz5e/WQZQIcL9BNyXj3o2ebzNrBcR9scScaTmB5VjY2owGn0=
=J4MY
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users



--
Thanks & Regards
Jayeeta Mukherjee
MS(SIT)
JPA,GIS Lab
IIT Kharagpur
Kharagpur  721302

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Andreas Poth

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I do not excatly what you expect. A OGC WMS is a stateless web service
so it will not be possible anyhow to modify any part of a GetMap other
than creating a new one. If you want to modify filter condition between
 two requests you simply have to create a new filter and GetMap request.
There is no other way as long as you use a OGC compliant WMS.

best regards

ANDREAS


Jayeeta Mukherjee schrieb:

> Hi,
>       what I want to implement will generate the parameter of the filter
> in runtime.one user will give a input and the filter will work by
> matching the value of the with one property of the feature.now that can
> not be done in a sld file,because sld file can not be modified
> runtime.so, how to do it?
>
> On Fri, Oct 30, 2009 at 7:35 PM, Andreas Poth <[hidden email]
> <mailto:[hidden email]>> wrote:
>
> Hi,
>
> as you see with the example you attached it contains a SLD Document
> (StyledLayerDescriptor). So you just have to adapt the SLD as described
> at http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
>
> best regards
>
> ANDREAS
>
> Jayeeta Mukherjee schrieb:
>> HI,
>> yes I have read this document,but what is explained there is to
> use the
>> filter in the sld file.but i want to use the filter in a query
> like below:
>
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ogc:GetMap xmlns:ogc="http://www.opengis.net/ows"
>>   xmlns:gml="http://www.opengis.net/gml"
>>   xmlns:sld="http://www.opengis.net/sld" version="1.1.1"
> service="WMS">
>>   <sld:StyledLayerDescriptor version="1.0.0">
>>     <sld:NamedLayer>
>>       <sld:Name>bhq</sld:Name>
>>     </sld:NamedLayer>
>>   </sld:StyledLayerDescriptor>
>>   <sld:BoundingBox
>>     srsName="http://www.opengis.net/gml/srs/epsg.xml#26912">
>>     <gml:coord>
>>       <gml:X>86.612183</gml:X>
>>       <gml:Y>22.626936</gml:Y>
>>     </gml:coord>
>>     <gml:coord>
>>       <gml:X>87.767677</gml:X>
>>       <gml:Y>23.635832</gml:Y>
>>     </gml:coord>
>>   </sld:BoundingBox>
>>   <sld:Output>
>>     <sld:Format>image/jpeg</sld:Format>
>>     <sld:Transparent>false</sld:Transparent>
>>     <sld:Size>
>>       <sld:Width>603</sld:Width>
>>       <sld:Height>476</sld:Height>
>>     </sld:Size>
>>   </sld:Output>
>>   <sld:Exceptions>application/vnd.ogc.se_xml</sld:Exceptions>
>> </ogc:GetMap>
>
>
>> "bhq" is the name of the layer defined in the configuration file.
>
>> On Fri, Oct 30, 2009 at 5:57 PM, Andreas Poth <[hidden email]
> <mailto:[hidden email]>
>> <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>
>> Hi,
>
>> as Judit already has written: PLEASE have a look at
>> http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
>> There you find an explaination and an example for it.
>
>> best regards
>
>> ANDREAS
>> --
> Dr. Andreas Poth
>
> l a t / l o n  GmbH
> Aennchenstrasse 19            53177 Bonn, Germany
> phone ++49 +228 18496-0       fax ++49 +228 18496-29
> http://www.lat-lon.de         http://www.deegree.org
>

-
------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
<mailto:[hidden email]>
https://lists.sourceforge.net/lists/listinfo/deegree-users




> --
> Thanks & Regards
> Jayeeta Mukherjee
> MS(SIT)
> JPA,GIS Lab
> IIT Kharagpur
> Kharagpur  721302


> ------------------------------------------------------------------------

> ------------------------------------------------------------------------------
> 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


> ------------------------------------------------------------------------

> _______________________________________________
> deegree-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-users


- --
Dr. Andreas Poth

l a t / l o n  GmbH
Aennchenstrasse 19            53177 Bonn, Germany
phone ++49 +228 18496-0       fax ++49 +228 18496-29
http://www.lat-lon.de         http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK6wfCAAoJEFkfq+114rKIZJ8IAMZcJ1NJrHmRf88K4mz/szeU
7DXmjY5IiNSBx5MceTkAOTfWoas2SMRKCAkTN4MjQckgUzs3WySxM2DqEkcvwWkQ
rf5MTRyPqPnp1RNAliu91Fny0ucdapzyv4WKmLcZbHn75IIWixKqkTYd+UrQ0Ux6
mq1S3IDlj2AQXtpeGIW69zWAMLk8p9Wo9MPjnLyScuLwfe5Dg0gLdrGAq6MbblIc
3C37nlDcUbsmYD1L/1VS49zIy0ta5g+Opp4/kopSEonbMjNetbTnkzfD/w/NjfGP
kYag7TKVgq9BnKZD8lwTnGnrMuukz170AgzKO8qYWv3iXYcoqTziWv4SK73/PC4=
=paYC
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Jayeeta Mukherjee

Re: how to use a filter in a wms kvp request

Reply Threaded More More options
Print post
Permalink
Hi,

    I am using the wms with a point type of data.name is a property of a the point feature.a user will give the name and i want to display the feature having that name only in the map.so do i have to use the filter in the sld file only?

On Fri, Oct 30, 2009 at 9:05 PM, Andreas Poth <[hidden email]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I do not excatly what you expect. A OGC WMS is a stateless web service
so it will not be possible anyhow to modify any part of a GetMap other
than creating a new one. If you want to modify filter condition between
 two requests you simply have to create a new filter and GetMap request.
There is no other way as long as you use a OGC compliant WMS.

best regards

ANDREAS


Jayeeta Mukherjee schrieb:
> Hi,
>       what I want to implement will generate the parameter of the filter
> in runtime.one user will give a input and the filter will work by
> matching the value of the with one property of the feature.now that can
> not be done in a sld file,because sld file can not be modified
> runtime.so, how to do it?
>
> On Fri, Oct 30, 2009 at 7:35 PM, Andreas Poth <[hidden email]
> <mailto:[hidden email]>> wrote:
>
> Hi,
>
> as you see with the example you attached it contains a SLD Document
> (StyledLayerDescriptor). So you just have to adapt the SLD as described
> at http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
>
> best regards
>
> ANDREAS
>
> Jayeeta Mukherjee schrieb:
>> HI,
>> yes I have read this document,but what is explained there is to
> use the
>> filter in the sld file.but i want to use the filter in a query
> like below:
>
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ogc:GetMap xmlns:ogc="http://www.opengis.net/ows"
>>   xmlns:gml="http://www.opengis.net/gml"
>>   xmlns:sld="http://www.opengis.net/sld" version="1.1.1"
> service="WMS">
>>   <sld:StyledLayerDescriptor version="1.0.0">
>>     <sld:NamedLayer>
>>       <sld:Name>bhq</sld:Name>
>>     </sld:NamedLayer>
>>   </sld:StyledLayerDescriptor>
>>   <sld:BoundingBox
>>     srsName="http://www.opengis.net/gml/srs/epsg.xml#26912">
>>     <gml:coord>
>>       <gml:X>86.612183</gml:X>
>>       <gml:Y>22.626936</gml:Y>
>>     </gml:coord>
>>     <gml:coord>
>>       <gml:X>87.767677</gml:X>
>>       <gml:Y>23.635832</gml:Y>
>>     </gml:coord>
>>   </sld:BoundingBox>
>>   <sld:Output>
>>     <sld:Format>image/jpeg</sld:Format>
>>     <sld:Transparent>false</sld:Transparent>
>>     <sld:Size>
>>       <sld:Width>603</sld:Width>
>>       <sld:Height>476</sld:Height>
>>     </sld:Size>
>>   </sld:Output>
>>   <sld:Exceptions>application/vnd.ogc.se_xml</sld:Exceptions>
>> </ogc:GetMap>
>
>
>> "bhq" is the name of the layer defined in the configuration file.
>
>> On Fri, Oct 30, 2009 at 5:57 PM, Andreas Poth <[hidden email]
> <mailto:[hidden email]>
>> <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>
>> Hi,
>
>> as Judit already has written: PLEASE have a look at
>> http://wiki.deegree.org/deegreeWiki/HowToUseWMSGetMapRequestsWithSLD
>> There you find an explaination and an example for it.
>
>> best regards
>
>> ANDREAS
>> --
> Dr. Andreas Poth
>
> l a t / l o n  GmbH
> Aennchenstrasse 19            53177 Bonn, Germany
> phone ++49 +228 18496-0       fax ++49 +228 18496-29
> http://www.lat-lon.de         http://www.deegree.org
>

-
------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
<mailto:[hidden email]>
https://lists.sourceforge.net/lists/listinfo/deegree-users




> --
> Thanks & Regards
> Jayeeta Mukherjee
> MS(SIT)
> JPA,GIS Lab
> IIT Kharagpur
> Kharagpur  721302


> ------------------------------------------------------------------------

> ------------------------------------------------------------------------------
> 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


> ------------------------------------------------------------------------

> _______________________________________________
> deegree-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-users


- --
Dr. Andreas Poth

l a t / l o n  GmbH
Aennchenstrasse 19            53177 Bonn, Germany
phone ++49 +228 18496-0       fax ++49 +228 18496-29
http://www.lat-lon.de         http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK6wfCAAoJEFkfq+114rKIZJ8IAMZcJ1NJrHmRf88K4mz/szeU
7DXmjY5IiNSBx5MceTkAOTfWoas2SMRKCAkTN4MjQckgUzs3WySxM2DqEkcvwWkQ
rf5MTRyPqPnp1RNAliu91Fny0ucdapzyv4WKmLcZbHn75IIWixKqkTYd+UrQ0Ux6
mq1S3IDlj2AQXtpeGIW69zWAMLk8p9Wo9MPjnLyScuLwfe5Dg0gLdrGAq6MbblIc
3C37nlDcUbsmYD1L/1VS49zIy0ta5g+Opp4/kopSEonbMjNetbTnkzfD/w/NjfGP
kYag7TKVgq9BnKZD8lwTnGnrMuukz170AgzKO8qYWv3iXYcoqTziWv4SK73/PC4=
=paYC
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users



--
Thanks & Regards
Jayeeta Mukherjee
MS(SIT)
JPA,GIS Lab
IIT Kharagpur
Kharagpur  721302

------------------------------------------------------------------------------
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
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users