[Geoserver-devel] Re: Namespaces and SDE

Hi Lena,
I just fixed this problem.
Please update to the latest geoserver version from svn trunk and try it.

cheers,

Gabriel.

On Tuesday 18 October 2005 09:39, Lena Pahl wrote:

Hi Gabriel!
Sorry, to bug you again. I have an urgent question. I'm still working on
reading features from and writing them to ArcSDE. I discovered something
odd. Can you please have a look at this? There seems to be something wrong
about the namespace. (I used the Demo page of GeoServer)

Using GeoServer1.3:
Output for GetFeature Request on an SDE Layer
(landsystem:GISUSER.FLURSTUECKE_1):

- <gml:featureMember>
- <gml:GISUSER.FLURSTUECKE_1 fid="GISUSER.FLURSTUECKE_1.1">
  <gml:OBJECTID>1</gml:OBJECTID>
  <gml:AOBJID>0000SGE</gml:AOBJID>
  <gml:OBJART>0233</gml:OBJART>
  <gml:AKT>01</gml:AKT>
  <gml:FS>FS0348470030015400100</gml:FS>
  <gml:BL>03</gml:BL>
  <gml:GM>4847</gml:GM>
  <gml:FL>003</gml:FL>
  <gml:FZ>00154</gml:FZ>
  <gml:FN>001</gml:FN>
  <gml:FF>00</gml:FF>
- <gml:SHAPE>
- <gml:MultiPolygon
srsName="http://www.opengis.net/gml/srs/epsg.xml#31467&quot;&gt; -
<gml:polygonMember>
- <gml:Polygon>
- <gml:outerBoundaryIs>
- <gml:LinearRing>
  <gml:coordinates decimal="." cs=","
ts="">3539703.35600146,5804040.59700124 3539795.95900155,5804009.02400121
3539841.25800159,5803993.58000119 3539927.67100167,5803964.11700116
3539958.8160017,5803953.49800115 3540022.83200176,5803973.64500117
3540025.02800176,5803981.86100118 3540005.51100174,5803988.60400119
3539746.5700015,5804078.06700127
3539703.35600146,5804040.59700124</gml:coordinates> </gml:LinearRing>
  </gml:outerBoundaryIs>
  </gml:Polygon>
  </gml:polygonMember>
  </gml:MultiPolygon>
  </gml:SHAPE>
  </gml:GISUSER.FLURSTUECKE_1>
  </gml:featureMember>

Output for GetFeature Request on a Shapefile (landsystem:flurstuecke):

- <gml:featureMember>
- <landsystem:flurstuecke fid="flurstuecke.1">
- <landsystem:the_geom>
- <gml:MultiPolygon
srsName="http://www.opengis.net/gml/srs/epsg.xml#31467&quot;&gt; -
<gml:polygonMember>
- <gml:Polygon>
- <gml:outerBoundaryIs>
- <gml:LinearRing>
  <gml:coordinates decimal="." cs=","
ts="">3539703.35600146,5804040.59700124 3539746.5700015,5804078.06700127
3540005.51100174,5803988.60400119 3540025.02800176,5803981.86100118
3540022.83200176,5803973.64500117 3539958.8160017,5803953.49800115
3539927.67100167,5803964.11700116 3539841.25800159,5803993.58000119
3539795.95900155,5804009.02400121
3539703.35600146,5804040.59700124</gml:coordinates> </gml:LinearRing>
  </gml:outerBoundaryIs>
  </gml:Polygon>
  </gml:polygonMember>
  </gml:MultiPolygon>
  </landsystem:the_geom>
  <landsystem:AOBJID>0000SGE</landsystem:AOBJID>
  <landsystem:OBJART>0222</landsystem:OBJART>
  <landsystem:AKT>01</landsystem:AKT>
  <landsystem:FS>FS0348470030015400100</landsystem:FS>
  <landsystem:BL>03</landsystem:BL>
  <landsystem:GM>4847</landsystem:GM>
  <landsystem:FL>003</landsystem:FL>
  <landsystem:FZ>00154</landsystem:FZ>
  <landsystem:FN>001</landsystem:FN>
  <landsystem:FF>00</landsystem:FF>
  <landsystem:TEXT />
  <landsystem:Z>0</landsystem:Z>
  <landsystem:N>0</landsystem:N>
  <landsystem:SHAPE_area>14042.7437027</landsystem:SHAPE_area>
  <landsystem:SHAPE_len>697.321536983</landsystem:SHAPE_len>
  </landsystem:flurstuecke>
  </gml:featureMember>

