Commit Graph

254 Commits

Author SHA1 Message Date
Tim Schaub c203f6a841 Remove unused requires from tests 2016-08-08 09:58:11 -06:00
Tim Schaub ed5dbd1293 Put test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub feb7713225 Remove lint 2016-08-07 13:28:19 -06:00
Tim Schaub e8205a8293 Rename format tests for consistency 2016-08-07 10:49:10 -06:00
Andreas Hocevar 6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
cpsTinK 18101ad0e2 Refactor AND Fixed description Intersects and Within filters into ol.format.wfs 2016-08-03 15:42:46 +04:00
cpsTinK 9150fa2a60 Added Intersects and Within filters into ol.format.wfs 2016-08-02 16:20:09 +04:00
Andreas Hocevar efdf9961b3 Fix KML date parsing
We even have an incorrect test here. And like in ol.format.XSD, we can use
Date.parse().
2016-07-26 16:59:04 +02:00
Andreas Hocevar e2d96082f9 Fix XSD parsing of non-Zulu times 2016-07-26 16:58:33 +02:00
drnextgis 2685dd1bd9 Parse MVT id property 2016-07-19 11:34:44 +07:00
Andreas Hocevar 34d5cc228e Merge pull request #5429 from probins/testenums
Remove enums from tests
2016-07-15 09:12:58 +02:00
Peter Robins 5732cde025 Add tests for kml url from file 2016-07-14 11:13:39 +00:00
Andreas Hocevar 5d85867fbf Merge pull request #5471 from probins/gpx
Fix GPX write of xsi ns
2016-06-23 14:24:48 +02:00
nicholas 6b465902cd Remove goog.dom 2016-06-23 22:06:35 +12:00
Peter Robins 7d210948e8 Fix GPX write of xsi ns
Also add version/creator attributes to <gpx> node.
2016-06-14 11:14:19 +00:00
Peter Robins f3acac5259 Stop GPX writing rtept properties 2016-06-10 10:56:30 +00:00
Peter Robins 06fd92353b Remove enums from tests 2016-06-03 11:10:46 +00:00
Tom Payne a6a621834f Handle UTC midnight wrap around, fixes #5371 2016-05-23 20:36:01 +02:00
tsauerwein 7080c508a4 Handle multiple featureMember elements for different types 2016-05-18 11:26:13 +02:00
tsauerwein af294bd44e Add filter option to ol.format.WFS#writeGetFeature 2016-04-26 16:36:50 +02:00
Peter Robins 27f20e2f54 KML: fix GeometryCollection write 2016-04-11 12:36:07 +00:00
Peter Robins a18bf636f8 Add decimals option to format write 2016-03-24 17:14:02 +00:00
Peter Robins caf3e4b062 Test for both transform coords should use roughlyEqual 2016-03-21 14:21:56 +00:00
Peter Robins e65c522cb4 Fix geojson write GeometryCollection 2016-03-21 12:11:31 +00:00
Frederic Junod 8b95602211 Remove unused goog.require 2016-03-07 09:33:15 +01:00
Tim Schaub 9c594bc997 Use where function in MVT tests 2016-03-02 13:22:33 -07:00
Andreas Hocevar cdf9eda132 Ignore element order for FeatureCollection round trip 2016-02-23 23:36:12 +01:00
Bart van den Eijnden 84b418b5c6 Assert we have a feature id 2016-02-19 09:41:13 +01:00
Frederic Junod 00fbb77c19 Remove use of goog.dom.createElement 2016-02-18 09:55:36 +01:00
Frederic Junod 49b210973e Use ol.array instead of goog.array 2016-02-04 14:21:26 +01:00
Alexandre Dubé 906a132e89 Add layerName option for WMSGetFeatureInfo format
This option allows the format to read only features of a
given layer. This is useful if you wish to make a single
query to a WMS server with multiple layers in it.
2016-01-21 10:54:26 -05:00
Tim Schaub 13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Tim Schaub 0555bb081a Test indentation 2016-01-11 18:56:09 -08:00
Tim Schaub 3f23dfb87b Indentation 2016-01-11 18:56:07 -08:00
Tim Schaub aac1d921c7 Unused variables 2016-01-11 18:56:07 -08:00
Tim Schaub 179b241aec Declare variables before assignment 2016-01-11 18:56:07 -08:00
Bart van den Eijnden bd4c1f8da6 Fix up failing KML test in Firefox 2015-12-15 10:34:47 +01:00
Bart van den Eijnden 46b7f80fef Skip tests for ol.format.MVT in IE9 2015-11-24 14:43:40 +01:00
Bart van den Eijnden 230f24208b Fix up EsriJSON format tests in IE9 2015-11-23 14:03:18 +01:00
Bart van den Eijnden 40e9f0eaf2 Fix up ol.format.GPX tests in IE 2015-11-23 10:05:17 +01:00
oterral f588fcf7b0 Set correctly the opt_this parameter when writing a KML document 2015-11-12 11:54:06 +01:00
Éric Lemoine 9cf26f1fac Merge pull request #4376 from elemoine/kml-non-icon
Make KML format ignore image styles that aren't icons
2015-11-06 16:46:10 +01:00
Éric Lemoine daa970fe4c Make KML format ignore image styles that aren't icons 2015-11-06 15:35:20 +01:00
oterral 08a640b793 Don't transform the scale specified by the user 2015-11-06 14:29:16 +01:00
Éric Lemoine 5c536aafc7 Add a writeStyles option to KML format 2015-11-04 17:12:04 +01:00
Éric Lemoine 14a1add08d Make GPX format no fail on unsupported geometries 2015-11-02 16:26:17 +01:00
Éric Lemoine cbd1aee0cc Remove describe('readFeatures') in GPX tests
Just a remove an unnecessary level of nesting. No functional change.
2015-11-02 15:58:47 +01:00
Frédéric Junod 6d9dd030a1 Merge pull request #4332 from fredj/geojson_id_0_write
Fix write out GeoJSON features with id equal to 0
2015-10-28 15:19:57 +01:00
Frederic Junod d59f6979f7 Fix write out GeoJSON features with id equal to 0 2015-10-28 15:09:31 +01:00
Frederic Junod c6803838ab Allow TopoJSON features with id equal to 0 2015-10-28 14:56:33 +01:00