WMS

31 messages Options
Embed this post
Permalink
1 2
Jayeeta Mukherjee

WMS

Reply Threaded More More options
Print post
Permalink
Hi,

     I am using the wms service with my own data.but the problem with the display is that it is not taking the color mentioned in the sld file.it is taking the default colour.i am using my own sld file.what to do?

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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

>      I am using the wms service with my own data.but the problem with the
> display is that it is not taking the color mentioned in the sld file.it is
> taking the default colour.i am using my own sld file.what to do?

you have to get the names of the layer, the style, and the named layer
in your SLD file and wms configuration file lined up correctly. Example:

The WMS <Name> is 'mylayer'. Then the name of your style should be
'default:mylayer' (both in your wms_configuration.xml and the <Name> of
the <UserStyle> in your SLD). The <Name> of the <NamedLayer> in your SLD
must then be 'mylayer' again.

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
hi,
is it mandatory to provide the style file as xml?i am providing the file as a sld format.

On Tue, Sep 1, 2009 at 12:28 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>      I am using the wms service with my own data.but the problem with the
> display is that it is not taking the color mentioned in the sld file.it is
> taking the default colour.i am using my own sld file.what to do?

you have to get the names of the layer, the style, and the named layer
in your SLD file and wms configuration file lined up correctly. Example:

The WMS <Name> is 'mylayer'. Then the name of your style should be
'default:mylayer' (both in your wms_configuration.xml and the <Name> of
the <UserStyle> in your SLD). The <Name> of the <NamedLayer> in your SLD
must then be 'mylayer' again.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqcxhQACgkQ737OVr+Ru7o0yACguR+tGbptmcMuSyACCw3lYgfe
/psAnj/Rcdg23CDjexqbr2Lz8JuBY7Wb
=FSRv
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

> is it mandatory to provide the style file as xml?i am providing the file as
> a sld format.

it does not matter how you call the file, as long as you reference it
using the correct file name.

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
hi,
    I have added two layers in the wms(my own data) and i want to see both the layers together,i.e. i want to overlay the two layers through a single query.how to do that using only a single query?

On Tue, Sep 1, 2009 at 3:35 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

> is it mandatory to provide the style file as xml?i am providing the file as
> a sld format.

it does not matter how you call the file, as long as you reference it
using the correct file name.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqc8ekACgkQ737OVr+Ru7o+YwCfRNQcKOIYQ0PJMnklGPBC/Ned
IWIAmgKKIprR1r8pA6qLuf/giSkzfwa0
=HY1w
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

>     I have added two layers in the wms(my own data) and i want to see both
> the layers together,i.e. i want to overlay the two layers through a single
> query.how to do that using only a single query?

this is really a general WMS question than a deegree question. Just
include both layers in your "LAYERS" parameter, comma separated.

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
Hi,

    here i am describing my problem.i have added two layers :one is boundary of a administrative area and another is the block headquarters in it.now i want to use a single query to see the block headquarters within the block boundary.i have added two set of queries for the two layers.whenever i fire the query for one layer, after the execution of it the query for the other layer is not working.that is the color is not effecting.what to do???????






On Tue, Sep 1, 2009 at 7:48 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>     I have added two layers in the wms(my own data) and i want to see both
> the layers together,i.e. i want to overlay the two layers through a single
> query.how to do that using only a single query?

this is really a general WMS question than a deegree question. Just
include both layers in your "LAYERS" parameter, comma separated.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqdLTwACgkQ737OVr+Ru7qJiwCeKXgaQ0bFDs0gDWj+CqNYi8Fx
eg4AoN2ZyiQ9yE/PznhJ2bLkFer+JwBA
=F3wG
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

>     here i am describing my problem.i have added two layers :one is boundary
> of a administrative area and another is the block headquarters in it.now i
> want to use a single query to see the block headquarters within the block
> boundary.i have added two set of queries for the two layers.whenever i fire
> the query for one layer, after the execution of it the query for the other
> layer is not working.that is the color is not effecting.what to do???????

