Commit Graph

10906 Commits

Author SHA1 Message Date
Tom Payne
665781ee03 Throw an exception if an ol.structs.RBush is modified while reading 2013-11-27 15:10:17 +01:00
ahocevar
fab0fe5e7a Merge pull request #1322 from ahocevar/modify-rbush
Use ol.structs.RBush in ol.interaction.Modify
2013-11-27 05:56:13 -08:00
ahocevar
137f797bee Use ol.structs.RBush in ol.interaction.Modify
This is one more step to bring the master and vector-api
branches closer together. I am well aware that the current
Modify interaction will probably be rewritten as part of the
vector-api effort, but with changes like this we will eventually
be able to remove ol.structs.RTree from master.
2013-11-27 14:48:06 +01:00
ahocevar
683b5c34bf Merge pull request #1321 from ahocevar/safe-foreach
Documenting limitations of forEach and forEachInExtent
2013-11-27 05:39:05 -08:00
ahocevar
96c6cd0ab0 Documenting limitations of forEach and forEachInExtent
Because the tree's structure changes when nodes are inserted,
updated or deleted, no modifications are allowed in a forEach
loop.
2013-11-27 14:21:56 +01:00
Frédéric Junod
8a15c33b86 Merge pull request #1318 from fredj/export_buffer
Export ol.extent.buffer function
2013-11-27 02:41:22 -08:00
Frederic Junod
5fef6d554b Export ol.extent.buffer 2013-11-27 10:05:06 +01:00
Tim Schaub
e4b50376f3 Merge pull request #1316 from tschaub/rbush
Add adapted version of rbush.
2013-11-26 14:41:08 -08:00
Tom Payne
92469901f7 Clone extents in ol.structs.RBush to prevent modification 2013-11-26 12:03:00 -07:00
Tom Payne
880f098f0f Add ol.structs.RBush#update 2013-11-26 12:02:59 -07:00
Tom Payne
7ec456fa70 Add FIXME 2013-11-26 12:02:59 -07:00
Tom Payne
1293294d40 Implement ol.structs.RBush#remove_ 2013-11-26 12:02:59 -07:00
Tom Payne
b865a7c0e1 Don't check for under-full nodes when validating ol.structs.RBush
Removal can lead to under-full nodes.
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
a76eba34e8 Add ol.structs.RBush#assertValid 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
f12355a17b Add optional destination argument to ol.extent.clone 2013-11-26 12:02:58 -07:00
Tom Payne
54d22735f2 Add ol.extent.getMargin 2013-11-26 12:02:58 -07:00
Tom Payne
2a6f5a6396 Add ol.extent.getIntersectionArea 2013-11-26 12:02:58 -07:00
Tom Payne
6b02c7f639 Add ol.extent.getEnlargedArea 2013-11-26 12:02:58 -07:00
Tom Payne
b74c244088 Add ol.extent.getArea 2013-11-26 12:02:58 -07:00
Tom Payne
df96c08e0e Return extent from ol.extent.extend 2013-11-26 12:02:57 -07:00
Tom Payne
d994db46f6 Add ol.extent.createOrUpdateFromFlatCoordinates 2013-11-26 12:02:57 -07:00
Tom Payne
67bf15b5dc Add ol.extent.extendFlatCoordinates 2013-11-26 12:02:57 -07:00
Tom Payne
ae9f03c8cb Add more extent functions 2013-11-26 12:02:57 -07:00
Tom Payne
9cbd8de188 Fix order of arguments to ol.extent.createOrUpdate 2013-11-26 12:02:57 -07:00
Tom Payne
cf0fdff4e2 Add ol.extent.extendXY 2013-11-26 12:02:57 -07:00
Tim Schaub
09b4c4692a Merge pull request #1315 from tschaub/gfi-return
Return for getFeatureInfoForPixel.
2013-11-25 15:56:22 -08:00
ahocevar
7ee2646a6b Merge pull request #1311 from ahocevar/modify-points
Segment distance calculation fails when modifying points
2013-11-25 15:36:48 -08:00
Tim Schaub
b235fe25ea Return for getFeatureInfoForPixel
In b8a9aeb14e a return was added to `ol.renderer.Layer.prototype.getFeatureInfoForPixel`.  The `ol.renderer.canvas.VectorLayer.prototype.getFeatureInfoForPixel` method needs the same.
2013-11-25 15:29:40 -07:00
Bart van den Eijnden
b5335b970d Merge pull request #1160 from bartvde/wfst
Add parser for WFS (r=@ahocevar)
2013-11-25 07:38:08 -08:00
Bart van den Eijnden
9ed5004aa6 rename this.gml_ to this.gmlParser_ 2013-11-25 15:50:16 +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
dc58d4e562 srsName should be optional in BBOX 2013-11-25 14:40:14 +01:00
Frédéric Junod
67f00b37e8 Merge pull request #1314 from fredj/canvas_clear
Avoid clearing canvas twice
2013-11-25 01:58:51 -08: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
25ae9fe784 change simple type values to undefined instead of null 2013-11-25 10:48:30 +01: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
e15dbb61f6 Merge pull request #1294 from bartvde/gmlgeom
GML parser should write out all geometry attributes and respect their names (r=@ahocevar)
2013-11-25 00:36:51 -08:00
Tom Payne
900bc176ae Avoid clearing canvas twice 2013-11-25 08:58:18 +01:00