Commit Graph

1115 Commits

Author SHA1 Message Date
Tim Schaub
01a0b9ff8d Private source methods 2013-11-27 12:20:42 -07:00
Tim Schaub
2000b0af78 Vector layer/source refactor
This moves the feature cache from ol.layer.Vector to ol.source.Vector.  These are the minimum changes required to maintain the existing functionality and make tests pass.  More refactoring to come.
2013-11-27 12:20:42 -07:00
Bart van den Eijnden
73a2ab2de1 make sure we can also read in CDATA fields with newlines 2013-11-27 16:09:36 +01:00
Éric Lemoine
1192162792 Merge branch 'master' into vector-api 2013-11-27 15:40:22 +01:00
Tom Payne
f847b37261 Rename ol.structs.RBush#allInExtent to getAllInExtent 2013-11-27 15:10:18 +01:00
Tom Payne
828456d18e Rename ol.structs.RBush#all to getAll 2013-11-27 15:10:18 +01:00
Tom Payne
665781ee03 Throw an exception if an ol.structs.RBush is modified while reading 2013-11-27 15:10:17 +01:00
Tom Payne
1293294d40 Implement ol.structs.RBush#remove_ 2013-11-26 12:02:59 -07:00
Tom Payne
0ea7c2cd50 Refactor ol.structs.RBush tests 2013-11-26 12:02:59 -07:00
Tom Payne
e823e7fde3 Add ol.structs.RBush 2013-11-26 12:02:59 -07:00
Tom Payne
2df03fbf96 Implement ol.structs.RBush#remove_ 2013-11-26 11:57:38 +01:00
Tom Payne
62b9aa0595 Refactor ol.structs.RBush tests 2013-11-26 11:57:37 +01:00
Tom Payne
e749715abd Move ol.structs.RTree out of the way 2013-11-26 11:57:37 +01:00
Tom Payne
8294ca9f57 Port ol.source.Vector to ol.structs.RBush 2013-11-26 11:57:37 +01:00
Tom Payne
4cddee2a0e Add ol.structs.RBush 2013-11-26 11:57:37 +01:00
Bart van den Eijnden
d564b5170c move the typedefs out of objectliterals 2013-11-25 15:50:09 +01:00
Bart van den Eijnden
279c358af2 same solution for axisOrientation as for WFS 1.1.0 2013-11-25 15:50:08 +01:00
Bart van den Eijnden
c9569ed9e2 more tests and typedefs.
Once feature editing is more stable, this format can be extended with Update, Delete and Insert
2013-11-25 15:49:56 +01:00
Bart van den Eijnden
46b79d88f8 ability to parse a FeatureCollection
The trick here was to delete featureNS so autoConfig would kick in
2013-11-25 15:49:48 +01:00
Bart van den Eijnden
c4e7d4437c port over another WFS 1.1 testcase 2013-11-25 15:49:47 +01:00
Bart van den Eijnden
a77632a88c write out GetFeature in WFS 1.1 2013-11-25 15:49:47 +01:00
Bart van den Eijnden
4df848fae0 need the ability to set axisOrientation
We need to be able to set axisOrientation on the underlying GML parser of the Filter subparser of ol.parser.WFS*, also only options and no properties on the instance anymore
2013-11-25 15:48:59 +01:00
Bart van den Eijnden
3184fb02e5 ability to read boundedBy from FeatureCollection 2013-11-25 15:48:58 +01:00
Bart van den Eijnden
d2ac206ca3 starting to add tests for WFS 1.1.0
make sure we don't override the wfs:FeatureCollection reader with the one from GML
2013-11-25 15:48:33 +01:00
Bart van den Eijnden
0581a49378 ability to write out PropertyNames in a GetFeature request 2013-11-25 14:40:15 +01:00
Bart van den Eijnden
557390f2ad initial version of the WFS parser for 1.0.0 and 1.1.0 2013-11-25 14:40:15 +01:00
Bart van den Eijnden
d02af43161 Merge pull request #1130 from bartvde/sld3
Add Styled Layer Descriptor (SLD) version 1.0.0 parser (read/write) (r=@ahocevar)
2013-11-25 01:56:16 -08:00
Bart van den Eijnden
410b0793cf Merge pull request #1127 from bartvde/gfi
STYLES parameter duplicated on getFeatureInfo (r=@tschaub,@ahocevar)
2013-11-25 00:39:09 -08:00
Bart van den Eijnden
053d80180d have the GML parser read and write out multiple geometry attributes with their correct name 2013-11-20 14:57:00 +01:00
Frederic Junod
38bbe35e8d Remove ol.Map#getRenderer function 2013-11-20 11:45:24 +01:00
Tom Payne
6b61f45379 Remove support for 4- and 8- digit hex colors
These are not supported by canvas.
2013-11-20 11:44:49 +01:00
Tom Payne
e3c3170c39 Refactor ol.color to not use goog.color 2013-11-20 11:44:48 +01:00
Tom Payne
51c201acd7 Refactor ol.color to use Array.<number> 2013-11-20 11:44:48 +01:00
Tom Payne
24ca534c54 Use skip instead of xit to mark failing tests 2013-11-20 11:44:48 +01:00
Tom Payne
0aa0cfd54b Move ol.geom.flatLinearRingIsClockwise into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne
ca639a057f Rename ol.test.geom to ol.test.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne
48d3402044 Move reverseFlatCoordinates into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne
16e5f238d2 Move inflateCoordinates into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne
dc1ad7bb83 Move deflateCoodinates into ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne
af17797145 Use clockwise polygons in GeoJSON tests 2013-11-20 11:42:09 +01:00
Tom Payne
376bd6359b Add more exhaustive polygon tests (some fail for reasons not yet known) 2013-11-20 11:42:09 +01:00
Tom Payne
43d67736a8 Add ol.geom.flatLinearRingIsClockwise 2013-11-20 11:42:09 +01:00
Tom Payne
72f64bd37a Add ol.geom.reverseFlatCoordinates 2013-11-20 11:42:08 +01:00
Tom Payne
809fee8988 Add missing whitespace 2013-11-20 11:42:08 +01:00
Tom Payne
07173c493e Refactor ol.geom.Polygon 2013-11-20 11:41:58 +01:00
Tom Payne
9d07e6509f Refactor ol.geom.MultiLineString 2013-11-20 11:41:58 +01:00
Tom Payne
7740929036 Add ol.geom.{de,in}flateCoordinatess 2013-11-20 11:41:58 +01:00
Tom Payne
a89bf0c329 Refactor ol.geom.Point 2013-11-20 11:41:58 +01:00
Tom Payne
6d32756adf Add ol.geom.MultiPoint 2013-11-20 11:41:57 +01:00
Tom Payne
ec748f254e Refactor ol.geom.LineString 2013-11-20 11:41:57 +01:00