Commit Graph

40 Commits

Author SHA1 Message Date
Frederic Junod 48bb187075 Add named export for WFS.writeFilter function 2018-02-14 11:12:56 +01:00
raiyni 4449da3e63 named exports from ol/xml 2018-02-07 14:42:01 -06:00
Marc Jansen 7f6780b7fb Use named exports from filter module 2018-02-06 07:47:54 +01:00
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub 22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -07:00
Tim Schaub c6650285f5 Rename _ol_format_WFS_ to WFS 2017-12-17 02:09:04 -07:00
Tim Schaub f8610190bb Rename _ol_format_GML2_ to GML2 2017-12-17 01:48:47 -07:00
Andreas Hocevar 9f1ebbb852 Add and use new proj4.register function 2017-12-15 19:17:29 +01:00
Tim Schaub 9d396280b0 Rename _ol_geom_MultiPolygon_ to MultiPolygon 2017-12-14 08:56:51 -07:00
Tim Schaub c502f016f7 Rename _ol_geom_Polygon_ to Polygon 2017-12-14 08:56:12 -07:00
Tim Schaub 3c78cb7872 Rename _ol_geom_MultiLineString_ to MultiLineString 2017-12-14 08:55:33 -07:00
Tim Schaub f7b3876c1b Rename _ol_geom_LineString_ to LineString 2017-12-14 08:54:53 -07:00
Tim Schaub ad5806c29d Rename _ol_geom_MultiPoint_ to MultiPoint 2017-12-14 08:51:53 -07:00
Tim Schaub 6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Frederic Junod daea26ec50 Add getFeatureType and setFeatureType functions to ol.format.WFS 2017-11-01 14:07:54 +01:00
Frederic Junod dfe9e9b59a Add new ol.format.filter.Contains spatial operator 2017-10-06 08:45:17 +02:00
bartvde 2d3fa05b91 Use geometry name in WFS updates 2017-09-01 09:00:34 +02:00
Bart van den Eijnden 09e9759753 Merge pull request #7133 from Sol1du2/issue/6991/WFSWriteDimension
Issue/6991/WFS Write Dimension
2017-08-29 09:57:44 +02:00
Tim Schaub a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Joao Gouveia 5fce1b0351 Adds srsDimension to the pos and posList nodes when writing a WFS transaction
The WFS transaction failed if the srsDimension was not present on the
geometries.
Unit tests have been changed to accomodate the srsDimension attribute.
2017-08-17 10:04:16 +02: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