Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/GEOS-179
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-179
Summary: Feature Type - Table column data types ignored and always converted to STRING?
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: GeoServer
Components:
PostGIS
Versions:
1.2-beta
Assignee: Chris Holmes
Reporter: Phil
Created: Wed, 16 Jun 2004 7:49 AM
Updated: Wed, 16 Jun 2004 7:49 AM
Environment: WIN XP HOME, deegree WMS, geoserver WFS
Description:
Hi!
I have some problems getting the [deegree] WMS to work with the [geoserver] WFS. The FILTER expressions in my WMS styled layer document will not be evaluated how they should. I figured out that the problem has something to do with the internal datatype-recognition of the WMS.
I am using POSTGIS and the feature I want to access from the WFS is:
TABLE objects
oid BIGINTEGER,
level INTEGER,
geom GEOMETRY
I want to filter some features dependant on their "level"-value, but not within the WFS-request (this works actually). The style-filter should filter the features. When the WMS retrieves the feature-data it "thinks" that the level value is of type STRING. The configuration interface of the WFS when creating/changing a feature type also shows that all columns of the table are recognized as STRINGS. I think that is the problem.
I could not prove this, because I was not able to invoke a DescribeFeatureType request...I got an Unhandled Null Pointer Exception.
So my 1. question is:
Will all columns of a TABLE be recognized as the type STRING and is that the information the WMS will get when it invokes a DescribeFeatureType-request?
If so, I think this is an important problem, because filter expression in SLDs will not work.
2. question:
How do I invoke a valid DescribeFeatureType-request?
I tried the following, can you please tell me, what is wrong?
Request URL:
http://127.0.0.1:9080/geoserver/wfs/DescribeFeatureType
Request XML:
<DescribeFeatureType version="1.0.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:phil="http://localhost" xsi:schemaLocation="http://www.opengis.net/wfs\.\./wfs/1\.0\.0/WFS\-basic\.xsd">
<TypeName>phil:objects</TypeName>
</DescribeFeatureType>
Thank you very much for your help!
kind regards,
phil
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira