Commit Graph

1311 Commits

Author SHA1 Message Date
Tom Payne
586c4b9cd2 Merge pull request #1746 from sbrunner/fitcoordinates
Fit coordinates on visible map, Center coodinate on positions
2014-03-10 14:08:47 +01:00
Tim Schaub
8317317127 Always add first segment when appending coordinates
When we have only a single point, we want to make sure it gets added (fixes #1821).

Because this code doesn't differentiate coordinates that are part of a linestring or linearring from those that are independent points, we always add the first segment (or pair of points).  In addition, coordinates for segments are appended whenever they represent a change in relationship with respect to the extent.  This keeps the code simpler for handling fills and properly capturing intersection points for linestrings.  This could be modified to save a few extra coordinates, but it provides for simpler code at a very minimal cost.
2014-03-07 11:02:25 -07:00
Bart van den Eijnden
2ce92ac6a2 Add write support for BBOX filter 2014-03-07 16:44:24 +01:00
Bart van den Eijnden
c05e8d0292 Read the metadata of a FeatureCollection 2014-03-07 10:32:17 +01:00
Bart van den Eijnden
2310ccdb91 Add reading of TransactionResponse 2014-03-06 19:04:23 +01:00
Tim Schaub
36204faf2f Merge pull request #1754 from tschaub/clip
Track max extent for replay and limit draw instructions outside that extent.
2014-03-06 09:37:43 -07:00
Tom Payne
e5ee44f8ad Rename ol.structs.RBush#getAllInExtent to getInExtent 2014-03-06 14:30:56 +01:00
Stéphane Brunner
015c660386 Add ol.View2D#centerOn 2014-03-06 10:54:15 +01:00
Stéphane Brunner
9984ca109c Add ol.View2D#fitGeometry 2014-03-06 10:54:04 +01:00
Bart van den Eijnden
7ebf97406d Add support for writing WFS GetFeature 2014-03-06 09:24:39 +01:00
Tim Schaub
30dc8195ca Rename getAllFeatruesInExtent to getFeaturesInExtent 2014-03-05 12:31:09 -07:00
Tim Schaub
333e4a9625 Rename getAllFeatures to getFeatures 2014-03-05 12:29:24 -07:00
Bart van den Eijnden
d7f40c11e8 Do not use ol.xml.pushSerializeAndPop for single items 2014-03-05 16:44:01 +01:00
Bart van den Eijnden
9b4fc06a5b Finish write support for features 2014-03-05 16:44:00 +01:00
Bart van den Eijnden
8dce3249d6 Implement writeFeatures 2014-03-05 16:44:00 +01:00
Bart van den Eijnden
3e09ea4a00 Finish off writeGeometry 2014-03-05 16:44:00 +01:00
Bart van den Eijnden
6cd9e4bcf4 Add write support for gml:MultiCurve 2014-03-05 16:44:00 +01:00
Bart van den Eijnden
86d90d2f8a Add write support for gml:MultiPolygon 2014-03-05 16:44:00 +01:00
Bart van den Eijnden
414c6e2a12 Add write support for gml:MultiLineString 2014-03-05 16:44:00 +01:00
Bart van den Eijnden
a79f8442c7 Add write support for gml:MultiPoint 2014-03-05 16:43:59 +01:00
Bart van den Eijnden
c4c53a7ac3 Add write support for gml:Curve 2014-03-05 16:43:59 +01:00
Bart van den Eijnden
a6d6317d9e Serialize polygon as surface 2014-03-05 16:43:59 +01:00
Bart van den Eijnden
cbb38c10e0 Add write support for gml:MultiSurface 2014-03-05 16:43:59 +01:00
Bart van den Eijnden
476bd901f0 Add write support for gml:Polygon 2014-03-05 16:43:59 +01:00
Bart van den Eijnden
5240929a53 Correct axis order for gml:pos 2014-03-05 16:43:59 +01:00
Bart van den Eijnden
37a78dc753 Use correct axis order in write 2014-03-05 16:43:59 +01:00
Bart van den Eijnden
083d8d9890 Add write support for gml:LineString 2014-03-05 16:43:58 +01:00
Bart van den Eijnden
717db8b788 Add write support for gml:Point 2014-03-05 16:43:58 +01:00
Tom Payne
35349764d9 Merge pull request #1766 from twpayne/kml-style-url
Handle out-of-order and shared Styles and styleUrls in KML
2014-03-03 10:55:37 +01:00
Tom Payne
8125b4a847 Add ol.geom.MultiLineString#getCoordinateAtM 2014-03-02 12:14:52 +01:00
Tom Payne
fe0a32c4db Merge pull request #1759 from twpayne/interpolate-m
Interpolate-M
2014-02-28 17:35:46 +01:00
Tom Payne
fbcb787e8b Merge pull request #1783 from twpayne/first-last-coordinate
Get first and last coordinate
2014-02-28 17:34:13 +01:00
Tom Payne
1c21316d20 Add tests for ol.geom.LineString#getCoordinateAtM 2014-02-28 16:33:02 +01:00
Tom Payne
a1e8ff0a8f Add ol.geom.SimpleGeometry#getLastCoordinate 2014-02-28 15:36:18 +01:00
Tom Payne
7ca47e3b2a Add ol.geom.SimpleGeometry#getFirstCoordinate 2014-02-28 15:36:06 +01:00
Tom Payne
df3ff9e546 Merge pull request #1781 from twpayne/format-feature
Rename ol.format.Format to ol.format.Feature
2014-02-28 14:47:19 +01:00
Tom Payne
ea8944c755 Rename ol.format.Format to ol.format.Feature 2014-02-28 13:05:57 +01:00
Frederic Junod
7f8d4937f5 Remove unused ol.format.Polyline.decodeUnsignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod
c31f70bf08 Remove unused ol.format.Polyline.encodeSignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod
040b954e15 Remove unused ol.format.Polyline.encodeFloat function 2014-02-27 13:36:08 +01:00
Frederic Junod
11f718ab22 Remove unused ol.format.Polyline.decodeSignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod
b2b5e60f87 Remove unused ol.format.Polyline.decodeFloat function 2014-02-27 13:36:08 +01:00
Tom Payne
23f6fc0d0f Merge pull request #1732 from twpayne/render-sync
Switch to asynchronous rendering by default
2014-02-27 11:03:20 +01:00
Tom Payne
d42a262814 Add out-of-order shared Style and StyleMap test 2014-02-26 16:08:01 +01:00
Tim Schaub
af1bd0228c Function for applying a 2d transform to an extent 2014-02-25 22:07:16 -07:00
Tim Schaub
6b018bbaf9 Testing segment intersection with extent
If needed, this function can be modified to take two additional coorinates that will be set to the intersection points.
2014-02-25 21:47:57 -07:00
Tim Schaub
cb11959f01 Determining coordinate relationship to extent 2014-02-25 21:47:57 -07:00
Tim Schaub
667f4278b3 Merge pull request #1748 from tschaub/roughly
Fix test failures on Chrome 33.  The trig functions in V8 have changed, and are may change again (see https://code.google.com/p/v8/issues/detail?id=3006 for the full story).  As a result, we no longer rely on Vincenty for antipodal distance calculations (not recommended anyway), and we use a very low precision match for testing cosine distance on a sphere.
2014-02-25 15:39:31 -07:00
Bart van den Eijnden
6256bf1989 Add feature id (fid) parsing 2014-02-25 16:28:10 +01:00
Bart van den Eijnden
08e2ccb59a Handle srsName better 2014-02-25 13:22:15 +01:00