Remove GeoJSON workaround for GeoServer
See #1569 See https://osgeo-org.atlassian.net/browse/GEOS-5996
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
@@ -520,20 +518,6 @@ describe('ol.format.GeoJSON', function() {
|
||||
|
||||
});
|
||||
|
||||
it('can read out-of-specification CRS generated by GeoServer', function() {
|
||||
// TODO: remove this when http://jira.codehaus.org/browse/GEOS-5996
|
||||
// is fixed and widely deployed.
|
||||
var json = {
|
||||
crs: {
|
||||
type: 'EPSG',
|
||||
properties: {
|
||||
code: '4326'
|
||||
}
|
||||
}
|
||||
};
|
||||
expect(format.readProjection(json)).to.be(ol.proj.get('EPSG:4326'));
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('#writeFeatures', function() {
|
||||
|
||||
Reference in New Issue
Block a user