[Geoserver-users] Doubts...

Hi All,

I have some doubts could you please help me...

Recently i downloaded geoserver and started using...

1) What is a FeatureType & Style ?

For me as of now, FeatureType is just a pointer to
Store ? Am i right ?

2) Get Info / GetFeatureInfo is not working for me, it
gives "parameter format is required". I tried
searching, the mailing list and google. But no luck.
Most are telling about the specfication mismatch and
to change the parameter in xsl.

Is there a working example for search shp/dbf or
postgis, that i can download and try ?

Waiting for your reply...

Regards,
Muthu Veerappan

PR.Muthu Veerappan (முத்து வீரப்பன&#3021:wink:
Mobile +971 50 4206576 (Dubai)
e-Mail - muthu@anonymised.com
------------------------------------------
Check http://www.periyakaruppan.com
Join http://www.buddhibase.org
------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

On 5/17/06, muthu veerappan <muthu_manaparai@...54...> wrote:

Hi All,

I have some doubts could you please help me...

Recently i downloaded geoserver and started using...

1) What is a FeatureType & Style ?

For me as of now, FeatureType is just a pointer to
Store ? Am i right ?

Overall, yes. For example you have your postgis database as a feature
datastore. Then the postgis tables can be configure as
featureType(s), given that they have a geometry field.

The Style can provide a way for dispalying (styling) and filtering your data.

2) Get Info / GetFeatureInfo is not working for me, it
gives "parameter format is required". I tried
searching, the mailing list and google. But no luck.
Most are telling about the specfication mismatch and
to change the parameter in xsl.

Is there a working example for search shp/dbf or
postgis, that i can download and try ?

Waiting for your reply...

Can you be specific as to what *exactly* is not working? If that is
some sort of GET or POST request you've made, it would be helpful to
see it and figure out what is going on.
For example requests, please see:

http://localhost:8080/geoserver/demoRequest.do

If necessary, adjust localhost and the port number as per your setup.

Alex

Hi Alexander Petkov,

Thanks for your answers...I have few more doubts

1) I have 2 layers, can i show them in different
colors ? Is this related to SLD ?

3) Where does the geoserver store the configurations
for stores, styles, featuretypes ? Any xml file or ?

2) I have problem displaying my 3rd layer. I have all
the information in postgis. 2 layers are always
visible but not the 3rd.. What could be the problem ?

Below is the example of how i was adding...

Please help.

--------------------
    <Layer queryable="1" hidden="0">
      <Server service="OGC:WMS" version="1.1.1"
title="topp:gulfext Preview">
        <OnlineResource xlink:type="simple"
xlink:href="../../wms"/>
      </Server>
      <Name>topp:gulfext</Name>
      <Title>topp:gulfext</Title>
      <SRS>EPSG:4326</SRS>
      <FormatList><Format
current="1">image/png</Format></FormatList>
    </Layer>
    <Layer queryable="1" hidden="0">
      <Server service="OGC:WMS" version="1.1.1"
title="topp:alghurairmap Preview">
        <OnlineResource xlink:type="simple"
xlink:href="../../wms"/>
      </Server>
      <Name>topp:alghurairmap</Name>
      <Title>topp:alghurairmap</Title>
      <SRS>EPSG:4326</SRS>
      <FormatList><Format
current="1">image/png</Format></FormatList>
    </Layer>
    <Layer queryable="1" hidden="0">
      <Server service="OGC:WMS" version="1.1.1"
title="topp:editmap Preview">
        <OnlineResource xlink:type="simple"
xlink:href="../../wms"/>
      </Server>
      <Name>topp:editmap</Name>
      <Title>topp:editmap</Title>
      <SRS>EPSG:4326</SRS>
      <FormatList><Format
current="1">image/png</Format></FormatList>
    </Layer>
--------------------

Regards,
Muthu Veerappan

--- Alexander Petkov <greenkov@anonymised.com> wrote:

On 5/17/06, muthu veerappan
<muthu_manaparai@anonymised.com> wrote:
> Hi All,
>
> I have some doubts could you please help me...
>
> Recently i downloaded geoserver and started
using...
>
> 1) What is a FeatureType & Style ?
>
> For me as of now, FeatureType is just a pointer to
> Store ? Am i right ?

Overall, yes. For example you have your postgis
database as a feature
datastore. Then the postgis tables can be configure
as
featureType(s), given that they have a geometry
field.

The Style can provide a way for dispalying (styling)
and filtering your data.

>
> 2) Get Info / GetFeatureInfo is not working for
me, it
> gives "parameter format is required". I tried
> searching, the mailing list and google. But no
luck.
> Most are telling about the specfication mismatch
and
> to change the parameter in xsl.
>
> Is there a working example for search shp/dbf or
> postgis, that i can download and try ?
>
> Waiting for your reply...
>