I don't really understand what you're trying to accomplish, what you're
currently doing and what you get. Maybe you can post some example
requests, and explain in a little more detail what you get/expect?

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
Hi,
     I want to use the wms service with my own set of data.The two layers i want to use are an administrative boundary and another is the school in this administrative area.Now i am using the following query to retrive the map of the administrative boundary:

<?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>bnk_district_boundary</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>
 
i am using the following query to see the schools in the administrative boundary:

<?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.7868749988479</gml:X>
      <gml:Y>22.7697954849524</gml:Y>
    </gml:coord>
    <gml:coord>
      <gml:X>87.6219048823844</gml:X>
      <gml:Y>23.5656045145916</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>

now i want to see a map which will show a specific school in the administrative boundary, and for that i want to use a single query,like the queries mentioned above.what should be the format of the query?can i mention two bounding boxes in a single query?


On Wed, Sep 2, 2009 at 12:39 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>     here i am describing my problem.i have added two layers :one is boundary
> of a administrative area and another is the block headquarters in it.now i
> want to use a single query to see the block headquarters within the block
> boundary.i have added two set of queries for the two layers.whenever i fire
> the query for one layer, after the execution of it the query for the other
> layer is not working.that is the color is not effecting.what to do???????

I don't really understand what you're trying to accomplish, what you're
currently doing and what you get. Maybe you can post some example
requests, and explain in a little more detail what you get/expect?

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqeGg8ACgkQ737OVr+Ru7otMQCg6RcvBxDVTvcJ8oKTaFiuL9Q2
NrIAnj6d7pyvwIhBHrrc+y13SePqjK/U
=Q7lI
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

>      I want to use the wms service with my own set of data.The two layers i
> want to use are an administrative boundary and another is the school in this
> administrative area.Now i am using the following query to retrive the map of
> the administrative boundary:

a small note beforehand: if you're not using custom styling, it is
really recommended to use the standard WMS KVP syntax for requests
instead of the SLD Post GetMap requests you're using.

Anyway, here go my comments (I've reordered some parts of your mail for
clarity of my responses):

> now i want to see a map which will show a specific school in the
> administrative boundary, and for that i want to use a single query,like the
> queries mentioned above.what should be the format of the query?can i mention
> two bounding boxes in a single query?

You can never use two bounding boxes in one request. The concept of a
single request is that the WMS "displays" a certain area in the map. If
you use two different bounding boxes, this is not the case any more (one
location in one map would correspond to a different location in the
other map).

But if you just want to request the two layers at once, you can do it
like this:

> <?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>bnk_district_boundary</sld:Name>
>       <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>
or shorter:

http://your.service-address.com/wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
Hi,
      what i get using the sld getmap query is only the first layer.the second layer is not visible using this query,

 however the second query i.e.http://your.service-address.com/wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476 is showing the map.but it is showing all the schools situated in the administrative boundary. and what i want to achieve is to get a map with only one particular school in the administrative boundary.how to do it?

On Wed, Sep 2, 2009 at 5:22 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>      I want to use the wms service with my own set of data.The two layers i
> want to use are an administrative boundary and another is the school in this
> administrative area.Now i am using the following query to retrive the map of
> the administrative boundary:

a small note beforehand: if you're not using custom styling, it is
really recommended to use the standard WMS KVP syntax for requests
instead of the SLD Post GetMap requests you're using.

Anyway, here go my comments (I've reordered some parts of your mail for
clarity of my responses):

> now i want to see a map which will show a specific school in the
> administrative boundary, and for that i want to use a single query,like the
> queries mentioned above.what should be the format of the query?can i mention
> two bounding boxes in a single query?

You can never use two bounding boxes in one request. The concept of a
single request is that the WMS "displays" a certain area in the map. If
you use two different bounding boxes, this is not the case any more (one
location in one map would correspond to a different location in the
other map).

But if you just want to request the two layers at once, you can do it
like this:

> <?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>bnk_district_boundary</sld:Name>
>       <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>

or shorter:

http://your.service-address.com/wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqeXHEACgkQ737OVr+Ru7qRSQCgqQ/A9a9AEQH8BEUpiupRdn5A
u2EAoJ1pLxT18iEq0FPV1yZd45B1F9eK
=qh9+
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

>       what i get using the sld getmap query is only the first layer.the
> second layer is not visible using this query,

hm, normally that should work as well. Internally both requests should
work the same way if no custom styles are given.

>  however the second query i.e.
> http://your.service-address.com/wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476is
> showing the map.but it is showing all the schools situated in the
> administrative boundary. and what i want to achieve is to get a map with
> only one particular school in the administrative boundary.how to do
> it?

you can do it using SLD (and including an appropriate filter on the
corresponding feature type) or using our vendor specific parameters for
this occasion (provided you're using a recent nightly build
deegree2.jar):

http://your.service-address.com/wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476&filterproperty=someidproperty&filtervalue=someid

where filterproperty must be a property of the underlying feature type,
and filtervalue the corresponding value of the feature(s) you want to show.

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
Hi,
     I tried with the some properties.i am giving the query i used below:

http://localhost:8080/deegree-wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476&filterproperty=geographicIdentifier&filtervalue=Bankura-I


but it is still showing the map of the administrative boundary with all the schools in it, not only the school with value of geographicIdentifier with value Bankura-I.

On Wed, Sep 2, 2009 at 5:53 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>       what i get using the sld getmap query is only the first layer.the
> second layer is not visible using this query,

hm, normally that should work as well. Internally both requests should
work the same way if no custom styles are given.

>  however the second query i.e.
> http://your.service-address.com/wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476is
> showing the map.but it is showing all the schools situated in the
> administrative boundary. and what i want to achieve is to get a map with
> only one particular school in the administrative boundary.how to do
> it?

you can do it using SLD (and including an appropriate filter on the
corresponding feature type) or using our vendor specific parameters for
this occasion (provided you're using a recent nightly build
deegree2.jar):

http://your.service-address.com/wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476&filterproperty=someidproperty&filtervalue=someid

where filterproperty must be a property of the underlying feature type,
and filtervalue the corresponding value of the feature(s) you want to show.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqeY7cACgkQ737OVr+Ru7o9xACg2vB+zKlqHn76F7I7pDtvGBUl
b74An0uTo19XsQJz+eMLuZfmLdKx5Mns
=xFPH
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

>      I tried with the some properties.i am giving the query i used below:
>
> http://localhost:8080/deegree-wms/services?request=GetMap&version=1.1.1&service=WMS&layers=bnk_district_boundary,Bhq&styles=&srs=EPSG:26912&bbox=86.612183,22.626936,87.767677,23.635832&format=image/jpeg&width=603&height=476&filterproperty=geographicIdentifier&filtervalue=Bankura-I

then you're probably not using a recent nightly build deegree2.jar from
here:

http://download.deegree.org/deegree2_nightly/deegree2.jar

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
HI,

    I used ur mentioned jar file but still there is the same result.

On Wed, Sep 2, 2009 at 6:45 PM, Andreas Schmitz <[hidden email]> wrote:
then you're probably not using a recent nightly build deegree2.jar from
here:

http://download.deegree.org/deegree2_nightly/deegree2.jar

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqeb+YACgkQ737OVr+Ru7oawACgn7dAwZ9+f4XM2h6bmpvamVEz
TFUAnA23rIeP6wFgqyG/nXT3/8YZexmR
=iokx
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Jayeeta Mukherjee wrote:

Hi,

>     I used ur mentioned jar file but still there is the same result.

then you should add the following line to your log4j.properties (in
WEB-INF/classes):

log4j.logger.org.deegree.ogcwebservices.wms.DefaultGetFeatureInfoHandler=DEBUG

and post the contents of your logfile after sending a request.

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


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

