[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] ArcSDE - Connection fun ...
|
Carl Anderson wrote:
Jody Garnett wrote:
Carl Anderson wrote:
I can send the gml file upon request.
A snipit would be cool - what is *really* important is the XML Schema
(aka DescribeFetureType) result that GeoServer kicks out - the uDig
parser uses that to figure out what is going on....
Is this Ok?
Yes - and better yet it answer the problem!
<?xml version="1.0" ?>
<ServiceExceptionReport
version="1.2.0"
xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ogc
http://rivertown.gis.fc:8080/geoserver/data/capabilities//wfs/1.0.0/OGC-exception.xsd">
<ServiceException>
java.util.NoSuchElementException: Could not locate
FeatureTypeConfig 'fultongis:GIS.DBO.Centerline'
</ServiceException>
</ServiceExceptionReport>
So we got a service exception back - we need a valid XMLSchema document
... I think GeoServer either is set up wrong, or has a bug with respect
to ArcSDE support. Let's look at the data ...
I am not the slickest at this stuff - let me give it a go:
- xmlns:gml defined pointing to www.opengis.net/gml which is mapped to
... nothing?
- xmlns:wfs defined pointing to www.opengis.net/gml which is mapped to
http://rivertown.gis.fc:8080/geoserver/data/capabilities/wfs/1.0.0/WFS-basic.xsd
- xmlns.xs defined pointing to http://www.w3.org/2001/XMLSchema-instance
mapped to ... nothing
- xmlns:fultongis defined pointing to http://wfs.co.fulton.ga.us/ which
maps to our DescribeFeatureType request ...
http://rivertown.gis.fc:8080/geoserver/wfs/DescribeFeatureType?typeName=fultongis:GIS.DBO.CENTERLINE
Now I cannot hit that with a browser - whcih means uDig could not
function (or your site is down right now?). Is your GeoServer on an
intranet?
Next up we got a real problem ... your data is using "gml:" as its
prefix (ie <gml:CITY_CODE>) but that prefix does not point to your
DescribeFeatureType request ...
Did you accidentally set up your GeoServer with a "gml" prefix? And then
set up your ArcSDE to use it?
Here is a sample of the the content ....
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:gml="http://www.opengis.net/gml"
xmlns:fultongis="http://wfs.co.fulton.ga.us/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://wfs.co.fulton.ga.us/
http://rivertown.gis.fc:8080/geoserver/wfs/DescribeFeatureType?typeName=fultongis:GIS.DBO.CENTERLINE
http://www.opengis.net/wfs
http://rivertown.gis.fc:8080/geoserver/data/capabilities/wfs/1.0.0/WFS-basic.xsd">
<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#2240">
<gml:coordinates xmlns:gml="http://www.opengis.net/gml"
decimal="." cs="," ts=" ">2117527.25002385,1310039.74993582
2178173.25004526,1335490.7500073</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<gml:GIS.DBO.CENTERLINE fid="GIS.DBO.CENTERLINE.745">
<gml:OBJECTID>745</gml:OBJECTID>
<gml:STR_LBL>TWIN LAKES DR</gml:STR_LBL>
<gml:FULL_NAME>LAKES TRACE</gml:FULL_NAME>
<gml:CITY_CODE>55.0</gml:CITY_CODE>
<gml:PATH_ID>0.0</gml:PATH_ID>
<gml:SYSTEM_ID>105045.0</gml:SYSTEM_ID>
<gml:DIRECTION> </gml:DIRECTION>
<gml:ARC_ID>44250.0</gml:ARC_ID>
<gml:GEO_OID>44248.0</gml:GEO_OID>
<gml:FADDR_TYPE>y</gml:FADDR_TYPE>
<gml:TADDR_TYPE>II</gml:TADDR_TYPE>
<gml:OWNERSHIP>pn</gml:OWNERSHIP>
<gml:DATA_SRC>8.0</gml:DATA_SRC>
<gml:SUNSET>9.9991231E7</gml:SUNSET>
<gml:SUNRISE>0.0</gml:SUNRISE>
<gml:METHOD> </gml:METHOD>
<gml:A>0.0</gml:A>
<gml:B>0.0</gml:B>
<gml:PATH_TYPE>m</gml:PATH_TYPE>
<gml:ACTION> </gml:ACTION>
<gml:PLAT_ID>0.0</gml:PLAT_ID>
<gml:SRCH_NAME>TWIN LAKES DRIVE</gml:SRCH_NAME>
<gml:FEAT_CODE>r</gml:FEAT_CODE>
<gml:SHAPE>
<gml:MultiLineString
srsName="http://www.opengis.net/gml/srs/epsg.xml#2240"><gml:lineStringMember><gml:LineString><gml:coordinates
xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts="
">2149924.74998015,1323330.37495792 2149983.50000524,1323283.375015
2150050.74994477,1323228.1249925 2150077.74998311,1323197.49996984
2150095.24999606,1323171.62502418 2150106.99994964,1323143.37504002
2150114.25004685,1323111.62505327 2150121.25005203,1323057.49999487
2150137.74995402,1322901.12497104 2150155.24996696,1322731.75004781
2150163.50004654,1322657.74993797
2150537.50001092,1322658.87503064</gml:coordinates></gml:LineString></gml:lineStringMember></gml:MultiLineString>
</gml:SHAPE>
</gml:GIS.DBO.CENTERLINE>
</gml:featureMember>
...