Commit Graph

20 Commits

Author SHA1 Message Date
Tim Schaub
a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Tim Schaub
46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
Marc Jansen
9fc0fb5e74 Merge pull request #6916 from marcjansen/eslint-4-upgrade
Upgrade eslint to v4.0.0
2017-06-22 07:55:06 +02:00
Marc Jansen
d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
bartvde
8d57a879ce Make sure we use the default featurePrefix 2017-06-15 16:33:07 +02:00
Frederic Junod
fcf9649ef9 Add ol.format.filter.during 2017-05-09 14:07:33 +02:00
Frederic Junod
b1f38ea0e8 Fix spelling 2017-04-24 08:58:19 +02:00
Julien Enselme
e2af6b9d04 Rename the is3D option for WFS transaction into hasZ
This is more consistent with existing code.
2017-04-20 10:39:02 +02:00
Julien Enselme
870bc51ad9 Add an option to writeTransaction to support 3D geometries
Close #6630
2017-04-20 10:39:02 +02:00
Julien Enselme
bb278df881 Don't append feature prefix twice in WFS requests
Some WFS servers like tinyOWS require the feature prefix to be in the
feature type for the feature to be found (eg `prefix:layer`).

The problem was, the prefix was always added to the feature type which
gave us a type name like `prefix:prefix:feature` or
`feature:prefix:feature`. The requests were then rejected by the WFS
server.

We now check if the feature type starts with the prefix. If it does, we
don't append it again. If it doesn't we do.
2017-04-20 10:32:39 +02:00
Alexandre Dubé
827fabc849 Apply reviewer's comments 2017-03-21 10:15:32 -04:00
Alexandre Dubé
ef1033dffc Test for ol.format.WFS.writerFilter method 2017-03-21 09:19:07 -04:00
Julien Enselme
ecafa44196 Add support for WFS 1.0.0 to ol.format.WFS#writeTransaction
- Add a version property to olx.format.WFSWriteTransactionOptions to set
the WFS protocol version to use
- Use the specified version to use the correct schema and version in the
GML request
- Use the version to select the proper GML serializer
2017-03-21 10:59:28 +01:00
tsauerwein
85fa61a046 Make ol.format.filter.or/and accept n conditions 2017-01-17 10:40:02 +01:00
Frederic Junod
78af52d62d Rename ol.format.ogc.filter namespace to ol.format.filter 2016-09-21 08:35:49 +02:00
tsauerwein
7128e86e3c Wrap values in <Literal> 2016-08-29 09:34:52 +02:00
Tim Schaub
5643d3ec77 Missing requires in tests 2016-08-12 10:53:49 -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