diff --git a/old/test/spec/ol/parser/ogc/gml_v2.test.js b/old/test/spec/ol/parser/ogc/gml_v2.test.js
deleted file mode 100644
index 780f2f0cf8..0000000000
--- a/old/test/spec/ol/parser/ogc/gml_v2.test.js
+++ /dev/null
@@ -1,342 +0,0 @@
-goog.provide('ol.test.parser.gml_v2');
-
-describe('ol.parser.gml_v2', function() {
-
- var parser = new ol.parser.ogc.GML_v2();
-
- describe('Test GML v2 parser', function() {
- it('Point read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/point-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('Point');
- expect(obj.geometry.coordinates).to.eql([1, 2]);
- done();
- });
- });
- it('Point read / written correctly from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/point-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- parser.applyWriteOptions(obj);
- var geom = parser.createGeometry({geometry: obj.geometry});
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('Point');
- expect(obj.geometry.coordinates).to.eql([1, 2]);
- done();
- });
- });
- it('MultiPoint read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/multipoint-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('MultiPoint');
- expect(obj.geometry.parts.length).to.eql(3);
- expect(obj.geometry.parts[0].type).to.eql('Point');
- expect(obj.geometry.parts[0].coordinates).to.eql([1, 2]);
- expect(obj.geometry.parts[1].coordinates).to.eql([2, 3]);
- expect(obj.geometry.parts[2].coordinates).to.eql([3, 4]);
- done();
- });
- });
- it('MultiPoint read / written correctly from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/multipoint-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiPoint');
- expect(obj.geometry.parts.length).to.eql(3);
- expect(obj.geometry.parts[0].type).to.eql('Point');
- expect(obj.geometry.parts[0].coordinates).to.eql([1, 2]);
- expect(obj.geometry.parts[1].coordinates).to.eql([2, 3]);
- expect(obj.geometry.parts[2].coordinates).to.eql([3, 4]);
- done();
- });
- });
- it('LineString read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/linestring-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('LineString');
- expect(obj.geometry.coordinates.length).to.eql(2);
- expect(obj.geometry.coordinates).to.eql([[1, 2], [3, 4]]);
- done();
- });
- });
- it('LineString read / written correctly from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/linestring-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('LineString');
- expect(obj.geometry.coordinates.length).to.eql(2);
- expect(obj.geometry.coordinates).to.eql([[1, 2], [3, 4]]);
- done();
- });
- });
- it('MultiLineString read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/multilinestring-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('MultiLineString');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('LineString');
- expect(obj.geometry.parts[0].coordinates).to.eql([[1, 2], [2, 3]]);
- expect(obj.geometry.parts[1].coordinates).to.eql([[3, 4], [4, 5]]);
- done();
- });
- });
- it('MultiLineString read / written correctly from coords', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/multilinestring-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiLineString');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('LineString');
- expect(obj.geometry.parts[0].coordinates).to.eql([[1, 2], [2, 3]]);
- expect(obj.geometry.parts[1].coordinates).to.eql([[3, 4], [4, 5]]);
- done();
- });
- });
- it('Polygon read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/polygon-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('Polygon');
- expect(obj.geometry.coordinates.length).to.eql(3);
- expect(obj.geometry.coordinates[0].length).to.eql(4);
- expect(obj.geometry.coordinates[0]).to.eql([[1, 2], [3, 4],
- [5, 6], [1, 2]]);
- expect(obj.geometry.coordinates[1]).to.eql([[2, 3], [4, 5],
- [6, 7], [2, 3]]);
- expect(obj.geometry.coordinates[2]).to.eql([[3, 4], [5, 6],
- [7, 8], [3, 4]]);
- done();
- });
- });
- it('Polygon read / written correctly from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/polygon-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('Polygon');
- done();
- });
- });
- it('MultiPolygon read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/multipolygon-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('MultiPolygon');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('Polygon');
- done();
- });
- });
- it('MultiPolygon read / written from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/multipolygon-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiPolygon');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('Polygon');
- done();
- });
- });
- it('GeometryCollection r / w correctly from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/' +
- 'geometrycollection-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v2({featureNS: 'http://foo'});
- var obj = p.read(xml);
- var geom = p.createGeometry({geometry: obj.geometry});
- p.applyWriteOptions(obj);
- var node = p.featureNSWriters_['_geometry'].apply(p,
- [{value: geom}]).firstChild;
- delete p.srsName;
- delete p.axisOrientation;
- expect(goog.dom.xml.loadXml(p.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('GeometryCollection');
- expect(obj.geometry.parts.length).to.eql(3);
- expect(obj.geometry.parts[0].type).to.eql('Point');
- expect(obj.geometry.parts[1].type).to.eql('LineString');
- expect(obj.geometry.parts[2].type).to.eql('Polygon');
- done();
- });
- });
- it('Box read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/box-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.bounds).to.eql([1, 2, 3, 4]);
- done();
- });
- });
- it('Box read correctly from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/box-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.bounds).to.eql([1, 2, 3, 4]);
- done();
- });
- });
- it('LinearRing read correctly from coord', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/linearring-coord.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('LinearRing');
- expect(obj.geometry.coordinates).to.eql([[1, 2], [3, 4], [5, 6],
- [1, 2]]);
- done();
- });
- });
- it('LinearRing read / written correctly from coordinates', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/linearring-coordinates.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('LinearRing');
- expect(obj.geometry.coordinates).to.eql([[1, 2], [3, 4], [5, 6],
- [1, 2]]);
- done();
- });
- });
- it('FeatureCollection read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/topp-states.xml';
- afterLoadXml(url, function(xml) {
- var schemaLoc = 'http://www.openplans.org/topp ' +
- 'http://demo.opengeo.org/geoserver/wfs?service=WFS&version=' +
- '1.0.0&request=DescribeFeatureType&typeName=topp:states ' +
- 'http://www.opengis.net/wfs http://demo.opengeo.org/' +
- 'geoserver/schemas/wfs/1.0.0/WFS-basic.xsd';
- var p = new ol.parser.ogc.GML_v2({
- featureType: 'states',
- featureNS: 'http://www.openplans.org/topp',
- schemaLocation: schemaLoc});
- // overwrite the axis orientation of the projection, since WFS 1.0.0
- // always uses enu
- var obj = p.read(xml, {axisOrientation: 'enu'});
- var output = p.write(obj, {axisOrientation: 'enu'});
- expect(goog.dom.xml.loadXml(output)).to.xmleql(xml);
- expect(obj.features.length).to.eql(3);
- var feature = obj.features[0];
- expect(feature.getGeometry() instanceof
- ol.geom.MultiPolygon).to.be.ok();
- var attributes = feature.getAttributes();
- expect(feature.getId()).to.eql('states.1');
- expect(attributes['STATE_NAME']).to.eql('Illinois');
- expect(attributes['STATE_FIPS']).to.eql('17');
- expect(attributes['SUB_REGION']).to.eql('E N Cen');
- expect(attributes['STATE_ABBR']).to.eql('IL');
- expect(attributes['LAND_KM']).to.eql('143986.61');
- expect(ol.proj.get(obj.metadata.projection) instanceof ol.proj.EPSG4326)
- .to.be.ok();
- done();
- });
- });
- it('Auto configure works correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/topp-states.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v2();
- var obj = p.read(xml);
- expect(obj.features.length).to.eql(3);
- expect(obj.features[0].getGeometry() instanceof
- ol.geom.MultiPolygon).to.be.ok();
- expect(p.featureType).to.eql('states');
- expect(p.featureNS).to.eql('http://www.openplans.org/topp');
- done();
- });
- });
- it('Test multiple typeNames', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/multipletypenames.xml';
- afterLoadXml(url, function(xml) {
- // we should not go through autoConfig so specify featureNS
- var p = new ol.parser.ogc.GML_v2({
- featureNS: 'http://mapserver.gis.umn.edu/mapserver',
- featureType: ['LKUNSTWERK', 'PKUNSTWERK', 'VKUNSTWERK']});
- var obj = p.read(xml);
- var features = obj.features;
- expect(features.length).to.eql(3);
- expect(features[0].getGeometry() instanceof
- ol.geom.MultiPolygon).to.be.ok();
- expect(features[1].getGeometry() instanceof
- ol.geom.MultiLineString).to.be.ok();
- expect(features[2].getGeometry() instanceof
- ol.geom.MultiPoint).to.be.ok();
- done();
- });
- });
- it('Test no geometry', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/nogeom.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.features.length).to.eql(2);
- var feature = obj.features[0];
- expect(feature.getGeometry() === null).to.be.ok();
- // TODO test bounds on feature
- // see https://github.com/openlayers/ol3/issues/566
- done();
- });
- });
- it('Test boundedBy', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v2/boundedBy.xml';
- afterLoadXml(url, function(xml) {
- parser.read(xml);
- // TODO test bounds on feature
- // see https://github.com/openlayers/ol3/issues/566
- done();
- });
- });
- });
-});
-
-goog.require('goog.dom.xml');
-
-goog.require('ol.parser.ogc.GML_v2');
-goog.require('ol.geom.MultiLineString');
-goog.require('ol.geom.MultiPoint');
-goog.require('ol.geom.MultiPolygon');
-goog.require('ol.proj');
-goog.require('ol.proj.EPSG4326');
diff --git a/old/test/spec/ol/parser/ogc/gml_v3.test.js b/old/test/spec/ol/parser/ogc/gml_v3.test.js
deleted file mode 100644
index 246a9da52b..0000000000
--- a/old/test/spec/ol/parser/ogc/gml_v3.test.js
+++ /dev/null
@@ -1,393 +0,0 @@
-goog.provide('ol.test.parser.gml_v3');
-
-describe('ol.parser.gml_v3', function() {
-
- var parser = new ol.parser.ogc.GML_v3();
-
- describe('Test GML v3 parser', function() {
- it('Envelope read correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/envelope.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.bounds).to.eql([1, 2, 3, 4]);
- done();
- });
- });
- it('LinearRing read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/linearring.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('LinearRing');
- expect(obj.geometry.coordinates).to.eql([[1, 2], [3, 4], [5, 6],
- [1, 2]]);
- done();
- });
- });
- it('Linestring read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/linestring.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('LineString');
- expect(obj.geometry.coordinates).to.eql([[1, 2], [3, 4]]);
- done();
- });
- });
- it('Linestring 3D read correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/linestring3d.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- // no write test since simple features only does 2D
- expect(obj.geometry.type).to.eql('LineString');
- expect(obj.geometry.coordinates).to.eql([[1, 2, 3], [4, 5, 6]]);
- done();
- });
- });
- it('Curve read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/curve.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v3({curve: true});
- var obj = p.read(xml);
- var geom = p.createGeometry({geometry: obj.geometry});
- p.applyWriteOptions(obj);
- var node = p.featureNSWriters_['_geometry'].apply(p,
- [{value: geom}]).firstChild;
- delete p.srsName;
- delete p.axisOrientation;
- expect(goog.dom.xml.loadXml(p.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('LineString');
- expect(obj.geometry.coordinates).to.eql([[1, 2], [3, 4]]);
- done();
- });
- });
- it('MultiLineString plural read correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multilinestring-plural.xml';
- afterLoadXml(url, function(xml) {
- // no write test for plural, we only write singular
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('MultiLineString');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('LineString');
- done();
- });
- });
- it('MultiLineString singular read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multilinestring-singular.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v3({multiCurve: false});
- var obj = p.read(xml);
- var geom = p.createGeometry({geometry: obj.geometry});
- p.applyWriteOptions(obj);
- var node = p.featureNSWriters_['_geometry'].apply(p,
- [{value: geom}]).firstChild;
- delete p.srsName;
- delete p.axisOrientation;
- expect(goog.dom.xml.loadXml(p.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiLineString');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('LineString');
- done();
- });
- });
- it('MultiCurve singular read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multicurve-singular.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiLineString');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('LineString');
- expect(obj.geometry.parts[0].coordinates).to.eql([[1, 2], [2, 3]]);
- done();
- });
- });
- it('MultiCurve curve read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multicurve-curve.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v3({curve: true});
- var obj = p.read(xml);
- var geom = p.createGeometry({geometry: obj.geometry});
- p.applyWriteOptions(obj);
- var node = p.featureNSWriters_['_geometry'].apply(p,
- [{value: geom}]).firstChild;
- delete p.srsName;
- delete p.axisOrientation;
- expect(goog.dom.xml.loadXml(p.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiLineString');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('LineString');
- expect(obj.geometry.parts[0].coordinates).to.eql([[1, 2], [2, 3]]);
- done();
- });
- });
- it('MultiPoint plural read correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multipoint-plural.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('MultiPoint');
- expect(obj.geometry.parts.length).to.eql(3);
- expect(obj.geometry.parts[0].type).to.eql('Point');
- expect(obj.geometry.parts[0].coordinates).to.eql([1, 2]);
- done();
- });
- });
- it('MultiPoint singular read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multipoint-singular.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiPoint');
- expect(obj.geometry.parts.length).to.eql(3);
- expect(obj.geometry.parts[0].type).to.eql('Point');
- expect(obj.geometry.parts[0].coordinates).to.eql([1, 2]);
- done();
- });
- });
- it('MultiPolygon plural read correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multipolygon-plural.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('MultiPolygon');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('Polygon');
- done();
- });
- });
- it('MultiPolygon singular read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multipolygon-singular.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v3({multiSurface: false});
- var obj = p.read(xml);
- var geom = p.createGeometry({geometry: obj.geometry});
- p.applyWriteOptions(obj);
- var node = p.featureNSWriters_['_geometry'].apply(p,
- [{value: geom}]).firstChild;
- delete p.srsName;
- delete p.axisOrientation;
- expect(goog.dom.xml.loadXml(p.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiPolygon');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('Polygon');
- done();
- });
- });
- it('MultiSurface plural read correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multisurface-plural.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.geometry.type).to.eql('MultiPolygon');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('Polygon');
- done();
- });
- });
- it('MultiSurface singular read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multisurface-singular.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiPolygon');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('Polygon');
- done();
- });
- });
- it('MultiSurface surface read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/multisurface-surface.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v3({surface: true});
- var obj = p.read(xml);
- var geom = p.createGeometry({geometry: obj.geometry});
- p.applyWriteOptions(obj);
- var node = p.featureNSWriters_['_geometry'].apply(p,
- [{value: geom}]).firstChild;
- delete p.srsName;
- delete p.axisOrientation;
- expect(goog.dom.xml.loadXml(p.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('MultiPolygon');
- expect(obj.geometry.parts.length).to.eql(2);
- expect(obj.geometry.parts[0].type).to.eql('Polygon');
- done();
- });
- });
- it('Point read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/point.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('Point');
- expect(obj.geometry.coordinates).to.eql([1, 2]);
- done();
- });
- });
- it('Polygon read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/polygon.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var geom = parser.createGeometry({geometry: obj.geometry});
- parser.applyWriteOptions(obj);
- var node = parser.featureNSWriters_['_geometry'].apply(parser,
- [{value: geom}]).firstChild;
- delete parser.srsName;
- delete parser.axisOrientation;
- expect(goog.dom.xml.loadXml(parser.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('Polygon');
- done();
- });
- });
- it('Surface read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/surface.xml';
- afterLoadXml(url, function(xml) {
- var p = new ol.parser.ogc.GML_v3({surface: true});
- var obj = p.read(xml);
- var geom = p.createGeometry({geometry: obj.geometry});
- p.applyWriteOptions(obj, {srsName: 'foo'});
- var node = p.featureNSWriters_['_geometry'].apply(p,
- [{value: geom}]).firstChild;
- delete p.srsName;
- delete p.axisOrientation;
- expect(goog.dom.xml.loadXml(p.serialize(node))).to.xmleql(xml);
- expect(obj.geometry.type).to.eql('Polygon');
- done();
- });
- });
- it('FeatureCollection from GML read / written correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/topp-states-gml.xml';
- afterLoadXml(url, function(xml) {
- var schemaLoc = 'http://www.openplans.org/topp ' +
- 'http://demo.opengeo.org/geoserver/wfs?service=WFS&version=' +
- '1.1.0&request=DescribeFeatureType&typeName=topp:states ' +
- 'http://www.opengis.net/gml ' +
- 'http://schemas.opengis.net/gml/3.2.1/gml.xsd';
- var p = new ol.parser.ogc.GML_v3({schemaLocation: schemaLoc});
- var obj = p.read(xml);
- var output = p.write(obj);
- expect(goog.dom.xml.loadXml(output)).to.xmleql(xml);
- expect(obj.features.length).to.eql(10);
- var feature = obj.features[0];
- expect(feature.getGeometry() instanceof
- ol.geom.MultiPolygon).to.be.ok();
- var attributes = feature.getAttributes();
- expect(feature.getId()).to.eql('states.1');
- expect(attributes['STATE_NAME']).to.eql('Illinois');
- expect(attributes['STATE_FIPS']).to.eql('17');
- expect(attributes['SUB_REGION']).to.eql('E N Cen');
- expect(attributes['STATE_ABBR']).to.eql('IL');
- expect(attributes['LAND_KM']).to.eql('143986.61');
- expect(ol.proj.get(obj.metadata.projection) instanceof ol.proj.EPSG4326)
- .to.be.ok();
- done();
- });
- });
- it('FeatureCollection from WFS read correctly', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/topp-states-wfs.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.features.length).to.eql(3);
- var feature = obj.features[0];
- expect(feature.getGeometry() instanceof
- ol.geom.MultiPolygon).to.be.ok();
- var attributes = feature.getAttributes();
- expect(feature.getId()).to.eql('states.1');
- expect(attributes['STATE_NAME']).to.eql('Illinois');
- expect(attributes['STATE_FIPS']).to.eql('17');
- expect(attributes['SUB_REGION']).to.eql('E N Cen');
- expect(attributes['STATE_ABBR']).to.eql('IL');
- expect(attributes['LAND_KM']).to.eql('143986.61');
- expect(ol.proj.get(obj.metadata.projection) instanceof ol.proj.EPSG4326)
- .to.be.ok();
- done();
- });
- });
- it('Read autoConfig', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/topp-states-wfs.xml';
- afterLoadXml(url, function(xml) {
- parser.read(xml);
- expect(parser.featureType).to.eql('states');
- expect(parser.featureNS).to.eql('http://www.openplans.org/topp');
- expect(parser.autoConfig === true).to.be.ok();
- parser.autoConfig = false;
- parser.read(xml);
- expect(parser.autoConfig === false).to.be.ok();
- parser.autoConfig = true;
- done();
- });
- });
- it('Empty attribute', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/empty-attribute.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.features.length).to.eql(1);
- var attr = obj.features[0].getAttributes();
- expect(attr['name']).to.eql('Aflu');
- expect(attr['foo']).to.eql(undefined);
- expect(attr['empty']).to.eql('');
- done();
- });
- });
- it('Repeated name', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/repeated-name.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- expect(obj.features.length).to.eql(1);
- var atts = obj.features[0].getAttributes();
- expect(atts['zoning']).to.eql('I-L');
- done();
- });
- });
- it('More than one geometry', function(done) {
- var url = 'spec/ol/parser/ogc/xml/gml_v3/more-geoms.xml';
- afterLoadXml(url, function(xml) {
- var obj = parser.read(xml);
- var feature = obj.features[0];
- expect(feature.get('center')).to.be.a(ol.geom.Point);
- expect(feature.get('the_geom')).to.be.a(ol.geom.MultiPolygon);
- done();
- });
- });
- });
-});
-
-goog.require('goog.dom.xml');
-goog.require('ol.geom.Point');
-goog.require('ol.geom.MultiPolygon');
-goog.require('ol.parser.ogc.GML_v3');
-goog.require('ol.proj');
-goog.require('ol.proj.EPSG4326');
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/boundedBy.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/boundedBy.xml
deleted file mode 100644
index 886ca672a4..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/boundedBy.xml
+++ /dev/null
@@ -1 +0,0 @@
-36.9861,-91.5161 42.5091,-87.507137.5101,-88.0711 37.4761,-88.0871 37.4421,-88.3111 37.4091,-88.3591 37.4201,-88.4191 37.4001,-88.4671 37.2961,-88.5111 37.2571,-88.5011 37.2051,-88.4501 37.1561,-88.4221 37.0981,-88.4501 37.0721,-88.4761 37.0681,-88.4901 37.0641,-88.5171 37.0721,-88.5591 37.1091,-88.6141 37.1351,-88.6881 37.1411,-88.7391 37.1521,-88.7461 37.2021,-88.8631 37.2181,-88.9321 37.2201,-88.9931 37.1851,-89.0651 37.1121,-89.1161 37.0931,-89.1461 37.0641,-89.1691 37.0251,-89.1741 36.9981,-89.1501 36.9881,-89.1291 36.9861,-89.1931 37.0281,-89.2101 37.0411,-89.2371 37.0871,-89.2641 37.0911,-89.2841 37.0851,-89.3031 37.0601,-89.3091 37.0271,-89.2641 37.0081,-89.2621 36.9991,-89.2821 37.0091,-89.3101 37.0491,-89.3821 37.0991,-89.3791 37.1371,-89.4231 37.1651,-89.4401 37.2241,-89.4681 37.2531,-89.4651 37.2561,-89.4891 37.2761,-89.5131 37.3041,-89.5131 37.3291,-89.5001 37.3391,-89.4681 37.3551,-89.4351 37.4111,-89.4271 37.4531,-89.4531 37.4911,-89.4941 37.5711,-89.5241 37.6151,-89.5131 37.6501,-89.5191 37.6791,-89.5131 37.6941,-89.5211 37.7061,-89.5811 37.7451,-89.6661 37.7831,-89.6751 37.8041,-89.6911 37.8401,-89.7281 37.9051,-89.8511 37.9051,-89.8611 37.8911,-89.8661 37.8751,-89.9001 37.8781,-89.9371 37.9111,-89.9781 37.9631,-89.9581 37.9691,-90.0101 37.9931,-90.0411 38.0321,-90.1191 38.0531,-90.1341 38.0881,-90.2071 38.1221,-90.2541 38.1661,-90.2891 38.1881,-90.3361 38.2341,-90.3641 38.3231,-90.3691 38.3651,-90.3581 38.3901,-90.3391 38.4271,-90.3011 38.5181,-90.2651 38.5321,-90.2611 38.5621,-90.2401 38.6101,-90.1831 38.6581,-90.1831 38.7001,-90.2021 38.7231,-90.1961 38.7731,-90.1631 38.7851,-90.1351 38.8001,-90.1211 38.8301,-90.1131 38.8531,-90.1321 38.9141,-90.2431 38.9241,-90.2781 38.9241,-90.3191 38.9621,-90.4131 38.9591,-90.4691 38.8911,-90.5301 38.8711,-90.5701 38.8801,-90.6271 38.9351,-90.6681 39.0371,-90.7061 39.0581,-90.7071 39.0931,-90.6901 39.1441,-90.7161 39.1951,-90.7181 39.2241,-90.7321 39.2471,-90.7381 39.2961,-90.7791 39.3501,-90.8501 39.4001,-90.9471 39.4441,-91.0361 39.4731,-91.0641 39.5281,-91.0931 39.5521,-91.1561 39.6001,-91.2031 39.6851,-91.3171 39.7241,-91.3671 39.7611,-91.3731 39.8031,-91.3811 39.8631,-91.4491 39.8851,-91.4501 39.9011,-91.4341 39.9211,-91.4301 39.9461,-91.4471 40.0051,-91.4871 40.0661,-91.5041 40.1341,-91.5161 40.2001,-91.5061 40.2511,-91.4981 40.3091,-91.4861 40.3711,-91.4481 40.3861,-91.4181 40.3921,-91.3851 40.4021,-91.3721 40.4471,-91.3851 40.5031,-91.3741 40.5281,-91.3821 40.5471,-91.4121 40.5721,-91.4111 40.6031,-91.3751 40.6391,-91.2621 40.6431,-91.2141 40.6561,-91.1621 40.6821,-91.1291 40.7051,-91.1191 40.7611,-91.0921 40.8331,-91.0881 40.8791,-91.0491 40.9231,-90.9831 40.9501,-90.9601 41.0701,-90.9541 41.1041,-90.9571 41.1441,-90.9901 41.1651,-91.0181 41.1761,-91.0561 41.2311,-91.1011 41.2671,-91.1021 41.3341,-91.0731 41.4011,-91.0551 41.4231,-91.0271 41.4311,-91.0001 41.4211,-90.9491 41.4441,-90.8441 41.4491,-90.7791 41.4501,-90.7081 41.4621,-90.6581 41.5091,-90.6001 41.5251,-90.5401 41.5271,-90.4541 41.5431,-90.4341 41.5671,-90.4231 41.5861,-90.3481 41.6021,-90.3391 41.6491,-90.3411 41.7221,-90.3261 41.7561,-90.3041 41.7811,-90.2551 41.8061,-90.1951 41.9301,-90.1541 41.9831,-90.1421 42.0331,-90.1501 42.0611,-90.1681 42.1031,-90.1661 42.1201,-90.1761 42.1221,-90.1911 42.1591,-90.2301 42.1971,-90.3231 42.2101,-90.3671 42.2421,-90.4071 42.2631,-90.4171 42.3401,-90.4271 42.3601,-90.4411 42.3881,-90.4911 42.4211,-90.5631 42.4601,-90.6051 42.4751,-90.6481 42.4941,-90.6511 42.5091,-90.6381 42.5081,-90.4191 42.5041,-89.9231 42.5031,-89.8341 42.4971,-89.4001 42.4971,-89.3591 42.4901,-88.9391 42.4901,-88.7641 42.4891,-88.7061 42.4911,-88.2971 42.4891,-88.1941 42.4891,-87.7971 42.3141,-87.8361 42.1561,-87.7601 42.0591,-87.6701 41.8471,-87.6121 41.7231,-87.5291 41.4691,-87.5321 41.3011,-87.5321 41.1731,-87.5311 41.0091,-87.5321 40.7451,-87.5321 40.4941,-87.5371 40.4831,-87.5351 40.1661,-87.5351 39.8871,-87.5351 39.6091,-87.5351 39.4771,-87.5381 39.3501,-87.5401 39.3381,-87.5971 39.3071,-87.6251 39.2971,-87.6101 39.2811,-87.6151 39.2581,-87.6061 39.2481,-87.5841 39.2081,-87.5881 39.1981,-87.5941 39.1961,-87.6071 39.1681,-87.6441 39.1461,-87.6701 39.1301,-87.6591 39.1131,-87.6621 39.1031,-87.6311 39.0881,-87.6301 39.0841,-87.6121 39.0621,-87.5851 38.9951,-87.5811 38.9941,-87.5911 38.9771,-87.5471 38.9631,-87.5331 38.9311,-87.5301 38.9041,-87.5391 38.8691,-87.5591 38.8571,-87.5501 38.7951,-87.5071 38.7761,-87.5191 38.7691,-87.5081 38.7361,-87.5081 38.6851,-87.5431 38.6721,-87.5881 38.6421,-87.6251 38.6221,-87.6281 38.5991,-87.6191 38.5931,-87.6401 38.5731,-87.6521 38.5471,-87.6721 38.5151,-87.6511 38.5001,-87.6531 38.5041,-87.6791 38.4811,-87.6921 38.4661,-87.7561 38.4571,-87.7581 38.4451,-87.7381 38.4171,-87.7481 38.3781,-87.7841 38.3521,-87.8341 38.2861,-87.8501 38.2851,-87.8631 38.3161,-87.8741 38.3151,-87.8831 38.3001,-87.8881 38.2811,-87.9141 38.3021,-87.9131 38.3041,-87.9251 38.2411,-87.9801 38.2341,-87.9861 38.2001,-87.9771 38.1711,-87.9321 38.1571,-87.9311 38.1361,-87.9501 38.1311,-87.9731 38.1031,-88.0181 38.0921,-88.0121 38.0961,-87.9641 38.0731,-87.9751 38.0541,-88.0341 38.0451,-88.0431 38.0381,-88.0411 38.0331,-88.0211 38.0081,-88.0291 37.9751,-88.0211 37.9561,-88.0421 37.9341,-88.0411 37.9291,-88.0641 37.944,-88.0781 37.9231,-88.084 37.9171,-88.0301 37.9051,-88.0261 37.8961,-88.0441 37.9061,-88.1001 37.8951,-88.1011 37.8671,-88.0751 37.8431,-88.0341 37.8271,-88.0421 37.8311,-88.0891 37.8171,-88.0861 37.8051,-88.0351 37.7351,-88.0721 37.7001,-88.1331 37.6601,-88.1591 37.6281,-88.1571 37.5831,-88.1341 37.5101,-88.0711Illinois17E N CenIL143986.611993.3351.1431E72924880.04202240.05552233.05878369.04199206.03741715.0652603.0538071.05417967.0385040.01360159.0828906.00.4860.5141747776.0
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/box-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/box-coord.xml
deleted file mode 100644
index 51f37e23c1..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/box-coord.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 1
- 2
-
-
- 3
- 4
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/box-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/box-coordinates.xml
deleted file mode 100644
index 9817c2600d..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/box-coordinates.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1,2 3,4
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/geometrycollection-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/geometrycollection-coordinates.xml
deleted file mode 100644
index bec4cf48c4..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/geometrycollection-coordinates.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
- 1,2
-
-
-
-
- 1,2 3,4
-
-
-
-
-
-
- 1,2 3,2 3,4 1,2
-
-
-
-
- 2,3 2,5 4,5 2,3
-
-
-
-
- 3,4 3,6 5,6 3,4
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/linearring-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/linearring-coord.xml
deleted file mode 100644
index 6b956f87f1..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/linearring-coord.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 1
- 2
-
-
- 3
- 4
-
-
- 5
- 6
-
-
- 1
- 2
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/linearring-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/linearring-coordinates.xml
deleted file mode 100644
index a069c8d7dc..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/linearring-coordinates.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1,2 3,4 5,6 1,2
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/linestring-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/linestring-coord.xml
deleted file mode 100644
index 48d876883f..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/linestring-coord.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 1
- 2
-
-
- 3
- 4
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/linestring-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/linestring-coordinates.xml
deleted file mode 100644
index 0831331f0b..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/linestring-coordinates.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1,2 3,4
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/multilinestring-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/multilinestring-coord.xml
deleted file mode 100644
index 5ee1a4dd45..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/multilinestring-coord.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
- 1
- 2
-
-
- 2
- 3
-
-
-
-
-
-
- 3
- 4
-
-
- 4
- 5
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/multilinestring-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/multilinestring-coordinates.xml
deleted file mode 100644
index a5d87dbf0c..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/multilinestring-coordinates.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- 1,2 2,3
-
-
-
-
- 3,4 4,5
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipletypenames.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/multipletypenames.xml
deleted file mode 100644
index 956cac789f..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipletypenames.xml
+++ /dev/null
@@ -1 +0,0 @@
- 134503.789000,455332.337000 135149.909000,455893.926000 134949.571000,455438.845000 134978.799000,455471.762000 134974.191000,455471.587000 134973.974000,455471.762000 134973.558000,455471.248000 134973.579000,455471.230000 134963.143000,455458.768000 134962.787000,455458.653000 134960.514000,455456.003000 134960.440000,455455.539000 134950.207000,455443.320000 134950.158000,455443.360000 134949.571000,455442.638000 134949.810000,455442.462000 134951.417000,455441.223000 134951.435000,455441.209000 134954.158000,455439.108000 134954.507000,455438.845000 134955.000000,455439.420000 134954.954000,455439.458000 134965.046000,455451.520000 134965.568000,455451.606000 134968.159000,455454.642000 134968.120000,455455.195000 134978.294000,455467.355000 134978.330000,455467.326000 134978.799000,455467.881000 134978.598000,455468.042000 134975.885000,455470.224000 134974.191000,455471.587000 134960.590000,455455.163000 134963.589000,455458.755000 134973.756000,455470.929000 134973.836000,455471.019000 134974.216000,455471.445000 134975.807000,455470.163000 134978.485000,455468.005000 134978.077000,455467.534000 134978.015000,455467.462000 134967.969000,455455.479000 134964.782000,455451.678000 134954.705000,455439.660000 134954.622000,455439.561000 134954.271000,455439.152000 134951.498000,455441.284000 134949.973000,455442.456000 134950.452000,455443.023000 134950.501000,455443.081000 134960.590000,455455.163000 16 31 135080.966000,455332.337000 135149.909000,455390.384000 135080.966000,455390.384000 135096.654000,455377.009000 135109.082000,455366.755000 135122.769000,455355.276000 135141.565000,455339.633000 135149.909000,455332.337000 14 30 134832.017000,455596.187000 134832.017000,455596.187000 134832.017000,455596.187000 29 30
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipoint-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/multipoint-coord.xml
deleted file mode 100644
index 1c6c551255..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipoint-coord.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
- 1
- 2
-
-
-
-
-
-
- 2
- 3
-
-
-
-
-
-
- 3
- 4
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipoint-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/multipoint-coordinates.xml
deleted file mode 100644
index 07063c8a73..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipoint-coordinates.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- 1,2
-
-
-
-
- 2,3
-
-
-
-
- 3,4
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipolygon-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/multipolygon-coord.xml
deleted file mode 100644
index 4ea443a91f..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipolygon-coord.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
- 1
- 2
-
-
- 3
- 2
-
-
- 3
- 4
-
-
- 1
- 2
-
-
-
-
-
-
- 2
- 3
-
-
- 2
- 5
-
-
- 4
- 5
-
-
- 2
- 3
-
-
-
-
-
-
- 3
- 4
-
-
- 3
- 6
-
-
- 5
- 6
-
-
- 3
- 4
-
-
-
-
-
-
-
-
-
-
- 1
- 2
-
-
- 3
- 2
-
-
- 3
- 4
-
-
- 1
- 2
-
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipolygon-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/multipolygon-coordinates.xml
deleted file mode 100644
index 26de3d3422..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/multipolygon-coordinates.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
- 1,2 3,2 3,4 1,2
-
-
-
-
- 2,3 2,5 4,5 2,3
-
-
-
-
- 3,4 3,6 5,6 3,4
-
-
-
-
-
-
-
-
- 1,2 3,2 3,4 1,2
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/nogeom.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/nogeom.xml
deleted file mode 100644
index 3e5666f6a8..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/nogeom.xml
+++ /dev/null
@@ -1 +0,0 @@
-199373,6704170 337568,6885985209565,6785323 337568,6885985COTES-D'ARMOR199373,6704170 323518,6807542MORBIHAN
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/point-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/point-coord.xml
deleted file mode 100644
index 3f1be05b3c..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/point-coord.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- 1
- 2
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/point-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/point-coordinates.xml
deleted file mode 100644
index 1e3d56dd8e..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/point-coordinates.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1,2
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/polygon-coord.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/polygon-coord.xml
deleted file mode 100644
index f7bfb31ee8..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/polygon-coord.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
- 1
- 2
-
-
- 3
- 4
-
-
- 5
- 6
-
-
- 1
- 2
-
-
-
-
-
-
- 2
- 3
-
-
- 4
- 5
-
-
- 6
- 7
-
-
- 2
- 3
-
-
-
-
-
-
- 3
- 4
-
-
- 5
- 6
-
-
- 7
- 8
-
-
- 3
- 4
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/polygon-coordinates.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/polygon-coordinates.xml
deleted file mode 100644
index 5a5085e3cb..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/polygon-coordinates.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- 1,2 5,2 5,6 1,2
-
-
-
-
- 2,3 2,5 4,5 2,3
-
-
-
-
- 3,4 3,6 5,6 3,4
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v2/topp-states.xml b/old/test/spec/ol/parser/ogc/xml/gml_v2/topp-states.xml
deleted file mode 100644
index c5cffac4e5..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v2/topp-states.xml
+++ /dev/null
@@ -1 +0,0 @@
-37.5101,-88.0711 37.4761,-88.0871 37.4421,-88.3111 37.4091,-88.3591 37.4201,-88.4191 37.4001,-88.4671 37.2961,-88.5111 37.2571,-88.5011 37.2051,-88.4501 37.1561,-88.4221 37.0981,-88.4501 37.0721,-88.4761 37.0681,-88.4901 37.0641,-88.5171 37.0721,-88.5591 37.1091,-88.6141 37.1351,-88.6881 37.1411,-88.7391 37.1521,-88.7461 37.2021,-88.8631 37.2181,-88.9321 37.2201,-88.9931 37.1851,-89.0651 37.1121,-89.1161 37.0931,-89.1461 37.0641,-89.1691 37.0251,-89.1741 36.9981,-89.1501 36.9881,-89.1291 36.9861,-89.1931 37.0281,-89.2101 37.0411,-89.2371 37.0871,-89.2641 37.0911,-89.2841 37.0851,-89.3031 37.0601,-89.3091 37.0271,-89.2641 37.0081,-89.2621 36.9991,-89.2821 37.0091,-89.3101 37.0491,-89.3821 37.0991,-89.3791 37.1371,-89.4231 37.1651,-89.4401 37.2241,-89.4681 37.2531,-89.4651 37.2561,-89.4891 37.2761,-89.5131 37.3041,-89.5131 37.3291,-89.5001 37.3391,-89.4681 37.3551,-89.4351 37.4111,-89.4271 37.4531,-89.4531 37.4911,-89.4941 37.5711,-89.5241 37.6151,-89.5131 37.6501,-89.5191 37.6791,-89.5131 37.6941,-89.5211 37.7061,-89.5811 37.7451,-89.6661 37.7831,-89.6751 37.8041,-89.6911 37.8401,-89.7281 37.9051,-89.8511 37.9051,-89.8611 37.8911,-89.8661 37.8751,-89.9001 37.8781,-89.9371 37.9111,-89.9781 37.9631,-89.9581 37.9691,-90.0101 37.9931,-90.0411 38.0321,-90.1191 38.0531,-90.1341 38.0881,-90.2071 38.1221,-90.2541 38.1661,-90.2891 38.1881,-90.3361 38.2341,-90.3641 38.3231,-90.3691 38.3651,-90.3581 38.3901,-90.3391 38.4271,-90.3011 38.5181,-90.2651 38.5321,-90.2611 38.5621,-90.2401 38.6101,-90.1831 38.6581,-90.1831 38.7001,-90.2021 38.7231,-90.1961 38.7731,-90.1631 38.7851,-90.1351 38.8001,-90.1211 38.8301,-90.1131 38.8531,-90.1321 38.9141,-90.2431 38.9241,-90.2781 38.9241,-90.3191 38.9621,-90.4131 38.9591,-90.4691 38.8911,-90.5301 38.8711,-90.5701 38.8801,-90.6271 38.9351,-90.6681 39.0371,-90.7061 39.0581,-90.7071 39.0931,-90.6901 39.1441,-90.7161 39.1951,-90.7181 39.2241,-90.7321 39.2471,-90.7381 39.2961,-90.7791 39.3501,-90.8501 39.4001,-90.9471 39.4441,-91.0361 39.4731,-91.0641 39.5281,-91.0931 39.5521,-91.1561 39.6001,-91.2031 39.6851,-91.3171 39.7241,-91.3671 39.7611,-91.3731 39.8031,-91.3811 39.8631,-91.4491 39.8851,-91.4501 39.9011,-91.4341 39.9211,-91.4301 39.9461,-91.4471 40.0051,-91.4871 40.0661,-91.5041 40.1341,-91.5161 40.2001,-91.5061 40.2511,-91.4981 40.3091,-91.4861 40.3711,-91.4481 40.3861,-91.4181 40.3921,-91.3851 40.4021,-91.3721 40.4471,-91.3851 40.5031,-91.3741 40.5281,-91.3821 40.5471,-91.4121 40.5721,-91.4111 40.6031,-91.3751 40.6391,-91.2621 40.6431,-91.2141 40.6561,-91.1621 40.6821,-91.1291 40.7051,-91.1191 40.7611,-91.0921 40.8331,-91.0881 40.8791,-91.0491 40.9231,-90.9831 40.9501,-90.9601 41.0701,-90.9541 41.1041,-90.9571 41.1441,-90.9901 41.1651,-91.0181 41.1761,-91.0561 41.2311,-91.1011 41.2671,-91.1021 41.3341,-91.0731 41.4011,-91.0551 41.4231,-91.0271 41.4311,-91.0001 41.4211,-90.9491 41.4441,-90.8441 41.4491,-90.7791 41.4501,-90.7081 41.4621,-90.6581 41.5091,-90.6001 41.5251,-90.5401 41.5271,-90.4541 41.5431,-90.4341 41.5671,-90.4231 41.5861,-90.3481 41.6021,-90.3391 41.6491,-90.3411 41.7221,-90.3261 41.7561,-90.3041 41.7811,-90.2551 41.8061,-90.1951 41.9301,-90.1541 41.9831,-90.1421 42.0331,-90.1501 42.0611,-90.1681 42.1031,-90.1661 42.1201,-90.1761 42.1221,-90.1911 42.1591,-90.2301 42.1971,-90.3231 42.2101,-90.3671 42.2421,-90.4071 42.2631,-90.4171 42.3401,-90.4271 42.3601,-90.4411 42.3881,-90.4911 42.4211,-90.5631 42.4601,-90.6051 42.4751,-90.6481 42.4941,-90.6511 42.5091,-90.6381 42.5081,-90.4191 42.5041,-89.9231 42.5031,-89.8341 42.4971,-89.4001 42.4971,-89.3591 42.4901,-88.9391 42.4901,-88.7641 42.4891,-88.7061 42.4911,-88.2971 42.4891,-88.1941 42.4891,-87.7971 42.3141,-87.8361 42.1561,-87.7601 42.0591,-87.6701 41.8471,-87.6121 41.7231,-87.5291 41.4691,-87.5321 41.3011,-87.5321 41.1731,-87.5311 41.0091,-87.5321 40.7451,-87.5321 40.4941,-87.5371 40.4831,-87.5351 40.1661,-87.5351 39.8871,-87.5351 39.6091,-87.5351 39.4771,-87.5381 39.3501,-87.5401 39.3381,-87.5971 39.3071,-87.6251 39.2971,-87.6101 39.2811,-87.6151 39.2581,-87.6061 39.2481,-87.5841 39.2081,-87.5881 39.1981,-87.5941 39.1961,-87.6071 39.1681,-87.6441 39.1461,-87.6701 39.1301,-87.6591 39.1131,-87.6621 39.1031,-87.6311 39.0881,-87.6301 39.0841,-87.6121 39.0621,-87.5851 38.9951,-87.5811 38.9941,-87.5911 38.9771,-87.5471 38.9631,-87.5331 38.9311,-87.5301 38.9041,-87.5391 38.8691,-87.5591 38.8571,-87.5501 38.7951,-87.5071 38.7761,-87.5191 38.7691,-87.5081 38.7361,-87.5081 38.6851,-87.5431 38.6721,-87.5881 38.6421,-87.6251 38.6221,-87.6281 38.5991,-87.6191 38.5931,-87.6401 38.5731,-87.6521 38.5471,-87.6721 38.5151,-87.6511 38.5001,-87.6531 38.5041,-87.6791 38.4811,-87.6921 38.4661,-87.7561 38.4571,-87.7581 38.4451,-87.7381 38.4171,-87.7481 38.3781,-87.7841 38.3521,-87.8341 38.2861,-87.8501 38.2851,-87.8631 38.3161,-87.8741 38.3151,-87.8831 38.3001,-87.8881 38.2811,-87.9141 38.3021,-87.9131 38.3041,-87.9251 38.2411,-87.9801 38.2341,-87.9861 38.2001,-87.9771 38.1711,-87.9321 38.1571,-87.9311 38.1361,-87.9501 38.1311,-87.9731 38.1031,-88.0181 38.0921,-88.0121 38.0961,-87.9641 38.0731,-87.9751 38.0541,-88.0341 38.0451,-88.0431 38.0381,-88.0411 38.0331,-88.0211 38.0081,-88.0291 37.9751,-88.0211 37.9561,-88.0421 37.9341,-88.0411 37.9291,-88.0641 37.944,-88.0781 37.9231,-88.084 37.9171,-88.0301 37.9051,-88.0261 37.8961,-88.0441 37.9061,-88.1001 37.8951,-88.1011 37.8671,-88.0751 37.8431,-88.0341 37.8271,-88.0421 37.8311,-88.0891 37.8171,-88.0861 37.8051,-88.0351 37.7351,-88.0721 37.7001,-88.1331 37.6601,-88.1591 37.6281,-88.1571 37.5831,-88.1341 37.5101,-88.0711Illinois17E N CenIL143986.611993.3351.1431E72924880.04202240.05552233.05878369.04199206.03741715.0652603.0538071.05417967.0385040.01360159.0828906.00.4860.5141747776.038.9661,-77.0081 38.8891,-76.9111 38.7881,-77.0451 38.8131,-77.0351 38.8291,-77.0451 38.8381,-77.0401 38.8621,-77.0391 38.8861,-77.0671 38.9151,-77.0781 38.9321,-77.1221 38.9931,-77.0421 38.9661,-77.0081District of Columbia11S AtlDC159.05517.991606900.0122087.0249634.0282970.0323930.0229975.0106694.036621.0111422.0303994.023442.065498.022407.00.4660.53472696.038.5571,-75.7071 38.6491,-75.7111 38.8301,-75.7241 39.1411,-75.7521 39.2471,-75.7611 39.2951,-75.7641 39.3831,-75.7721 39.7231,-75.7911 39.7241,-75.7751 39.7741,-75.7451 39.8201,-75.6951 39.8381,-75.6441 39.8401,-75.5831 39.8261,-75.4701 39.7981,-75.4201 39.7891,-75.4121 39.7781,-75.4281 39.7631,-75.4601 39.7411,-75.4751 39.7191,-75.4761 39.7141,-75.4891 39.6121,-75.6101 39.5661,-75.5621 39.4631,-75.5901 39.3661,-75.5151 39.2571,-75.4021 39.0731,-75.3971 39.0121,-75.3241 38.9451,-75.3071 38.8081,-75.1901 38.7991,-75.0831 38.4491,-75.0451 38.4491,-75.0681 38.4501,-75.0931 38.4551,-75.3501 38.4631,-75.6991 38.5571,-75.7071Delaware10S AtlDE5062.4561385.022666168.0175867.0247497.0322968.0343200.0247566.0258087.042968.08069.0335147.013945.087973.044140.00.4850.515102776.0
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/curve.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/curve.xml
deleted file mode 100644
index c12b9ccab7..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/curve.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- 1 2 3 4
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/empty-attribute.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/empty-attribute.xml
deleted file mode 100644
index 14f13c6669..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/empty-attribute.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- Aflu
-
-
- 34.12 2.09
-
-
- 84683
- Algeria
- place
- Aflu
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/envelope.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/envelope.xml
deleted file mode 100644
index 06cc2d42c3..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/envelope.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
- 1 2
- 3 4
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/linearring.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/linearring.xml
deleted file mode 100644
index 49d966a527..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/linearring.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1 2 3 4 5 6 1 2
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/linestring.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/linestring.xml
deleted file mode 100644
index b7f67f80bb..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/linestring.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1 2 3 4
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/linestring3d.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/linestring3d.xml
deleted file mode 100644
index fec90ba07f..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/linestring3d.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1 2 3 4 5 6
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multicurve-curve.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multicurve-curve.xml
deleted file mode 100644
index fdd79f1701..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multicurve-curve.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
- 1 2 2 3
-
-
-
-
-
-
-
-
- 3 4 4 5
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multicurve-singular.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multicurve-singular.xml
deleted file mode 100644
index 03e71f0d99..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multicurve-singular.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- 1 2 2 3
-
-
-
-
- 3 4 4 5
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multilinestring-plural.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multilinestring-plural.xml
deleted file mode 100644
index c8cb9cb451..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multilinestring-plural.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- 1 2 2 3
-
-
- 3 4 4 5
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multilinestring-singular.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multilinestring-singular.xml
deleted file mode 100644
index 6877f95ea4..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multilinestring-singular.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- 1 2 2 3
-
-
-
-
- 3 4 4 5
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipoint-plural.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multipoint-plural.xml
deleted file mode 100644
index d94464e073..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipoint-plural.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- 1 2
-
-
- 2 3
-
-
- 3 4
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipoint-singular.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multipoint-singular.xml
deleted file mode 100644
index 8ee3026634..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipoint-singular.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- 1 2
-
-
-
-
- 2 3
-
-
-
-
- 3 4
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipolygon-plural.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multipolygon-plural.xml
deleted file mode 100644
index 6118ff7724..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipolygon-plural.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
- 2 3 2 5 4 5 2 3
-
-
-
-
- 3 4 3 6 5 6 3 4
-
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipolygon-singular.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multipolygon-singular.xml
deleted file mode 100644
index 9ea5339d87..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multipolygon-singular.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
- 2 3 2 5 4 5 2 3
-
-
-
-
- 3 4 3 6 5 6 3 4
-
-
-
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-plural.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-plural.xml
deleted file mode 100644
index ed65e0fd56..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-plural.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
- 2 3 2 5 4 5 2 3
-
-
-
-
- 3 4 3 6 5 6 3 4
-
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-singular.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-singular.xml
deleted file mode 100644
index bf6eb737af..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-singular.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
- 2 3 2 5 4 5 2 3
-
-
-
-
- 3 4 3 6 5 6 3 4
-
-
-
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-surface.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-surface.xml
deleted file mode 100644
index 7fe394769f..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/multisurface-surface.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
- 2 3 2 5 4 5 2 3
-
-
-
-
- 3 4 3 6 5 6 3 4
-
-
-
-
-
-
-
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/point.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/point.xml
deleted file mode 100644
index 8ff86123bb..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/point.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 1 2
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/polygon.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/polygon.xml
deleted file mode 100644
index e9c467e02b..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/polygon.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
- 2 3 2 5 4 5 2 3
-
-
-
-
- 3 4 3 6 5 6 3 4
-
-
-
diff --git a/old/test/spec/ol/parser/ogc/xml/gml_v3/surface.xml b/old/test/spec/ol/parser/ogc/xml/gml_v3/surface.xml
deleted file mode 100644
index 4bfea73303..0000000000
--- a/old/test/spec/ol/parser/ogc/xml/gml_v3/surface.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
- 1 2 3 2 3 4 1 2
-
-
-
-
- 2 3 2 5 4 5 2 3
-
-
-
-
- 3 4 3 6 5 6 3 4
-
-
-
-
-