170 Commits

Author SHA1 Message Date
David Collins
3bb52ca285 Merge remote-tracking branch 'remotes/origin/develop' into release/0.9.0 2017-11-22 09:11:50 -08:00
Yann Voumard
5842efd6b6 Set correct path to splash-nww in the polygons example (#385)
* Set correct path to splash-nww in the polygons example

* Normalise the relative path
2017-11-22 10:22:34 -06:00
David Collins
7bf200fb04
Repaired BlueMarbleTimeSeries example (#383)
- Modified the example to specify a service address for BMNGRestLayer
- Adjusted BMNGRestLayer's handling of data path to accommodate both locally hosted and online REST tiles
2017-11-21 15:59:09 -08:00
David Collins
8e4ce9588b
Repaired example LayerManager's handling of Gnomonic projection (#384)
- LayerManager mistakenly selected the UPS projection when it should select the Gnomonic projection
- See investigation by @Beak-man in issue #336
2017-11-21 15:50:01 -08: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
David Collins
46a7bcfc4c Adjusted the Standalone example's logging level 2017-11-14 13:33:04 -08:00
David Collins
dab9566719 Moved WebWorldWind standalone data to a more permanent location
- Moved standalone data from worldwindserver.net to worldwind32.arc.nasa.gov
- Hosting on worldwindserver.net is scheduled to be terminated
- Provides HTTPS hosting for standalone data
2017-11-14 10:10:55 -08:00
David Collins
62fbc7ee4b Moved example and app online data to a permanent location
- Moved example and app online data from worldwindserver.net to worldwind.arc.nasa.gov
- Hosting on worldwindserver.net is scheduled to be terminated
- Provides HTTPS hosting for example and app data
2017-11-13 16:28:35 -08:00
Zach Glueckert
65d2fbe0b8 Fix Atmosphere initial state example (#292)
* Remove initial time property assignment

* Move timeStamp variable definition
2017-11-09 14:11:53 -08:00
Zach Glueckert
61a4e88374 Utilize time property of layer to determine sun location on Atmosphere Layer (#282)
* Add automatic light location determination on layer time property
- See #100

* Remove lightLocation property

* Remove additional references to the lightLocation property

* Fix comment and falsy value test

* Fix comment
2017-11-08 11:59:40 -08:00
Zach Glueckert
04ad540776 Refactor the examples reference method of the WorldWind library (#275)
* Add WorldWind shim as library reference
- Closes #254
- Update the WorldWind object to reference the KmlControls and KmlTreeVisibility classes
- Fix ordering of dependencies in WorldWind
2017-11-03 13:57:40 -07:00
Miguel Del Castillo
01b7651bac Correctly handle SurfaceShape property changes (#266)
* Added 'resetBoundaries()' call in related SurfaceShape setters

* Added changing path types and number of edges tests in the example

* Added first test of changing a shape's polar throttle

* Corrected comment typo

* Added frame statistics layer to example

* Added layers and a shape to study polar throttling

* Modified north polar ellipse. Improved comments for the example.

* Removed unused polar throttle switching function

* Removed console.log() call

* Applied WebStorm's code reformatting
2017-11-03 13:20:05 -07:00
Yann Voumard
e709d159d4 Cleanup for the upcoming release (#273)
* Remove broken or poorly-coded apps

* Delete unused images

* Move splash-nww into examples as it isn't used in the core code
2017-11-03 11:37:57 -07:00
Miguel Del Castillo
e5e0f9b3db Repair SurfaceShape property changes (#260)
* Test to update state of both a placemark and a SurfaceShape ellipse
 - Placemark's position updates correctly, the ellipse heading
   is not being modified

* Modified setters for SurfaceCircle, SurfaceEllipse and SurfaceRectangle
 - Added SurfacePolygon and SurfaceSector to SurfaceShapesUpdating example

* Added function to SurfaceShape that resets boundaries
 - Cleans code for boundary recomputing

* Added resetBoundaries function to SurfaceShapes setters.

* SurfaceSector now has setters to update its state.
 - The example has been modified to reflect the changing
   SurfaceSector.
2017-10-27 16:54:36 -07: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
eirizarry
3387ef4eed Make "WorldWind" the name standard (#200)
All instances of "World Wind" in the source code and supporting documents have been changed to "WorldWind".
2017-08-17 11:37:53 -07:00
David Collins
3686c4c093 Repaired atmosphere layer clipping
- Adjusted Web WorldWind's far clip distance computation to match that of WorldWind Android.
- The resultant distance correctly captures the distance between the globe's horizon and the atmosphere's horizon.
- Brought the Atmosphere example's canvas size into convention with the other examples.
2017-08-05 10:21:37 -07:00
Miguel Del Castillo
123415de3e Feature/build suggestions (#153)
* Extend package.json with additional metadata
Add command scripts in package.json
Update the dev dependencies
Update GruntSetup.txt, which should be moved to README.md eventually

* Remove unused third party libraries

* Remove build.js use ‘npm run build’ or ‘grunt’ instead

* Start cleaning the root folder (test-main.js)

* Updated markdown build guide to reflect the new streamlined build process

 - Added package-lock.json file generated by npm. It is suggested to
   commit it into the repository.
   See: https://docs.npmjs.com/files/package-lock.json

 - Removed build.js from Gruntfile.js. It's unnecessary now thanks to the
   new build process.

 - package.json had spaces in "type" and "url" declarations that
   were automatically removed in build process.

 - Added .idea/ folder to .gitignore. Consider removing the folder from
   the repository altogether.

* Removed zip file compress task from build process.

* Removed grunt-contrib-compress node module from package.json

 - The module is an unused dependency now, since we're not going to
   backup the whole codebase + artifacts in a zip file anymore.

* Removed .idea/ folder mistakenly added to .gitignore.

 - Only files that are unrelated to run configurations are added to
   gitignore.

* Further corrections to .gitignore. Removed WebWorldWind.zip reference.

* Further corrections to .gitignore. Removed WebWorldWind.zip reference.

* .gitignore cleanup. .iml file correction.
2017-06-30 10:53:30 -07:00
zglueck
958d06bd04 Update NEO WMS url 2017-06-14 10:49:52 -04:00
Jakub Balhar
6587dde672 Correct path to the KML example 2017-06-05 08:14:38 +02:00
Jakub Balhar
4755a191b4 Merge branch 'develop' into feature/kml-clamp-to-ground
# Conflicts:
#	src/formats/kml/geom/KmlLineString.js
#	src/formats/kml/geom/KmlPolygon.js
2017-06-05 08:14:18 +02:00
Beak-man
27ae0d291c Merged develop into fix/blueMarbleLayer_refactor to resolve conflicts 2017-06-02 14:08:47 -05:00
Beak-man
9ccbbb6914 Reverted Standalone example to simpler version with BMNGRestLayer
- Removed previous RestTiledImageLayer, since it was rendered redundant
   with the new BMNGRestLayer.

 - Simplified usage of BMNGRestLayer, removing code related to making it
   work as a time series. This use case is covered in the
   BlueMarbleTimeSeries example.

Regarding documentation:

 - Corrected outdated reference in GruntSetup guide. JSDocs is no longer
   in beta.
2017-06-02 10:59:45 -05:00
Beak-man
ef1b99ce00 Minor changes to Annotations example to make it more easy to read
- Some typos in the AnnotationController's comments were corrected
- Typo corrected in ShapefilesComplex.js filename (the "F" is now
  correctly capitalized).
2017-06-01 17:46:40 -05:00
Beak-man
59c52054bb BlueMarbleLayer refactored into BMNGRestLayer.
- BlueMarbleLayer name changed into BMNGRestLayer since the former
   was sometimes confused with BMNGLayer as the most regularly used
   layer based off Blue Marble Next Generation imagery.
 - The above class was modified in its constructor in order to be more
   in line with the other 'Rest-' layers. Now it can receive parameters
   regarding server address and path for data retrieval. Now it can be
   configured to retrieve its imagery either from worldwindserver.net
   (by default) or from a local folder.

 Two examples are making use of this layer:

 - The BlueMarbleTimeSeries example now retrieves its data from NASA's
   server, so it works 'right out of the box' without the need to
   download the standalone data package from World Wind server.
 - The 'Standalone' example now makes use of BMNGRestLayer configured
   to retrieve its data from a local folder.

 Related to issue #125
2017-06-01 12:31:24 -05:00
Beak-man
71bb341ee8 Simplified, enhanced and debugged Annotations example. Other minor example fixes
- BlueMarbleTimeSeries example now has notice of the requirement of
    local data.
  - DigitalGlobe example now has notice about its example key expiration.
  - ShapeFilesComplex and SurfaceShapesComplex examples were given their
    corresponding .html files and were moved to the '/performance' folder.
2017-05-31 15:50:33 -05:00
Jakub Balhar
02dd4bdd5c LineString and Polygon are displayed as Surface ones, when clampToGround is used. 2017-05-22 10:02:18 +02:00
David Collins
3566f8c4f7 Merge pull request #86 from NASAWorldWind/feature/starfield
Add starfield layer
2017-05-15 16:25:23 -07:00
strikerM
9504d6d840 refactored CelestialProjection to SunPosition 2017-04-05 12:55:48 +03:00
yvoumard
9b32217a07 Added style map to KML example 2017-03-31 08:52:12 +01:00
strikerM
c78ce6ae53 added the Sun to the StarFieldLayer 2017-03-28 10:35:25 +03:00
Zach Glueckert
993da22408 Refactor failure anonymous callback to function expression 2017-02-23 15:59:12 -05:00
Zach Glueckert
26ec54d576 Add semicolons to console.log statement 2017-02-23 11:04:03 -05:00
Zach Glueckert
c8e38c97c4 Move OGC standards to applicable folders
-Add call back to failure call in WMTS and WMS examples
2017-02-23 10:48:18 -05:00
Zach Glueckert
f19d523e99 Merge branch 'develop' into feature/wms-example 2017-02-23 09:22:13 -05:00
Zach Glueckert
11dce933d6 Merge branch 'develop' of https://github.com/NASAWorldWind/WebWorldWind into develop 2017-02-23 09:21:55 -05:00
Zach Glueckert
9d3c7f3464 Refactor failure and document retrieval handling 2017-02-22 22:15:51 -05:00
Zach Glueckert
13ea3bd98f Refactor WMS and WMTS asynchronous document retrieval 2017-02-22 15:39:54 -05:00
strikerM
bacdecb5bb replaced gaia data with hipparcos
moved stars.json to images folder
reverted the longitude formula to "180 - normalizeAngle(GMST - ra)"
2017-02-22 11:10:45 +02:00
Zach Glueckert
8c12833494 Refactor example to use jQuery for retrieving WMS GetCapabilities document 2017-02-21 21:24:24 -05:00
David Collins
27178309c2 Merge pull request #58 from ESAFastPrototyping/feature/measurements
Length Measurer
2017-02-21 09:04:47 -08:00
David Collins
c34bebb3f8 Merge pull request #71 from NASAWorldWind/feature/polygon_splitter
Feature/polygon splitter
2017-02-17 15:35:50 -08:00
Zach Glueckert
8c4d4ded3b Fix unterminated statements 2017-02-17 15:04:36 -05:00
Zach Glueckert
4c8060f952 Add WMS example 2017-02-17 15:01:24 -05:00
Zach Glueckert
be0359c663 Remove WMTS applications 2017-02-17 14:10:58 -05:00
strikerM
d0d9ae1bb7 updated documentation, example and stars.json
extract ra, dec and vmag indexes from the metadata of the stars.json
2017-02-08 10:06:07 +02:00
strikerM
f79abe5f16 refactor code, added comments and license headers 2017-01-12 10:38:47 +02:00
strikerM
5b77742dc9 Star Field initial implementation 2017-01-11 09:58:18 +02:00
nicolasvila
8e435c8a3d Merge remote-tracking branch 'origin/master' into wmts
Conflicts:
	apps/WMTS/WMTS_ESRI.html
2017-01-09 10:57:28 +01:00