Commit Graph

181 Commits

Author SHA1 Message Date
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
Frederic Junod
08d6e060fa Fix coding style 2014-03-05 10:33:07 +01:00
Tom Payne
d2a52ba56d Fix KML anchor origin 2014-03-04 16:38:33 +01:00
Tom Payne
c06484344e Hoist var declaration 2014-03-04 16:04:52 +01:00
Tom Payne
d46a644c3a Set way ids in ol.format.OSMXML 2014-03-04 16:04:39 +01:00
Frederic Junod
6ab3f6e175 Add ol.format.OSMXML and ol.source.OSMXML 2014-03-03 14:28:13 +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
ddc990500a Sort exports files alphabetically 2014-03-02 12:19:28 +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
8e402371d5 Don't export ol.format.Feature#readProjection 2014-02-28 14:01:46 +01:00
Tom Payne
56b6913a01 Rename ol.format.XML to ol.format.XMLFeature 2014-02-28 13:13:11 +01:00
Tom Payne
7e32676a9e Rename ol.format.Text to ol.format.TextFeature 2014-02-28 13:11:57 +01:00
Tom Payne
87cf424029 Rename ol.format.JSON to ol.format.JSONFeature 2014-02-28 13:09:14 +01:00
Tom Payne
8ad4b292b7 Rename ol.format.Binary to ol.format.BinaryFeature 2014-02-28 13:07:49 +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
Frederic Junod
6ad63b113d Improve code and apidoc formating 2014-02-27 13:36:08 +01:00
Tom Payne
7bbef0f0ea Read Icon hrefs as URIs 2014-02-26 17:37:49 +01:00
Tom Payne
b3c527166d Be more tolerant of out-of-spec KML files 2014-02-26 17:37:49 +01:00
Tom Payne
42c832154b Refactor KML style handling to handle shared Styles and StyleMaps 2014-02-26 17:37:49 +01:00
Bart van den Eijnden
a2c01b1090 Get rid of unneccessary if else statements in the GML format 2014-02-25 19:58:15 +01:00
Bart van den Eijnden
28b12e1b28 Remove unused ol.format.GML.NAMESPACE_URIS_ 2014-02-25 19:13:20 +01:00
Bart van den Eijnden
272a3762d6 Make sure function naming convention is consistent 2014-02-25 18:53:30 +01:00
Bart van den Eijnden
182eba5890 Use goog.isDef where possible 2014-02-25 17:41:14 +01:00
Bart van den Eijnden
7d02c4a371 Handle undefined value at readGeometryFromNode instead 2014-02-25 17:28:36 +01:00
Bart van den Eijnden
46a6f96032 Handle that ol.xml.pushParseAndPop can return undefined 2014-02-25 17:25:14 +01:00
Bart van den Eijnden
8d623d765a Do not create parsers in wfs namespace if not needed 2014-02-25 17:11:24 +01:00
Bart van den Eijnden
6256bf1989 Add feature id (fid) parsing 2014-02-25 16:28:10 +01:00
Bart van den Eijnden
98368a554d Use ol.xml.pushParseAndPop instead 2014-02-25 14:58:16 +01:00
ahocevar
71e1dc9f45 Always use a context for GML parsing
The context is at the bottom of the object stack. All entry
points to parsing (#readGeometryFromNode(),
#readFeaturesFromNode()) set up the context now, and parsers
always access the context at index 0 of the objectStack.
2014-02-25 14:33:20 +01:00
Bart van den Eijnden
679b152852 Add srsName info at index 0 in the stack 2014-02-25 13:58:19 +01:00
Bart van den Eijnden
08e2ccb59a Handle srsName better 2014-02-25 13:22:15 +01:00
ahocevar
b4454535f7 Use stack instead of recursion for features
This also allows us to work without a local copy of the
namespace URIs.
2014-02-25 09:34:38 +01:00
Bart van den Eijnden
0a71b5bbaa Rename NAMESPACE_URIS_ to namespaceURIs_ 2014-02-24 16:59:08 +01:00
Bart van den Eijnden
d2c88c1ea3 Use readFeatureFromNode instead 2014-02-24 16:49:35 +01:00
Bart van den Eijnden
0a93bb38f8 Copy NAMESPACE_URIS_ array to the instance 2014-02-24 16:01:15 +01:00
Bart van den Eijnden
831d233874 Move parseGeometry workaround into the tests 2014-02-24 15:25:54 +01:00
Bart van den Eijnden
a095d41ac4 Add support for axis orientation 2014-02-24 15:25:54 +01:00
Bart van den Eijnden
7145179c30 Port over more test cases 2014-02-24 15:25:54 +01:00