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
eadec38ae2
Rename _ol_geom_Point_ to Point
2017-12-14 08:49:10 -07:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Andreas Hocevar
5a4887e300
Remove default export from ol/extent
2017-12-13 22:05:10 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Frederic Junod
8a9d6b417f
Add getLayers and setLayers functions to ol.format.WMSGetFeatureInfo
2017-11-03 10:51:25 +01:00
Frederic Junod
daea26ec50
Add getFeatureType and setFeatureType functions to ol.format.WFS
2017-11-01 14:07:54 +01:00
Frederic Junod
e235c83231
Read 'Abstract', 'AccessConstraints' and 'Fees' in ol.format.OWS
2017-10-19 12:03:02 +02:00
Frederic Junod
bcfad6ea8b
Remove GeoJSON workaround for GeoServer
...
See #1569
See https://osgeo-org.atlassian.net/browse/GEOS-5996
2017-10-17 08:32:16 +02:00
Frederic Junod
dfe9e9b59a
Add new ol.format.filter.Contains spatial operator
2017-10-06 08:45:17 +02:00
Bin Wang
e32e72f1a0
fix osmxml to read ways before the definition of nodes
2017-09-13 11:27:51 +08: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
Bart van den Eijnden
6726e0a98c
Merge pull request #7141 from Sol1du2/issue/6990/WFSReadSrsDimension
...
Issue/6990/Wfs Read srsDimension
2017-08-29 09:38:12 +02:00
Andreas Hocevar
3cb5060497
Parse PBF directly in ol.format.MVT
...
This change also fixes a previous issue, where MultiPolygon geometries for
ol.Feature features were never created.
2017-08-29 08:51:06 +02:00
Andreas Hocevar
2421ae0254
Merge pull request #7142 from Sol1du2/issue/6992/UnitTest
...
Adds unit test to test the projection inside the geometry of esriJson
2017-08-21 12:00:53 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Joao Gouveia
a0b76a5604
Adds unit test to test the projection inside the geometry of esriJson
...
This adds a unit test that tests weather the projection (spatial reference)
is being added inside the geometry object when writing features as
esriJson.
2017-08-17 11:21:33 +02: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
73afb656d7
Test fixes
2017-08-16 14:24:42 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
Tim Schaub
44a976eb60
Run tests in real browsers with Karma
2017-08-16 13:35:31 -04:00
Joao Gouveia
163fc2e8e6
Adds Unit testing
2017-08-16 12:13:18 +02:00
Joao Gouveia
f928209256
Fix srsDimension read on GML3 for Geoserver
...
Contrary to Mapserver, Geoserver sets the srsDimension attribute on
the child of the geometry node, not on the points list.
This fix searches that node as well.
A small unit test was also added.
2017-08-15 09:10:17 +02:00
Bart van den Eijnden
23405b80a2
Merge pull request #6825 from oterral/tesselate
...
Read/write Tessellate tag in KML format
2017-08-10 13:27:40 +02:00
Andreas Hocevar
b3be7e7ba9
Get tilePixelRatio from MVT tiles
2017-08-02 20:11:14 +02:00
Frederic Junod
382674975e
Fix KML ExtendedData reading
2017-06-28 09:51:18 +02: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
Thomas Chandelle
d8dba61b0a
Rounds if decimals options = 0
2017-06-08 12:08:02 +02:00
Thomas Chandelle
aface2f43e
Clone the geometry before applying the decimals transform
...
We may only do it if the geometry has not been previously transformed.
2017-06-08 12:08:02 +02:00
Andreas Hocevar
7ecb2c0185
Add layerName and layers options to ol.source.TopoJSON
2017-05-20 16:48:42 +02:00
oterral
ca90157e9f
Write all geometry's properties in KML
2017-05-17 16:58:59 +02:00
oterral
132634f10c
Add parsing of Tessellate tag in KML fomat
2017-05-17 14:26:39 +02:00
Frédéric Junod
c61189121e
Merge pull request #6786 from fredj/during_filter
...
Add ol.format.filter.during
2017-05-12 15:26:03 +02:00
Andreas Hocevar
df72d7b20f
Add getId() method for ol.render.Feature
2017-05-11 15:54:20 +02:00
Frederic Junod
fcf9649ef9
Add ol.format.filter.during
2017-05-09 14:07:33 +02:00
Bart van den Eijnden
2486b25e5e
Merge pull request #6556 from KlausBenndorf/kmlinsetpixel
...
Reading kml xunits/yunits insetPixels
2017-05-08 11:02:19 +02:00
Tim Schaub
3f973e6fa3
Allow single (non-default) import from dependencies
2017-05-02 15:04:20 -06:00
Tim Schaub
584d4f67bd
Uppercase for PBF constructor
2017-05-02 15:04:20 -06: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
Julien Enselme
3a5de5483c
Fix the parsing of flat coordinates in GML2 for 3D geometies
...
The code used to rely on the dimension. However, the dimension can only
be read from a GML3 document. This caused, for 3D geometries:
- An assertion error to be raised since the flatCoordinates list
contains more than 3 elements: "Assertion failed: flatCoordinates should
have a length of 3" The value of flatCoordinates for a 3D point was
something like `[2586394, 1232407, 0, 731, NaN, 0]`
- The value of the Z coordinates to be incorrect and always set to 0
This patch simplifies and correct the parsing of the coordinates:
- Don't parse groups of coords and the coordonates at the same time.
- Detect the dimension for the coordinates.
- If the Z coordinate exists, its value is used, otherwise, we use 0.
- Correct the presentation of test data to make it work with the new
parser.
- Add a test for a 3D point.
2017-03-31 10:46:27 +02:00
Frédéric Junod
f4bf92a488
Merge pull request #6614 from adube/filter-write-util-method
...
Filter write util method
2017-03-21 16:28:04 +01:00
Alexandre Dubé
827fabc849
Apply reviewer's comments
2017-03-21 10:15:32 -04:00
Frederic Junod
7aa6d6350a
Fix closing tag in gml tests
2017-03-21 14:55:41 +01:00