[Geoserver-users] empty postgis table

Hey there

I have some questions and I hope anyone can help me.

How does GeoServer behave in relation to empty tables?
And how does it behave in relation with multiple geometry property?

If there are a simple way to add a feature type without the web
administration tool and from an other tomcat application? If some
schema to the info.xml file available?

Please answer me with CC too, because I use the digest function.

Thank you.
Regards, Thomas

--
Thomas Zuberbuehler
http://www.zubi.li

Thomas Zuberbuehler ha scritto:

Hey there

I have some questions and I hope anyone can help me.

How does GeoServer behave in relation to empty tables?
And how does it behave in relation with multiple geometry property?

Should work just fine with both. We have a runnig app with multiple
geometries per feature type on sigma.openplans.org, with an SLD
that chooses the most appropriate geometry depeding on the

If there are a simple way to add a feature type without the web
administration tool and from an other tomcat application? If some
schema to the info.xml file available?

The only way now is to change the configuration on the file system
and then make geoserver reload it with the appropriate post request
(doing the same that the "load" button does)

Please answer me with CC too, because I use the digest function.

Did you know you can follow the mailing list thru Nabble too, and
disabling completely mail delivery? Every time someone answers one
of the post you made thru Nabble it'll send you a mail notification.
Have a look: www.nabble.com

Cheers
Andrea

Andrea, thank you! Can I ask you and the mailinglist some more questions?

If there a schema to the info.xml file? Which information are required
and which one not? Can I omit some tags?

How does GeoServer behave in relation to tables with no geometry property?
Can I use in place of tables views?

If there a FAQ with questions like my ones? I would like you not with
ask to annoy, if these were already answered. I will have probably
still a great many. :wink:

And thanks for your tip with Nabble.

Regards, Thomas

2007/1/29, Andrea Aime <aaime@anonymised.com>:

Thomas Zuberbuehler ha scritto:
> Hey there
>
> I have some questions and I hope anyone can help me.
>
> How does GeoServer behave in relation to empty tables?
> And how does it behave in relation with multiple geometry property?

Should work just fine with both. We have a runnig app with multiple
geometries per feature type on sigma.openplans.org, with an SLD
that chooses the most appropriate geometry depeding on the

> If there are a simple way to add a feature type without the web
> administration tool and from an other tomcat application? If some
> schema to the info.xml file available?

The only way now is to change the configuration on the file system
and then make geoserver reload it with the appropriate post request
(doing the same that the "load" button does)

> Please answer me with CC too, because I use the digest function.

Did you know you can follow the mailing list thru Nabble too, and
disabling completely mail delivery? Every time someone answers one
of the post you made thru Nabble it'll send you a mail notification.
Have a look: www.nabble.com

Cheers
Andrea

--
Thomas Zuberbuehler
http://www.zubi.li

Thomas Zuberbuehler ha scritto:

Andrea, thank you! Can I ask you and the mailinglist some more questions?

If there a schema to the info.xml file? Which information are required
and which one not? Can I omit some tags?

Unfortunately there is no schema whatsoever, and no, you better not omit
tags there... parsing code is pretty fragile afaik, and we'll replace it in one of the next releases.

How does GeoServer behave in relation to tables with no geometry property?
Can I use in place of tables views?

Hem... this really depends on the data store, but you should always have
a geometric column around. Most of the Geoserver code assumes there is one, and will break otherwise.

If there a FAQ with questions like my ones? I would like you not with
ask to annoy, if these were already answered. I will have probably
still a great many. :wink:

We do have a FAQ here:
http://docs.codehaus.org/display/GEOSDOC/FAQ

Throw at us all the questions you have, no problems.
Cheers
Andrea

Andrea, thank you and sorry for my late thank you. :wink:

I have two other question to the mailing list. Since today afternoon I
get following Exception on my screen when I want to edit a feature
type. Does somebody why I get this Exception? Did anybody the orgin of
this Exception?

--
javax.servlet.ServletException: Action must be a MessageResource key
value of either 'label.edit' or 'label.delete'
--

I try to add a feature type dynamically with help of
http://docs.codehaus.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
and I wrote the last PHP script in Java. There are no result after I
connect to typeEditorSubmit.do with all parameters. There are also no
result when I follow the web interface up to the edit page and then
put the URL to the adressfield. Did I have some parameter forgot?

My test URL string:
http://localhost:8080/geoserver/config/data/typeEditorSubmit.do?styleId=capitals&SRS=21781&title=abc&minX=0&minY=0&maxX=0&maxY=0&keywords=efg&abstract=abc&action=Submit&schemaBase=--

Thank you.
Regards, Thomas

2007/1/29, Andrea Aime <aaime@anonymised.com>:

Thomas Zuberbuehler ha scritto:
> Andrea, thank you! Can I ask you and the mailinglist some more questions?
>
> If there a schema to the info.xml file? Which information are required
> and which one not? Can I omit some tags?

Unfortunately there is no schema whatsoever, and no, you better not omit
tags there... parsing code is pretty fragile afaik, and we'll replace it
in one of the next releases.

> How does GeoServer behave in relation to tables with no geometry property?
> Can I use in place of tables views?

Hem... this really depends on the data store, but you should always have
a geometric column around. Most of the Geoserver code assumes there is
one, and will break otherwise.

> If there a FAQ with questions like my ones? I would like you not with
> ask to annoy, if these were already answered. I will have probably
> still a great many. :wink:

We do have a FAQ here:
http://docs.codehaus.org/display/GEOSDOC/FAQ

Throw at us all the questions you have, no problems.
Cheers
Andrea

--
Thomas Zuberbuehler
http://www.zubi.li

Thomas Zuberbuehler ha scritto:

Andrea, thank you and sorry for my late thank you. :wink:

I have two other question to the mailing list. Since today afternoon I
get following Exception on my screen when I want to edit a feature
type. Does somebody why I get this Exception? Did anybody the orgin of
this Exception?

--
javax.servlet.ServletException: Action must be a MessageResource key
value of either 'label.edit' or 'label.delete'
--

Do you have a longer stack trace? Anyways, it seems to be coming from
the Struts internationalizatio subsystem, really weird...
No, I've never seen it, but I always use the english version.

I try to add a feature type dynamically with help of
http://docs.codehaus.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog

and I wrote the last PHP script in Java. There are no result after I
connect to typeEditorSubmit.do with all parameters.

You did authenticate first, and kept the authentication cookie
around in your PHP code too? I see there is a PHP example in that
page, thought I can't say if it's working or not, I can't do PHP...

There are also no
result when I follow the web interface up to the edit page and then
put the URL to the adressfield. Did I have some parameter forgot?

My test URL string:
http://localhost:8080/geoserver/config/data/typeEditorSubmit.do?styleId=capitals&SRS=21781&title=abc&minX=0&minY=0&maxX=0&maxY=0&keywords=efg&abstract=abc&action=Submit&schemaBase=--

I just tried it out on my local geoserver, worked fine, the
page was submitted just fine?
Did you see any error on the log in your case?

Cheers
Andrea

A big Merci to you! Do you know where I can change the language for
the web interface. In my case its every time I install GeoServer with
the Web Archive it will be german by default. Unfortunately I didn't
found any information on the GeoServer Website.

Regards
Thomas

2007/2/1, Andrea Aime <aaime@anonymised.com>:

Thomas Zuberbuehler ha scritto:
> Andrea, thank you and sorry for my late thank you. :wink:
>
> I have two other question to the mailing list. Since today afternoon I
> get following Exception on my screen when I want to edit a feature
> type. Does somebody why I get this Exception? Did anybody the orgin of
> this Exception?
>
> --
> javax.servlet.ServletException: Action must be a MessageResource key
> value of either 'label.edit' or 'label.delete'
> --

Do you have a longer stack trace? Anyways, it seems to be coming from
the Struts internationalizatio subsystem, really weird...
No, I've never seen it, but I always use the english version.

> I try to add a feature type dynamically with help of
> http://docs.codehaus.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
>
> and I wrote the last PHP script in Java. There are no result after I
> connect to typeEditorSubmit.do with all parameters.

You did authenticate first, and kept the authentication cookie
around in your PHP code too? I see there is a PHP example in that
page, thought I can't say if it's working or not, I can't do PHP...

> There are also no
> result when I follow the web interface up to the edit page and then
> put the URL to the adressfield. Did I have some parameter forgot?
>
> My test URL string:
> http://localhost:8080/geoserver/config/data/typeEditorSubmit.do?styleId=capitals&SRS=21781&title=abc&minX=0&minY=0&maxX=0&maxY=0&keywords=efg&abstract=abc&action=Submit&schemaBase=--

I just tried it out on my local geoserver, worked fine, the
page was submitted just fine?
Did you see any error on the log in your case?

Cheers
Andrea

--
Thomas Zuberbuehler
http://www.zubi.li