Can you be specific as to what *exactly* is not
working? If that is
some sort of GET or POST request you've made, it
would be helpful to
see it and figure out what is going on.
For example requests, please see:

http://localhost:8080/geoserver/demoRequest.do

If necessary, adjust localhost and the port number
as per your setup.

Alex

PR.Muthu Veerappan (&#2990;&#3009;&#2980;&#3021;&#2980;&#3009; &#2997;&#3008;&#2992;&#2986;&#3021;&#2986;&#2985;&#3021:wink:
Mobile +971 50 4206576 (Dubai)
e-Mail - muthu@anonymised.com
------------------------------------------
Check http://www.periyakaruppan.com
Join http://www.buddhibase.org
------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

On 5/22/06, muthu veerappan <muthu_manaparai@...54...> wrote:

Hi Alexander Petkov,

Thanks for your answers...I have few more doubts

1) I have 2 layers, can i show them in different
colors ? Is this related to SLD ?

Yes, you can show them in different colors. Yes, you need to configure
an SLD to accomplish that.

3) Where does the geoserver store the configurations
for stores, styles, featuretypes ? Any xml file or ?

FeatureStore and style configuration is in the catalog.xml file. This
catalog can have a few places, depending on how you configured
Geoserver. If you haven't changed the default directory where
Geoserver stores configuration, that would be the WEB-INF/catalog.xml
file.

FeatureType configuration is stored in an info.xml file in a
subdirectory in "data/featureTypes" . Hope this is clear.

2) I have problem displaying my 3rd layer. I have all
the information in postgis. 2 layers are always
visible but not the 3rd.. What could be the problem ?

There could be a number of problems:

1. The postgis layer doesn't have a valid geometry column.
2. The layer is missing a corresponding entry in the geometry_columns table.
3. The layer has a different projection than the other two, despite
the fact that you are configuring it as an EPSG:4326.
4. The FeatureType is not configured properly in Geoserver.

Overall, it could be a problem on the postgis end or the geoserver end.

Alex

Hi All,

I have 2 layers 1 small size and 1 big size (extent !)

For the big layer to view in mapbuider i need to give
the below

<BoundingBox SRS="EPSG:4326" minx="11018.9990234375"
miny="8970.806640625" maxx="566147.3125"
maxy="350142.8125"/>

When i add one more/new layer to this, that new layer
is not visible since its extent or BoundingBox is very
small !

Could you tell me a way in which i can bring both to
same size ?

Any reduction or enlargment is possible ? How to do
that ?

PS. Both are shape files (i have - as of now)

Waiting for your replies. :slight_smile:

Cheers,
Muthu Veerappan

PR.Muthu Veerappan (&#2990;&#3009;&#2980;&#3021;&#2980;&#3009; &#2997;&#3008;&#2992;&#2986;&#3021;&#2986;&#2985;&#3021:wink:
Mobile +971 50 4206576 (Dubai)
e-Mail - muthu@anonymised.com
------------------------------------------
Check http://www.periyakaruppan.com
Join http://www.buddhibase.org
------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

I'm a little confused as to what is going on.
So you have one very large layer (large in area: bounding box size) and another smaller area. Both areas show up when you make a WMS request? Then you add a third layer, that is also small, but it doesn't show up when you make a WMS request? Does the small layer fit in the bounding box of the larger layer, or does it fall outside of it?

If the layer is really small, and you are viewing the whole map, it may be that you are zoomed out too far to see the small layer. There is no way to increase the size of the geometries so they are viewable when you are more zoomed out (that would wreck the data). WMS requests cannot modify the geometry of existing data. What you can do is create a style (SLD) for that layer and make the geometries really "thick" so they will show up more. And make sure that the mapbuilder config file is set up so the initial bounding box of the view contains all layers.

Brent Owens
(The Open Planning Project)

muthu veerappan wrote:

Hi All,

I have 2 layers 1 small size and 1 big size (extent !)

For the big layer to view in mapbuider i need to give
the below

<BoundingBox SRS="EPSG:4326" minx="11018.9990234375"
miny="8970.806640625" maxx="566147.3125"
maxy="350142.8125"/>

When i add one more/new layer to this, that new layer
is not visible since its extent or BoundingBox is very
small !

Could you tell me a way in which i can bring both to
same size ?

Any reduction or enlargment is possible ? How to do
that ?

PS. Both are shape files (i have - as of now)

Waiting for your replies. :slight_smile:

Cheers,
Muthu Veerappan

PR.Muthu Veerappan (&#2990;&#3009;&#2980;&#3021;&#2980;&#3009; &#2997;&#3008;&#2992;&#2986;&#3021;&#2986;&#2985;&#3021:wink:
Mobile +971 50 4206576 (Dubai)
e-Mail - muthu@anonymised.com
------------------------------------------
Check http://www.periyakaruppan.com
Join http://www.buddhibase.org
------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com