But when using GeoServer1.2.4:
Output for GetFeature Request on an SDE Layer
(landsystem:GISUSER.FLURSTUECKE_1):

- <gml:featureMember>
- <landsystem:GISUSER.FLURSTUECKE_1 fid="GISUSER.FLURSTUECKE_1.1">
  <landsystem:OBJECTID>1</landsystem:OBJECTID>
  <landsystem:AOBJID>0000SGE</landsystem:AOBJID>
  <landsystem:OBJART>0233</landsystem:OBJART>
  <landsystem:AKT>01</landsystem:AKT>
  <landsystem:FS>FS0348470030015400100</landsystem:FS>
  <landsystem:BL>03</landsystem:BL>
  <landsystem:GM>4847</landsystem:GM>
  <landsystem:FL>003</landsystem:FL>
  <landsystem:FZ>00154</landsystem:FZ>
  <landsystem:FN>001</landsystem:FN>
  <landsystem:FF>00</landsystem:FF>
- <landsystem:SHAPE>
- <gml:MultiPolygon
srsName="http://www.opengis.net/gml/srs/epsg.xml#31467&quot;&gt; -
<gml:polygonMember>
- <gml:Polygon>
- <gml:outerBoundaryIs>
- <gml:LinearRing>
  <gml:coordinates decimal="." cs=","
ts="">3539703.35600146,5804040.59700124 3539795.95900155,5804009.02400121
3539841.25800159,5803993.58000119 3539927.67100167,5803964.11700116
3539958.8160017,5803953.49800115 3540022.83200176,5803973.64500117
3540025.02800176,5803981.86100118 3540005.51100174,5803988.60400119
3539746.5700015,5804078.06700127
3539703.35600146,5804040.59700124</gml:coordinates> </gml:LinearRing>
  </gml:outerBoundaryIs>
  </gml:Polygon>
  </gml:polygonMember>
  </gml:MultiPolygon>
  </landsystem:SHAPE>
  </landsystem:GISUSER.FLURSTUECKE_1>
  </gml:featureMember>

Output for GetFeature Request on a Shapefile (landsystem:flurstuecke):

- <gml:featureMember>
- <landsystem:flurstuecke fid="flurstuecke.1">
- <landsystem:the_geom>
- <gml:MultiPolygon
srsName="http://www.opengis.net/gml/srs/epsg.xml#31467&quot;&gt; -
<gml:polygonMember>
- <gml:Polygon>
- <gml:outerBoundaryIs>
- <gml:LinearRing>
  <gml:coordinates decimal="." cs=","
ts="">3539703.35600146,5804040.59700124 3539746.5700015,5804078.06700127
3540005.51100174,5803988.60400119 3540025.02800176,5803981.86100118
3540022.83200176,5803973.64500117 3539958.8160017,5803953.49800115
3539927.67100167,5803964.11700116 3539841.25800159,5803993.58000119
3539795.95900155,5804009.02400121
3539703.35600146,5804040.59700124</gml:coordinates> </gml:LinearRing>
  </gml:outerBoundaryIs>
  </gml:Polygon>
  </gml:polygonMember>
  </gml:MultiPolygon>
  </landsystem:the_geom>
  <landsystem:AOBJID>0000SGE</landsystem:AOBJID>
  <landsystem:OBJART>0233</landsystem:OBJART>
  <landsystem:AKT>01</landsystem:AKT>
  <landsystem:FS>FS0348470030015400100</landsystem:FS>
  <landsystem:BL>03</landsystem:BL>
  <landsystem:GM>4847</landsystem:GM>
  <landsystem:FL>003</landsystem:FL>
  <landsystem:FZ>00154</landsystem:FZ>
  <landsystem:FN>001</landsystem:FN>
  <landsystem:FF>00</landsystem:FF>
  <landsystem:TEXT />
  <landsystem:Z>0</landsystem:Z>
  <landsystem:N>0</landsystem:N>
  <landsystem:SHAPE_area>14042.7437027</landsystem:SHAPE_area>
  <landsystem:SHAPE_len>697.321536983</landsystem:SHAPE_len>
  </landsystem:flurstuecke>
  </gml:featureMember>

So using GeoServer1.3 the namespace isn't used for ArcSDE. Shapefiles are
fine. Thank you so much for checking this!
Regards, Lena
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193