Commit Graph

1222 Commits

Author SHA1 Message Date
Simon Seyock
bd489fec4c Fix strict null checking for format/WKT
NOTE: `EMPTY` may only occur immediately after geometry type
2021-02-03 22:43:56 +01:00
Simon Seyock
8facb252f1 Replace google closure syntax = with brackets around name 2021-02-03 14:06:02 +01:00
Simon Seyock
f590cb3473 Harmonize jsdoc 2021-02-02 12:14:56 +01:00
mike-000
500814db3c handle null geometry 2021-01-14 11:11:01 +00:00
Matt Walker
28f76ed901 Make writeFilter version argument optional
* Add test for optional version argument to writeFilter
* Default to WFS 1.1.0 if no version passed to writeFilter
2021-01-07 08:51:11 +00:00
Matt Walker
de9d681b2f Fix WFS 2.0.0 writeFilter
* Add a test for WFS 2.0.0 filter encoding
* Use getFilterNS to ensure correct NS for filter child node
2021-01-07 08:47:18 +00:00
mike-000
207417035f Use ol/array#includes instead of .includes() 2020-12-29 23:31:30 +00:00
Andreas Hocevar
698fca2d56 Merge pull request #11737 from ahocevar/esrijson-wkid
Write the correct SRS code in EsriJSON
2020-11-19 13:50:56 +01:00
Benjamin Gerber
d807f13a93 Add featureTypesBbox option on WFS writeGetFeature
Add a possibility to provide one specific bbox per feature type
on WFS writeGetFeature. This option results to one query node
per featureTypesBbox item. One query node, for one feature type,
will have a specific bbox filter and every query node will share
the same others filters (if a filter option is defined).
2020-11-16 12:59:30 +01:00
Benjamin Gerber
843010bfcf Remove useless if statement on WFS writeGetFeature
Remove the if(options) {} statement as the options is not optional and
the further code expect to have this parameter.
2020-11-16 06:14:25 +01:00
Andreas Hocevar
619fd4965b Write the correct SRS code in EsriJSON 2020-11-12 11:20:49 +01:00
Benjamin Gerber
a56d9bbb51 Better doc for WFS writeGetFeature options.
The geometryName option is required if you set the bbox option.
2020-11-11 13:06:16 +01:00
mike-000
5d8212e48f Replace readURI with readStyleURL for StyleURLs
readStyleURL ensures URL begins with # if it does not contain one
Remove old partial fix
Test handling of missing # in StyleURL
2020-11-10 14:42:20 +00:00
mike-000
f4654ff146 Handle empty Z coordinates 2020-11-06 10:19:29 +00:00
Andreas Hocevar
0ac52b2511 Merge pull request #11490 from mike-000/patch-13
iconUrlFunction option for ol/format/KML
2020-11-01 11:02:38 +01:00
Jannes Bolling
6b86c5f78d recreate old during filter behaviour for backwardscompatibility 2020-10-19 10:37:13 +02:00
Jannes Bolling
b271536b8b fix Filter namespace handling for WFS 2.0 requests 2020-10-15 18:50:55 +02:00
Jannes Bolling
7261e25566 fix distanceWithin for WFS2.0 2020-10-14 19:09:26 +02:00
Jannes Bolling
259f1e371f refactor spatial filter serialization 2020-10-14 18:32:26 +02:00
Jannes Bolling
ab43047e7a add new DistanceWithin Filter 2020-10-14 18:15:54 +02:00
Andreas Hocevar
fcf6072061 Merge pull request #11502 from jbelien/wmscapabilities/singlelayer
Fix issue with WMS Capabilities containing a single layer
2020-09-10 19:27:18 +02:00
Guillaume Beraudo
39fc6d7816 Avoid unnecessary transform in MVT format
When using ol.render.Feature there was a mandatory geometry transform.

