Message:
The following issue has been reopened.
Reopener: Jody Garnett
Date: Wed, 4 Feb 2004 5:33 PM
The description for Geos-49 is more complete then Geos-50
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-49
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-49
Summary: GMLWriter & Schema Generation
Type: Bug
Status: Reopened
Priority: Major
Original Estimate: 30 minutes
Time Spent: Unknown
Remaining: 30 minutes
Project: GeoServer
Components:
PostGIS
Global
Fix Fors:
1.2-beta
Versions:
1.2-beta
Assignee: David Zwiers
Reporter: David Zwiers
Created: Fri, 16 Jan 2004 5:45 PM
Updated: Wed, 4 Feb 2004 5:33 PM
Description:
Can you tell me how FeatureTypeTransformer must be changed/improved so that it is "in good enough shape" for cite. What is missing? I might look into this and improve FeatureTypeTransformer. Or is it just the problem that FeatureType and AttributeType do not provide enough information?
Simon
Am 16.01.2004 um 21:24 schrieb Chris Holmes:
Will you put this as a bug in JIRA? Also for the cite tests you should
use schema.xml files, there's no way the FeatureTypeTransformer is in good
enough shape to handle cite. The featureTypes that you need are defined
in the misc/cite/citeTypes.tar.gz, just unzip it and it will build the
featureType structure that you need.Chris
On Fri, 16 Jan 2004, David Zwiers wrote:
My response.
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:cdf="http://www.opengis.net/cite/data" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://office.refractions.net:8081/geoserver/wfs/1.0.0/WFS-basic.xsd http://www.opengis.net/cite/data http://office.refractions.net:8081/geoserver/wfs/DescribeFeatureType? typeName=cdf:Other">
<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#32118">
<gml:coordinates decimal="." cs="," ts=" ">500000,500000 500000,500100 500100,500100 500100,500000</gml:coordinates></gml:Box>
</gml:boundedBy>
<gml:featureMember>
<cdf:Other fid="Other.676316386">
<cdf:gmldescription>A Single Feature used to test returning of properties</cdf:gmldescription>
<cdf:gmlname>singleFeature</cdf:gmlname>
<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#32118">
<gml:coordinates decimal="." cs="," ts=" ">500000,500000 500000,500100 500100,500100 500100,500000</gml:coordinates></gml:Box>
</gml:boundedBy>
<gml:pointProperty>
<gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#32118">
<gml:coordinates decimal="." cs="," ts=" ">500050,500050</gml:coordinates></gml:Point>
</gml:pointProperty>
<cdf:string1>always</cdf:string1>
<cdf:string2>sometimes</cdf:string2>
<cdf:integers>7</cdf:integers>
<cdf:dates>2002-12-02</cdf:dates></cdf:Other>
</gml:featureMember>
</wfs:FeatureCollection>
The buged lines of this:
<cdf:gmldescription>A Single Feature used to test returning of properties</cdf:gmldescription>
<cdf:gmlname>singleFeature</cdf:gmlname>This should read:
<gml:description>A Single Feature used to test returning of properties</cdf:gmldescription>
<gml:name>singleFeature</cdf:gmlname>The problem has to do with extracting these from the database ...
The Other table is defined as:
Table "public.Other"
Column | Type | Modifiers
----------------+-------------------+-----------
gmldescription | character varying |
gmlname | character varying |
boundedBy | geometry |
pointProperty | geometry |
string1 | character varying | not null
string2 | character varying |
integers | integer |
dates | date |
Check constraints: "$1" (srid("pointProperty") = 32615)
"$2" ((geometrytype("pointProperty") = 'POINT'::text)
OR ("pointProperty" IS NULL))
"$3" (srid("boundedBy") = 32615)
"$4" ((geometrytype("boundedBy") = 'POLYGON'::text)
OR ("boundedBy" IS NULL))David
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel--
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
---------------------------------------------------------------------
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