[Geoserver-users] Rotating symbols and secondary table et others...

Hello,

Is it possible to rotate symbols/text in Geo-Server? Also, I would like to show data for a feature from a secondary table, i.e. a table other than the one where the layer geometry resides(I am using Oracle database). Is this possible with Geo-Server?

Lastly, can someone direct me to a link to understand more on “Metadata URL” when configuring “FeatureType Editor”?

Last, last, last one – the “Schema Base” and “Change” in “FeatureType Editor” causes Java exception messages – partial stack trace:

=========================================================================

The following exception was thrown:

  • class java.lang.reflect.InvocationTargetException:
  • class java.lang.NullPointerException:

Details:

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)

at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)

at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)

at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)

at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)

=========================================================================

The version of GeoServer I am using is 1.7.1. Thanks for your time and patience.

Best regards,

Praveen

Praveen Rajendra Babu wrote:

Hello,

       Is it possible to rotate symbols/text in Geo-Server?

Yes. Something like the following will do it:

<TextSymbolizer>
     ... [other symbolizer stuff] ...
     <LabelPlacement>
        <PointPlacement>
           <Rotation>45</Rotation>
         </PointPlacement>
     </LabelPlacement>
</TextSymbolizer>

Also, I

would like to show data for a feature from a secondary table, i.e. a table other than the one where the layer geometry resides(I am using Oracle database). Is this possible with Geo-Server?

Unfortunately joins of this nature is not something geoserver supports as of today. But there is currently work going on to support it.

Lastly, can someone direct me to a link to understand more on “Metadata URL” when configuring “FeatureType Editor”?

It is just an extra bit of information to attach to a feature type. The idea is to associate arbitrary bits of metadata with a feature type, and have the URI describe what the bits mean. But its not really used afaik, just shows up in the capabilities document.

Last, last, last one – the “Schema Base” and “Change” in “FeatureType Editor” causes Java exception messages – partial stack trace:

Yeah this is a known issue, and has been broken for a while. Actually the ui components never really worked properly, so there is not much of a plan to fix it.

=========================================================================

The following exception was thrown:

    * class java.lang.reflect.InvocationTargetException:
    * class java.lang.NullPointerException:

Details:

java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)

        at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)

        at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)

        at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)

        at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)

=========================================================================

  The version of GeoServer I am using is 1.7.1. Thanks for your time and patience.

Best regards,

Praveen

------------------------------------------------------------------------

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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

Justin Deoliveira ha scritto:
...

Also, I

would like to show data for a feature from a secondary table, i.e. a table other than the one where the layer geometry resides(I am using Oracle database). Is this possible with Geo-Server?

Unfortunately joins of this nature is not something geoserver supports as of today. But there is currently work going on to support it.

As a workaround, it's possible to build a view that joins your
primary table with the secondary one, and register the view as
if it was its own feature type. You just have to register the
view as if it was another spatial table in your database geographic metadata section.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Very true and thanks for the input, Andrea.

Best regards,
Praveen

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Friday, 13 February 2009 8:28 PM
To: Justin Deoliveira
Cc: Praveen Rajendra Babu; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Rotating symbols and secondary table et others...

Justin Deoliveira ha scritto:
...

Also, I

would like to show data for a feature from a secondary table, i.e. a
table other than the one where the layer geometry resides(I am using
Oracle database). Is this possible with Geo-Server?

Unfortunately joins of this nature is not something geoserver supports
as of today. But there is currently work going on to support it.

As a workaround, it's possible to build a view that joins your
primary table with the secondary one, and register the view as
if it was its own feature type. You just have to register the
view as if it was another spatial table in your database geographic
metadata section.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.