Éric Lemoine
b709820777
Use olx for some parser options types
2013-12-12 15:22:47 +01:00
Éric Lemoine
315c42f0a7
Use olx namespace for options types in source code
...
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
2013-12-12 15:02:03 +01:00
Tim Schaub
3e905d804c
Merge pull request #1335 from tschaub/geometry-type
...
Change geometry type enum and mark as stable.
2013-12-10 08:50:54 -08:00
ahocevar
211e288f33
Remove original handling on ol.Feature
...
This is another attempt to bring master closer to the
vector-api branch. In anticipation of the ability to keep track
of modifications on ol.Object through a beforechange event
(d7e4be0), we will be able to manage originals on the
application level or in a separate component outside of
ol.Feature.
2013-12-09 18:33:34 +01:00
ahocevar
2fc89b967a
Define type for applyWriteOptions call
2013-12-09 17:19:03 +01:00
ahocevar
8328db26d4
Set the srs name when writing GetFeature
...
Also make clear that srsName is only optional for WFS 1.0.0.
2013-12-09 16:57:11 +01:00
ahocevar
19cb3c5835
Addressing review comments
...
* Do not write xmlns
* Make @this annotations consistent
* Handle numbers and strings for attribute values
* Fix defaultNamespaceURI scope
2013-12-06 19:15:44 +01:00
ahocevar
198b05047e
Export the WFS parser and its write methods
...
For using the WFS parser, users need to be able to write
GetFeature queries and transactions.
2013-12-06 11:06:39 +01:00
ahocevar
35b8fdc00c
Export getParser()
...
This reduces the API footprint of versioned parsers, because
only the base parser needs to be exported as symbol, and
versioned parsers can be accessed using the getParser() method.
2013-12-06 11:06:12 +01:00
ahocevar
b3b9add06e
Add Insert, Update and Delete writers
...
This change also adds some type annotations for better type
checking, introduces different write options for writing
transactions and queries, and provides new writeGetFeature and
writeTransaction methods.
2013-12-06 10:57:58 +01:00
ahocevar
f539eb140f
Use standard x, y axis order if we do not know better
2013-12-06 10:49:24 +01:00
ahocevar
fa0cc538f5
Proper namespace and sub-parser management
...
Instead of setting a dummy namespace, we can have setter methods
for the featureNS property to propagate them to sub-parsers. The
srsName is also a property which needs to be propagated to
sub-parsers.
2013-12-06 01:08:45 +01:00
ahocevar
1bf4b9bf49
Fix a typo - it's writers, not witers
2013-12-06 00:53:16 +01:00
Tim Schaub
4ee9605d61
Using CONSTANT_CASE for geometry type
2013-12-05 14:00:04 -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
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
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
053d80180d
have the GML parser read and write out multiple geometry attributes with their correct name
2013-11-20 14:57:00 +01:00
Bart van den Eijnden
8d03fa1197
add an optional argument to getAttributes so we can get a feature's attributes except for the geometry ones
2013-11-19 15:39:22 +01:00
Bart van den Eijnden
3f7c40b1ad
add an example of how to use a WKT string in a vector source
2013-11-11 12:45:06 +01:00
Bart van den Eijnden
01c9448c3c
do not hard-code the namespaceURIs multiple times
2013-11-04 14:26:20 +01:00
Bart van den Eijnden
429a2e455b
Add a separate test case for write
2013-11-04 14:26:11 +01:00
Bart van den Eijnden
91e834674c
deal with elseFilter, some cleanup
2013-11-04 14:26:05 +01:00
Bart van den Eijnden
a7fe89c05d
better write support for PointSymbolizer
2013-11-04 14:26:05 +01:00
Bart van den Eijnden
5c8fb35227
get rid of the readers we don't support in ol3 symbology as yet
2013-11-04 14:26:05 +01:00
Bart van den Eijnden
c75082c75d
add name and title to ol.style.Rule
2013-11-04 14:26:05 +01:00
Bart van den Eijnden
9a6c1feddc
Add more changes to the halo functionality, introduce SLD defaults for symbolizers conform the SLD spec
2013-11-04 14:25:25 +01:00
Bart van den Eijnden
924e9c6fce
write out string concatenation in the more common way
2013-11-04 14:24:43 +01:00
Bart van den Eijnden
ee7d46cea1
Add initial pass of write support, always write out ol.style.Stroke as LineSymbolizer
2013-11-04 14:24:01 +01:00
Bart van den Eijnden
5abedf66d9
Add scale to/from resolution calculations
2013-11-04 14:22:59 +01:00
Bart van den Eijnden
76454516f5
Add skeleton for SLD parser
2013-11-04 14:22:42 +01:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
ahocevar
52552c9b18
Fire change events for multi-part geometries
2013-10-04 23:36:16 -06:00
Tim Schaub
626a319222
Accessor for polygon rings
2013-10-03 12:28:34 -06:00
Bart van den Eijnden
17356bc3ee
Merge pull request #1063 from oterral/parsing_stylemap
...
Parsing styleMap (r=@bartvde)
2013-10-03 08:01:56 -07:00
Tim Schaub
ce6fd5ab36
Remove dimension option from KML parser
...
Geometry constructors now accept coordinates in any dimension
2013-09-27 23:18:34 +01:00
Tim Schaub
e1ba1d8887
Remove use of shared structures in feature parsers
2013-09-27 23:18:34 +01:00