<br><font size=2 face="sans-serif">Not a problem, Christopher...</font>
<br>
<br><font size=2 face="sans-serif">Here's the raw response I get back from
geoserver (minus a couple of unrelated and superflouous elements)... </font>
<br>
<br><font size=2 face="sans-serif"><wfs:FeatureCollection xsi:schemaLocation="http://devinside.sjwater.com/
http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=SJW:pg_station
http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd"></font>
<br><font size=2 face="sans-serif"><gml:boundedBy></font>
<br><font size=2 face="sans-serif"><gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"></font>
<br><font size=2 face="sans-serif"><gml:coordinates decimal="."
cs="," ts=" "></font>
<br><font size=2 face="sans-serif">-121.93380447,37.30239967 -121.93192514,37.30404022</font>
<br><font size=2 face="sans-serif"></gml:coordinates></font>
<br><font size=2 face="sans-serif"></gml:Box></font>
<br><font size=2 face="sans-serif"></gml:boundedBy></font>
<br><font size=2 face="sans-serif"><gml:featureMember></font>
<br><font size=2 face="sans-serif"><SJW:pg_station fid="pg_station.91"></font>
<br><font size=2 face="sans-serif"><gml:boundedBy></font>
<br><font size=2 face="sans-serif"><gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"></font>
<br><font size=2 face="sans-serif"><gml:coordinates decimal="."
cs="," ts=" "></font>
<br><font size=2 face="sans-serif">-121.93380447,37.30239967 -121.93192514,37.30404022</font>
<br><font size=2 face="sans-serif"></gml:coordinates></font>
<br><font size=2 face="sans-serif"></gml:Box></font>
<br><font size=2 face="sans-serif"></gml:boundedBy></font>
<br><font size=2 face="sans-serif"><SJW:gdo_geometry></font>
<br><font size=2 face="sans-serif"><gml:MultiPolygon srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"></font>
<br><font size=2 face="sans-serif"><gml:polygonMember></font>
<br><font size=2 face="sans-serif"><gml:Polygon></font>
<br><font size=2 face="sans-serif"><gml:outerBoundaryIs></font>
<br><font size=2 face="sans-serif"><gml:LinearRing></font>
<br><font size=2 face="sans-serif"><gml:coordinates decimal="."
cs="," ts=" "></font>
<br><font size=2 face="sans-serif">-121.93192514,37.30239967 -121.93193417,37.30397591
-121.93193649,37.30398413 -121.93193987,37.30399212 -121.93194428,37.30399977
-121.93194967,37.30400702 -121.93195598,37.30401378 -121.93196313,37.30401997
-121.93197106,37.30402553 -121.93197967,37.3040304 -121.93198887,37.30403452
-121.93200793,37.30404022 -121.93227819,37.30402362 -121.93244372,37.30401651
-121.93260937,37.30401171 -121.9327751,37.30400922 -121.93380447,37.30399679
-121.93380408,37.30382777 -121.93380369,37.30366524 -121.93380331,37.30350359
-121.93380296,37.30335164 -121.93380258,37.30319194 -121.93380227,37.30305845
-121.93380187,37.30289095 -121.93380152,37.3027424 -121.93380111,37.30256592
-121.93380073,37.30240301 -121.93368572,37.30240281 -121.93346706,37.30240242
-121.93313702,37.30240183 -121.93279384,37.30240122 -121.93192514,37.30239967</font>
<br><font size=2 face="sans-serif"></gml:coordinates></font>
<br><font size=2 face="sans-serif"></gml:LinearRing></font>
<br><font size=2 face="sans-serif"></gml:outerBoundaryIs></font>
<br><font size=2 face="sans-serif"></gml:Polygon></font>
<br><font size=2 face="sans-serif"></gml:polygonMember></font>
<br><font size=2 face="sans-serif"></gml:MultiPolygon></font>
<br><font size=2 face="sans-serif"></SJW:gdo_geometry></font>
<br><font size=2 face="sans-serif"></SJW:pg_station></font>
<br><font size=2 face="sans-serif"></gml:featureMember></font>
<br><font size=2 face="sans-serif"></wfs:FeatureCollection></font>
<br>
<br><font size=2 face="sans-serif">If I modify this to fit into the mapserver
namespace like so, It shows up correctly on the map. </font>
<br>
<br><font size=2 face="sans-serif"><?xml version="1.0" encoding="ISO-8859-1"?></font>
<br><font size=2 face="sans-serif"><wfs:FeatureCollection xmlns:ms="http://google.com/mapserver"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></font>
<br><font size=2 face="sans-serif"><gml:boundedBy></font>
<br><font size=2 face="sans-serif"><gml:Box srsName="EPSG:4326"></font>
<br><font size=2 face="sans-serif"><gml:coordinates></font>
<br><font size=2 face="sans-serif">-121.93380447,37.30239967 -121.93192514,37.30404022</font>
<br><font size=2 face="sans-serif"></gml:coordinates></font>
<br><font size=2 face="sans-serif"></gml:Box></font>
<br><font size=2 face="sans-serif"></gml:boundedBy></font>
<br><font size=2 face="sans-serif"><gml:featureMember></font>
<br><font size=2 face="sans-serif"><ms:polygon fid="pg_station.91"></font>
<br><font size=2 face="sans-serif"><gml:boundedBy></font>
<br><font size=2 face="sans-serif"><gml:Box srsName="EPSG:4326"></font>
<br><font size=2 face="sans-serif"><gml:coordinates></font>
<br><font size=2 face="sans-serif">-121.93380447,37.30239967 -121.93192514,37.30404022</font>
<br><font size=2 face="sans-serif"></gml:coordinates></font>
<br><font size=2 face="sans-serif"></gml:Box></font>
<br><font size=2 face="sans-serif"></gml:boundedBy></font>
<br><font size=2 face="sans-serif"><ms:msGeometry></font>
<br><font size=2 face="sans-serif"><gml:MultiPolygon srsName="EPSG:4326"></font>
<br><font size=2 face="sans-serif"><gml:polygonMember></font>
<br><font size=2 face="sans-serif"><gml:Polygon></font>
<br><font size=2 face="sans-serif"><gml:outerBoundaryIs></font>
<br><font size=2 face="sans-serif"><gml:LinearRing></font>
<br><font size=2 face="sans-serif"><gml:coordinates></font>
<br><font size=2 face="sans-serif">-121.93192514,37.30239967 -121.93193417,37.30397591
-121.93193649,37.30398413 -121.93193987,37.30399212 -121.93194428,37.30399977
-121.93194967,37.30400702 -121.93195598,37.30401378 -121.93196313,37.30401997
-121.93197106,37.30402553 -121.93197967,37.3040304 -121.93198887,37.30403452
-121.93200793,37.30404022 -121.93227819,37.30402362 -121.93244372,37.30401651
-121.93260937,37.30401171 -121.9327751,37.30400922 -121.93380447,37.30399679
-121.93380408,37.30382777 -121.93380369,37.30366524 -121.93380331,37.30350359
-121.93380296,37.30335164 -121.93380258,37.30319194 -121.93380227,37.30305845
-121.93380187,37.30289095 -121.93380152,37.3027424 -121.93380111,37.30256592
-121.93380073,37.30240301 -121.93368572,37.30240281 -121.93346706,37.30240242
-121.93313702,37.30240183 -121.93279384,37.30240122 -121.93192514,37.30239967</font>
<br><font size=2 face="sans-serif"></gml:coordinates></font>
<br><font size=2 face="sans-serif"></gml:LinearRing></font>
<br><font size=2 face="sans-serif"></gml:outerBoundaryIs></font>
<br><font size=2 face="sans-serif"></gml:Polygon></font>
<br><font size=2 face="sans-serif"></gml:polygonMember></font>
<br><font size=2 face="sans-serif"></gml:MultiPolygon></font>
<br><font size=2 face="sans-serif"></ms:msGeometry></font>
<br><font size=2 face="sans-serif"></ms:polygon></font>
<br><font size=2 face="sans-serif"></gml:featureMember></font>
<br><font size=2 face="sans-serif"></wfs:FeatureCollection></font>
<br>
<br><font size=2 face="sans-serif">So I'm not sure what I can/should do
about this. Obviously I can't modify the geoserver response, but
I don't know if there's some vendor parameter that will correct the issue,
or if I just can't use the gml layer at all. Thanks again...</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Christopher Schmidt <crschmidt@metacarta.com></b>
</font>
<p><font size=1 face="sans-serif">08/13/2009 10:05 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Aaron_Gundel@sjwater.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">users@openlayers.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [OpenLayers-Users] Question about
GML/WFS compatibility and Styling</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Thu, Aug 13, 2009 at 09:44:32AM -0700, Aaron_Gundel@sjwater.com
wrote:<br>
> Sorry Christopher, I replied to you but I don't think I cc'd the list.
<br>
> Anyway...<br>
> <br>
> Yes, my html is hosted at a different origin. Yes, I am using
a proxy. <br>
> Yes, firebug is showing the file loading up. The URL does contain
the <br>
> requested data and the features are contained within the GML. <br>
> Unfortunately no, there's no url to this right now as it's an intranet
<br>
> site. <br>
> <br>
> Poking around at this further, it looks to be some kind of namespace
issue <br>
> with what's coming out of geoserver not being read by openlayers.
I know <br>
> that the basic geometry is valid now, I swapped out some of the elements
<br>
> [for some I knew that worked, as per the gml example] and changed
some <br>
> namespace attributes and got it to work. But I can't serve this
up from <br>
> geoserver, hence the problem. Any idea how to work around this?<br>
<br>
It might be best to provide a minimal GML file that works and a minimal
<br>
GML file that doesn't work, to show the differences, and perhaps help <br>
other people understand how to help you. <br>
<br>
Best Regards,<br>
-- <br>
Christopher Schmidt<br>
MetaCarta<br>
</font></tt>
<br>