41 Commits

Author SHA1 Message Date
Miguel Del Castillo
aa13d8fdc1
Reverted WKT coordinate parsing to first read latitude and then longitude (#877)
* Changed WKT parent object to read coordinates as lat-long

* Changed WKT unit test to receive coordinates as 'lat,long'

* Styled Custom WKT string entry textbox to align it with the Destination one

* Reordered tags for WKT entry button
2022-05-10 12:34:33 -05:00
Miguel Del Castillo
154b14f594
Unit testing and dependency updates: Replace PhantomJS for Chrome and Firefox in their headless modes (#840)
* Substituted PhantomJS for headless Chromium for unit testing

* Added Firefox headless as a browser for unit testing

* Removed pupeteer dev dependency to rely on local installs of Chrome and Firefox. Temporarily commented out tests that now fail.

* Eliminated superfluous newline from karma.conf.js

* remove whitespace

* Updated npm packages related to tasking and unit testing to latest versions

* Updated grunt-jsdoc to latest version

* Removed unused 'dependencies' bracket from package.json

* Updated npm packages

* Updated es6-promise to 4.2.8 and libtess to 1.2.2

* Updated jszip to 3.2.2 and proj4-src to 2.6.0
2021-06-16 16:03:30 -05:00
markpet49
e00acceb15 Attempted workaround for unit test anomalies 2020-09-18 13:31:14 -05:00
markpet49
00aed52527 Cleaned up version of collada pickray intersection code. 2020-09-16 18:52:35 -05:00
Mark Peterson
07db0fcc0a
License update (#830) 2020-08-12 17:28:51 -05:00
Mark Peterson
9e685202e8
Collada enhancement for lighting models with incorrect normal data. (#827)
* Pre-alpha collada normal fix

* Cleanup

* Cleanup

* Bug fixes and unit tests
2020-07-10 12:41:25 -05:00
AkeluX
c6a8771432 Set correct coordinates order in WKT tests 2018-07-27 17:26:38 +02:00
Jakub Balhar
971695b581 Expose internal KML classes in the WorldWind namespace (#759) 2018-06-29 15:48:04 +02:00
Patrick Hogan
09c81f862e Update 2018-06-21 19:03:59 -07:00
Patrick Hogan
44a32a6501 Update 2018-06-21 18:45:33 -07:00
strikerM
a817f9a5c8 Add a reader for AAIGrid (#660) 2018-06-15 15:05:43 +02:00
Zach Glueckert
1e48c0a904 Add GeoTiff parsing to ElevationModel and WcsEarthElevationModel (#493)
* Add WCS GeoTiff elevation support

* Fix parameter documentation

* Revert addition of read from array method

* Add capability to construct GeoTiffReader from URL or ArrayBuffer
- Modifies ElevationModel data retrieval handling for GeoTiffs

* Revise GeoTiffReader API
- Constructor takes ArrayBuffer and parses
- Provides synchronous image a data retrieval
- Add utility method with asynchronous XML HTTP Request

* Clean up variable naming, formatting, and other conventions

* Update naming and refactor callback to match library convention

* Remove old comments

* Fix one property accessor

* Provide full xhr object on failure and success callbacks

* Add grayscale and rgb retrieval unit tests

* Add logging message
2018-03-14 10:23:14 -07:00
AkeluX
55254853d9 Update copyright year 2018-02-22 18:18:15 +01:00
jbalhar
f36c379769 Merge branch 'develop' into feature/kmz-embedded-resources 2018-01-03 13:42:34 +01:00
Patrick Hogan
6ebc542db8 Updated. 2017-11-20 14:06:30 -08:00
David Collins
523a0d14c6 Removed obsolete Subversion @version keywords from all files 2017-11-17 13:33:59 -08:00
Jakub Balhar
56e326e96d Merge branch 'develop' into feature/kmz-embedded-resources 2017-10-16 09:53:08 +02:00
Jakub Balhar
9757939f7c Fix tests.
Update documentation
2017-10-16 09:52:33 +02:00
Yann Voumard
d2568fa186 Add support for common Well-Known Text shapes (#116)
* WKT, first commit

* V 0.1 of WKT implementation.

* Initial support for Point.

* Initial support for multi shapes.

* Version 0.2 supporting MultiPolygon, MultiLineString and such.

* Version 0.3 of WKT supporting different text formats as well as the 3D component

* Initial support for inner and outer boundaries in single polygons.

* Version 0.3.1 WKT
- Explanation of current implementation
- WKTTokens returns Numbers as a Number type
- Tests for Point

* WKT Version 0.3.2
- Add tests for MultiPoint.

* Version 0.4 of WKT support
- Updated API to look like GeoJSON and Shapefile
- Cleansed the Parser
- Added documentation

* Version 0.4.1 of WKT
- Updated shape configuration callback.
- Updated documentation.

* Version 0.4.2
- Updated tests for Point and MultiPoint
- Minor bug fixes in parsing.

* Version 0.4.3
- Update Example
- Update shape production inside of the WKT objects.

* Version 0.4.4
- Update display of Point and MultiPoint as placemarks.

* Version 0.4.5
- Added tests for Polygon parsing.

* Version 0.4.6
- Added tests for Line String parsing.

* Version 0.4.7
- Added tests for Triangle parsing.
- Updated documentation for the format.

* Version 0.4.8
- Added tests for MultiLineString parsing.

* Version 0.4.8
- Added tests for MultiPolygon parsing.

* Version 0.5
- Move token handling to the objects.
- Retain only tokens parsing in the WKTTokens.

* Version 0.5.1
- Working EMPTY
- Full support for GeometryCollection

* Version 0.5.2
- Update documentation

* Version 0.6
- Support for inner and outer boundaries in the case of MultiPolygon.
- Load whole WKT on load of framework.
- Add Tests for Polygon with inner boundaries.

* Version 0.6.1
- Updated documentation

* Version 0.6.2
- Updated documentation

* Version 0.6.3
- Fix documentation not generated in jsdoc.

* Version 0.6.4
- Fix documentation not generated in jsdoc for exported object instead of class.

* Version 0.7
- Update the placemark attributes to correctly display the Point and MultiPoint.

* Version 0.7.1
- Update documentation

* Version 0.7.2
- Fix sonar issues.

* Fix tests broken due to different internal handling of the boundaries.

* Change the name of WKT from uppercase to camel case.

* Change the name of WKT from uppercase to camel case.
Simplify the Example to show one set of geometries and the usage of the callbacks

* Fix the issue #208

* Provide the default implementation and documentation for Shape configuration callback and parser completion callback.

* Add the name to the second callback function.

* Update the Well Known Text interface to comply to the Shapefile one.

* The properties should be added to this instance and not this ancestor.

* Update indentation

* Expose all the WktElements.
2017-09-28 10:16:56 +02:00
AkeluX
2b131d0d49 Deleted unused test file 2017-04-07 17:08:10 +02:00
Jakub Balhar
5d6ed3f4a5 Fix test for KmlFile to load tested KML File.
Karma is also loading the KML Sample.
2017-04-04 15:23:11 +02:00
Jakub Balhar
9c45d2d76e Finished fixing tests. 2016-08-04 10:33:59 +02:00
Jakub Balhar
4edad1a5c1 Added some more tests. 2016-08-03 13:59:37 +02:00
AkeluX
7d9139a440 Adapt some tests for the latest changes in the KML implementation 2016-07-27 16:27:34 +02:00
yvoumard
8e165f970d Add missing tests that weren't ported yet and mark some to be ported 2016-07-21 13:14:23 +02:00
yvoumard
30b8fd3f22 Merge branch 'master' into karma-test
Conflicts in Tests:
	test/formats/kml/KmlFile.test.js
	test/formats/kml/KmlObject.test.js
	test/formats/kml/styles/KmlBalloonStyle.test.js

New Tests that break:
	test/formats/kml/util/Attribute.test.js
	test/formats/kml/util/KmlElementsFactory.test.js
	test/formats/kml/util/KmlElementsFactoryCached.test.js
	test/formats/kml/util/NodeTransformers.test.js
	test/formats/kml/util/Style.test.js
	test/formats/kml/util/Styles.test.js
	test/formats/kml/util/TreeKeyValueCache.test.js
2016-07-21 12:27:01 +02:00
carla-orru
034f188de4 Deleted old tests and updated the file 'HowToCreateAndRunUnitTests.txt' 2016-07-19 14:01:59 +02:00
carla-orru
96b75eed8f Converted tests from the jsTestDriver format to the Jasmine format 2016-05-26 15:53:35 +02:00
Jakub Balhar
ec9dc97e0b Working implementation again.
Main issue remains speed.
2016-03-29 15:28:03 +02:00
Jakub Balhar
3bea4e8a93 Styles. 2016-03-14 17:53:42 +01:00
Jakub Balhar
665b7b3821 Remove Node related functionality from KmlObject. 2016-03-10 00:00:20 +01:00
Jakub Balhar
a487be86f6 Transformer for Positions. 2016-03-09 23:38:14 +01:00
Jakub Balhar
d7ba076345 Remove extend
Update Kml to use KmlElementsFactory and NodeTransformer
2016-03-09 23:28:45 +01:00
Jakub Balhar
fc8c9371b3 Refactored caching functionality in separate factory 2016-03-08 15:28:42 +01:00
Jakub Balhar
1c56a0794b All and Specific caches the results. 2016-03-08 14:55:15 +01:00
Jakub Balhar
e7aa596ee4 KmlElementsFactory supports specific, any and all without cache. 2016-03-08 14:20:28 +01:00
Jakub Balhar
a9e0d8b683 Attribute as a separate Entity
TreeKeyValueCache
KmlElementFactory can retrieve single value without cache.
2016-03-08 12:21:59 +01:00
Jakub Balhar
d7bdfd9350 Updated Signature of KmlFile. 2016-01-29 14:04:01 +01:00
Jakub Balhar
416bea0c6e Fixed tests with updated API for time based functionality 2016-01-06 11:29:51 +01:00
Jakub Balhar
27be793a40 Fixed tests 2016-01-05 11:29:46 +01:00
Jakub Balhar
e362e7cc9d Kml version 1. 2015-12-22 12:44:17 +01:00