Hello,

To expand on this slightly,

In my xsd I have:

 <element name="location" type="gml:GeometryPropertyType"/>

And in my features app-schema file is:
        <AttributeMapping>
          <targetAttribute>company:location</targetAttribute>
          <sourceExpression>
            <OCQL>pe_location</OCQL>
          </sourceExpression>
        </AttributeMapping>

Now the database shows the type=polygon and SRID =4326

The featuretype.xml file has the <srs>4326</srs> within it.

When I request the feature I receive a blank entry for 'location'.

On the geoserver.log I see it populate the following info:

 GeometryAttributeImpl:position<MultiGeometryPropertyType
crs=GEOGCS["GDA94",
  DATUM["Geocentric Datum of Australia 1994",
    SPHEROID["GRS 1980", 6378137.0, 298.257222101,
AUTHORITY["EPSG","7019"]],
    TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
    AUTHORITY["EPSG","6283"]],
  PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
  UNIT["degree", 0.017453292519943295],
  AXIS["Geodetic latitude", NORTH],
  AXIS["Geodetic longitude", EAST],
  AUTHORITY["EPSG","4283"]]>=GEOMETRYCOLLECTION (POINT (-24.97124999999994
114.87125000000003))]


But it never shows in the final output.

I have a different app-schema which produces the same sort of output in the
log but also displays it in the final XML.

Suggestions ?





On 24 October 2013 14:25, snuffy <snuff...@gmail.com> wrote:

> Hello All,
>
> I want to try and figure out why app-schema is not displaying content,
> when viewing the 'geoserver.log' I see it gets content but does not display
> in the final WFS output.
>
> Is there a way to see more of why app-schema/geoserver is not displaying
> the content than silently discarding the results?
>
>
> Thanks
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to