Hi, I'm trying to read a GML generated from geoserver by uploading a shapefile. But it is not read and output is not shown. Similar GML files which are in geoserver is shown properly using the same GML client. Can anyone please suggest a possible reason for this issue?
As the data cannot made public I cannot share the whole file here. Therefore I'm adding the first part of the file here. <wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs=" http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:dhara="dhara"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="dhara http://localhost:8181/geoserver/dhara/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=dhara%3Aagalawatta_area http://www.opengis.net/wfs http://localhost:8181/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd"> <gml:boundedBy> <gml:null>unknown</gml:null> </gml:boundedBy> <gml:featureMember> <dhara:agalawatta_area fid="agalawatta_area.1"> <dhara:the_geom> <gml:MultiPolygon srsName="EPSG:5234"> <gml:polygonMember> <gml:Polygon> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" "> Below is the first part of a working GML sample. <wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs=" http://www.opengis.net/wfs" xmlns:topp="http://www.openplans.org/topp" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.openplans.org/topp http://localhost:8181/geoserver/topp/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp%3Atasmania_roads http://www.opengis.net/wfs http://localhost:8181/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd"> <gml:boundedBy> <gml:null>unknown</gml:null> </gml:boundedBy> <gml:featureMember> <topp:tasmania_roads fid="tasmania_roads.1"> <topp:the_geom> <gml:MultiLineString srsName="EPSG:4326"> <gml:lineStringMember> <gml:LineString> <gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" "> Thanks, Nipuni -- Nipuni Piyabasi Perera Undergraduate Department of Computer Science And Engineering University of Moratuwa Sri Lanka
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