signature.asc (204 bytes) Download Attachment
Jayeeta Mukherjee

Re: WMS

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jayeeta Mukherjee
Hi,
     Is there anything more to do get the layers???????????

On Wed, Sep 2, 2009 at 6:54 PM, Jayeeta Mukherjee <[hidden email]> wrote:
HI,

    I used ur mentioned jar file but still there is the same result.

On Wed, Sep 2, 2009 at 6:45 PM, Andreas Schmitz <[hidden email]> wrote:
then you're probably not using a recent nightly build deegree2.jar from
here:

http://download.deegree.org/deegree2_nightly/deegree2.jar

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqeb+YACgkQ737OVr+Ru7oawACgn7dAwZ9+f4XM2h6bmpvamVEz
TFUAnA23rIeP6wFgqyG/nXT3/8YZexmR
=iokx

-----END PGP SIGNATURE-----

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




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



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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andreas Schmitz
Hi,
    where will i fine the logfile for wms?

On Wed, Sep 2, 2009 at 7:09 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>     I used ur mentioned jar file but still there is the same result.

then you should add the following line to your log4j.properties (in
WEB-INF/classes):

log4j.logger.org.deegree.ogcwebservices.wms.DefaultGetFeatureInfoHandler=DEBUG

and post the contents of your logfile after sending a request.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqedY4ACgkQ737OVr+Ru7pEDgCdFEvoHJMnzzgMELuNvsbCktUB
5EoAn1u9PketjxajG6K8wHjWAhHQxtaJ
=s/yA
-----END PGP SIGNATURE-----

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




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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Hi,

   I cant find the logfile you told me to check.plz tell me where could i find the file.
can i use the filter in the sld query also?what should be the format of it?

On Wed, Sep 2, 2009 at 7:31 PM, Jayeeta Mukherjee <[hidden email]> wrote:
Hi,
    where will i fine the logfile for wms?

On Wed, Sep 2, 2009 at 7:09 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>     I used ur mentioned jar file but still there is the same result.

then you should add the following line to your log4j.properties (in
WEB-INF/classes):

log4j.logger.org.deegree.ogcwebservices.wms.DefaultGetFeatureInfoHandler=DEBUG

and post the contents of your logfile after sending a request.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqedY4ACgkQ737OVr+Ru7pEDgCdFEvoHJMnzzgMELuNvsbCktUB
5EoAn1u9PketjxajG6K8wHjWAhHQxtaJ
=s/yA

-----END PGP SIGNATURE-----

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




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



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

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

Re: WMS

Reply Threaded More More options
Print post
Permalink
Hi,
I am attaching the log files after making the changes.as i dont know which specific log file u want i am attaching more than one log file which i felt as important.

On Thu, Sep 3, 2009 at 10:55 AM, Jayeeta Mukherjee <[hidden email]> wrote:
Hi,

   I cant find the logfile you told me to check.plz tell me where could i find the file.
can i use the filter in the sld query also?what should be the format of it?


On Wed, Sep 2, 2009 at 7:31 PM, Jayeeta Mukherjee <[hidden email]> wrote:
Hi,
    where will i fine the logfile for wms?

On Wed, Sep 2, 2009 at 7:09 PM, Andreas Schmitz <[hidden email]> wrote:
Jayeeta Mukherjee wrote:

Hi,

>     I used ur mentioned jar file but still there is the same result.

then you should add the following line to your log4j.properties (in
WEB-INF/classes):

log4j.logger.org.deegree.ogcwebservices.wms.DefaultGetFeatureInfoHandler=DEBUG

and post the contents of your logfile after sending a request.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqedY4ACgkQ737OVr+Ru7pEDgCdFEvoHJMnzzgMELuNvsbCktUB
5EoAn1u9PketjxajG6K8wHjWAhHQxtaJ
=s/yA

-----END PGP SIGNATURE-----

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




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



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



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



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

stdout_20090903.log (26K) Download Attachment
catalina.2009-09-03.log (2K) Download Attachment
1 2