With this change it is now easy to read features directly in the native tile projection.
Since there is no needed transform, there is no need either to define an extent and a world extent, for that use-case.
2020-09-10 17:13:30 +02:00
Jonathan Beliën
eec4b46ac1 Update WMSCapabilities.js 2020-09-01 12:06:22 +00:00
Jonathan Beliën
9a021c8aa4 Update WMSCapabilities.js
Fix issue when there only one single layer.
2020-09-01 11:53:11 +00:00
mike-000
598f2bb508 Add iconUrlFunction option
Test iconUrlFunction option

remove @private
2020-08-28 22:12:58 +01:00
Björn Harrtell
4eef96d5d8 Fix docs 2020-08-11 16:30:29 +02:00
Björn Harrtell
1335937ddd Verified fix 2020-08-11 16:09:43 +02:00
Björn Harrtell
0484e45c89 Fix WFS 2.0.0 GetFeature response parsing 2020-08-11 15:46:40 +02:00
Björn Harrtell
01f355c37f Verify GetFeature with more complex filter 2020-08-10 21:30:06 +02:00
Björn Harrtell
a58bff0981 Initial GetFeature verification 2020-08-10 03:50:39 +02:00
Björn Harrtell
daa0824b17 Refactor transaction serialization 2020-08-09 23:28:22 +02:00
Björn Harrtell
c675ce5217 Fix srsName wrong context 2020-08-09 22:47:03 +02:00
Björn Harrtell
d3041295a1 Initial spike on WFS 2.0 2020-08-09 22:36:41 +02:00
Björn Harrtell
dbc7b8b602 Support deprecated coordinates element for GML3+ formats 2020-08-07 03:02:25 +02:00
mohawk2
2a9e109528 Quote . in regex, use literal not RegExp 2020-06-27 05:42:21 +01:00
Andreas Hocevar
e4303c7b26 Merge pull request #11215 from ahocevar/flat-multipolygon
Fix MVT multipolygons with featureClass: Feature
2020-06-24 19:36:38 +02:00
Andreas Hocevar
cfe763e469 Merge pull request #11188 from michalzielanski/late-obj-init
Late object initialization
2020-06-24 10:21:43 +02:00
Andreas Hocevar
40ab8405c1 Do not use a separate isClockwise check 2020-06-23 21:17:59 +02:00
songyumeng
b606878d57 fixes #8148
judge whether it is multiPolygon or Polygon:https://github.com/mapbox/vector-tile-js/blob/a9a9102/lib/vectortilefeature.js#L195-L223
2020-06-23 20:15:52 +02:00
Tim Schaub
139b048197 Prepare for a new default branch name 2020-06-19 10:25:03 -06:00
Michał Zielański
0e8f0034ab Creating an object that stores properties only when needed in BaseObject class 2020-06-15 18:26:28 +02:00
Andreas Hocevar
323a472fbb Merge pull request #11037 from mike-000/patch-11
Allow icon and text styles to be scaled in two dimensions
2020-06-13 10:00:06 +02:00
Andreas Hocevar
50107e115a Use assign function instead of Object.assign 2020-05-23 21:22:02 +02:00
mike-000
cf0e650435 allow scale to be two dimensional
add getScaleArray() method

test two dimension scale icons
test two dimension scale text

add example of icon and label scaling
use smaller icon and larger interval
test two dimensional scale icons
test two dimensional scale icons
2020-05-20 09:54:47 +01:00
Tim Schaub
bfee5c00c9 Update function return types 2020-05-18 17:11:13 -06:00
Andreas Hocevar
793ccbd411 Properly export enum 2020-04-15 10:53:26 +02:00
Andreas Hocevar
e14e41bcfb Remove private and protected scope from GML methods and members 2020-04-15 10:53:25 +02:00
Andreas Hocevar
a2ae18d89a Fix private scope type issues in format/KML 2020-04-15 10:53:24 +02:00
Andreas Hocevar
b0f20d6bd6 Use imports for enum types 2020-04-15 10:53:23 +02:00
Frederic Junod
484f45fc1b Move readFromDocument implementation to the base class
All the child classes have the same code; move to the base class
2020-04-07 07:26:38 +02:00