Nick Hamblet
cfafe90235
Handle CDATA in attribute parsing for GML format
...
Following [3827](https://github.com/openlayers/ol3/issues/3827 ),
handle CDATA XML nodes in attribute parsing of GML data. Currently
such data will be expected to be a geometry, and will fail to parse.
Treating the CDATA node as text is the easiest way to handle such
an attribute.
2015-07-01 16:32:17 -04:00
Bart van den Eijnden
c74293335c
Make sure ol.format.GML2 is usable for WFS 1.0 requests as well
2015-04-23 08:24:59 +02:00
Tim Schaub
6a564597fb
Update types accepted when reading features
2015-04-18 17:07:34 -06:00
Éric Lemoine
e45c44fa01
Add missing goog.provide's
2015-04-07 13:49:36 +02:00
Andreas Hocevar
84b6114f02
Remove ol.format.GMLBase from the API
...
There is no need to have this exportable; the api annotation was probably
a leftover from the GML -> GMLBase renaming.
2015-04-02 10:52:58 +02:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
Bart van den Eijnden
b698fe9968
Support multiple featureTypes with a different featureNS
2015-03-04 15:27:05 +01:00
Bart van den Eijnden
b05ead4056
Allow multiple featureTypes through ol.format.WFS as well
2015-03-04 10:24:42 +01:00
Bart van den Eijnden
d0180f35e0
Support multiple featureTypes as well in autoconfigure mode
2015-03-04 10:20:36 +01:00
Bart van den Eijnden
3a7905f2fd
Support multiple feature types in GML format
2015-03-04 10:16:25 +01:00
Frederic Junod
65c2f7de5f
Remove unused goog.require
2015-02-05 10:56:44 +01:00
Bart van den Eijnden
b8d44e7f91
Merge pull request #3099 from bartvde/ogr-gml2
...
Fix up parsing of OGR GML with ol.format.GML
2015-02-02 13:16:12 +01:00
Bart van den Eijnden
423c8761aa
Use ol.format.GMLBase.GMLNS and get rid of unneeded Object
2015-02-02 12:46:49 +01:00
Bart van den Eijnden
5d70e61753
Make FEATURE_COLLECTION_PARSERS an instance property
2015-01-30 21:00:04 +01:00
Bart van den Eijnden
0243ce6612
Fix up parsing of OGR GML with ol.format.GML
2015-01-29 11:40:30 +01:00
3x0dv5
6ceef2b0cc
Doc fix. writeFeaturesNode receives an array of Feature
2015-01-22 11:21:02 +00:00
Tim Schaub
1ff43686f5
Use bracket notation instead of goog.object.get
2015-01-07 22:31:01 -07:00
Tim Schaub
f9a92c422c
Use bracket notation instead of goog.object.set
2015-01-07 21:08:24 -07:00
Bart van den Eijnden
a1c6662812
Do not quote featureNS and featureType in options
2014-12-15 20:28:13 +01:00
Frederic Junod
f8b59dbd53
Use goog.array.extend instead of ol.array.safeExtend
...
The upstream implementation now supports large arrays.
See https://github.com/google/closure-library/pull/356
2014-12-09 11:55:27 +01:00
Bart van den Eijnden
bdc05472bc
Rename GML format files to match conventions
2014-12-05 15:28:27 +01:00
Bart van den Eijnden
3587418888
The writeFeatures method should always return a string
2014-12-05 14:54:59 +01:00
Florent gravin
759386e37e
Add WMS GetFeatureInfo reader format
2014-11-04 09:25:13 +01:00
Florent gravin
74410487aa
Refactor the use of ol.xml.getLocalName(n)
2014-10-28 16:48:16 +01:00
Florent gravin
51da7bad8c
Element boundedBy must not be set as geometry field on GML reading
2014-10-28 09:56:55 +01:00
Antoine Abt
757b6a214c
Rename ol.xml.parse to ol.xml.parseNode
2014-10-27 16:00:42 +01:00
Florent gravin
8a07d241ff
Add support for gml2 gml:box element
2014-10-03 12:01:52 +02:00
Florent gravin
d290445048
Make sure alias ol.format.GML show its content in apidoc
2014-10-03 11:16:19 +02:00
Florent gravin
1a7cbfd6ac
Use Object() for objects in prototype
...
to avoid linter warning
2014-10-03 10:01:31 +02:00
Florent gravin
47e182524f
Put PARSERS object into prototype too
...
This is to avoid the use of this.constructor that breaks advanced build
2014-10-03 09:45:24 +02:00
Florent gravin
bea721349a
Rename gml format files to match convention
...
also changes some comments and syntax (feedback from PR comments
2014-10-03 09:45:24 +02:00
Florent gravin
0646056751
Overrides schemaLocation in subclasses
2014-10-03 09:45:24 +02:00
Florent gravin
678c66f50c
Move GML subclasses to ol.format namespace
...
to avoid issue with ol.format.GML alias
ol.format.GMLBase
ol.format.GML2
ol.format.GML3
2014-10-03 09:44:56 +02:00
Florent gravin
607543e4e7
Create an alias ol.format.GML to ol.format.GML3
...
for backward compatibility
2014-10-03 09:44:47 +02:00
Florent gravin
07d6b83154
Redefine some PARSERS_ that are different in v2 and v3
2014-10-03 09:44:06 +02:00
Florent gravin
8182396454
Make class members public or protected
...
to be accessed from subclasses or static objects
2014-10-03 09:43:05 +02:00
Florent gravin
9324580c87
add format for GML v3 version
...
all writing methods & objects are defined in v3, as writing for v2 is not done yet
2014-10-03 09:43:04 +02:00
Florent gravin
d8114012bb
Remove from GML base all objects and methods that should belong to v3
2014-10-03 09:42:51 +02:00
Florent gravin
c9171b8682
Pass options from v2 to its parent constructor
2014-10-03 09:42:51 +02:00
Florent gravin
f8e8653480
Add gmlFormat as option for WFS format
2014-10-03 09:42:45 +02:00
Florent gravin
074330707c
Call dedicated version format methods with 'this.constructor' object
2014-10-03 09:42:17 +02:00
Florent gravin
8efab3d4be
Make protected some shared methods or objects
2014-10-03 09:42:13 +02:00
Florent gravin
8b38367e2b
Add subclass for version ol.format.GML.v2
2014-10-03 09:42:09 +02:00
Florent gravin
4aad872d71
Send ol.format.GML instance reference to ol.xml static methods
2014-10-03 09:42:09 +02:00
Florent gravin
5884f7343a
Call method in ol.format.GML.prototype from ol.format.GML static objects
2014-10-03 09:42:09 +02:00
Florent gravin
c49891dcce
Call inner methods from 'this' object
2014-10-03 09:42:08 +02:00
Florent gravin
42b58cddbd
Move all method declarations into ol.format.GML.prototype
2014-10-03 09:42:08 +02:00
Florent gravin
f5e5419cb6
Move gmlformat.js to gml/base.js
2014-10-03 09:41:59 +02:00