Create Format for OWSContext, r=ahocevar (closes #2063)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10300 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2010-05-11 06:51:21 +00:00
parent e67c9411b4
commit 449bc859c4
14 changed files with 1581 additions and 439 deletions

View File

@@ -66,7 +66,7 @@
t.eq(testRecord.title, [{value:"Sample title"}], "check value for record.title");
//test bbox
t.eq(testRecord.BoundingBox.length, 1, "object contains 1 BoundingBox");
t.eq(testRecord.BoundingBox.length, 2, "object contains 2 BoundingBoxes");
var bbox = testRecord.BoundingBox[0];
t.ok(bbox, "object contains BoundingBox properties");
t.eq(bbox.crs, "::Lambert Azimuthal Projection", "check value for BoundingBox.crs");

View File

@@ -25,6 +25,10 @@ var csw_response =
'<ows:LowerCorner>156 -3</ows:LowerCorner>' +
'<ows:UpperCorner>37 83</ows:UpperCorner>' +
'</ows:BoundingBox>' +
'<ows:BoundingBox crs="::WGS 1984">' +
'<ows:LowerCorner>51.1 -34.6</ows:LowerCorner>' +
'<ows:UpperCorner>-17.3 38.2</ows:UpperCorner>' +
'</ows:BoundingBox>' +
'</csw:BriefRecord>' +
'<csw:BriefRecord xmlns:geonet="http://www.fao.org/geonetwork" xmlns:ows="http://www.opengis.net/ows" xmlns:dc="http://purl.org/dc/elements/1.1/">' +
'<dc:identifier>8a7245c3-8546-42de-8e6f-8fb8b5fd1bc3</dc:identifier>' +

File diff suppressed because one or more lines are too long

View File

@@ -92,6 +92,7 @@
<li>Format/SOSCapabilities/v1_0_0.html</li>
<li>Format/SOSGetObservation.html</li>
<li>Format/SOSGetFeatureOfInterest.html</li>
<li>Format/OWSContext/v0_3_1.html</li>
<li>Format/XML.html</li>
<li>Geometry.html</li>
<li>Geometry/Collection.html</li>