Giter Club home page Giter Club logo

terriamap's Introduction

Terria Map

Build Status Docs

Terria logo

This is a complete website built using the TerriaJS library. See the TerriaJS README for information about TerriaJS, and getting started using this repository.

For instructions on how to deploy your map, see the documentation here.

To get in touch:


Major announcements

Following is a list of major announcements and upgrades that may affect users maintaining a fork (copied from TerriaJS announcements). For a full list of changes to TerriaMap, including the latest versions of TerriaJS included with each release please refer to CHANGES.md.

We have released TerriaJS v8.3.0 (2023-05-22)

Terriajs version 8.3.0 includes a few breaking changes:

- Upgrade to Typescript version 4.9.x
- Upgrade to Mobx version 6.9.x

This might affect your map only if it has local model layer modifications like your own custom data provider (aka catalog items). Otherwise you can proceed like any other normal upgrade. For instructions on upgrading your maps with local modiciations please refer to the upgrade guide.

PM2 no longer supported (2023-03-21)

We've removed pm2 from our dependencies and no longer ship configuration for running terriajs-server with pm2.

npm start now runs in forground because it no longer uses pm2. A new task gulp dev has been introduced to make development easier. It runs terriajs-server and starts gulp watch - which watches for changes and incrementally builds. See TerriaJS/terriajs#6731 for more information on why and what to do.

We just reformatted our codebase with Prettier (2022-08-29)

This may cause large merge conflicts when you merge main into your fork. See TerriaJS/terriajs#6517 for instructions on how to merge this formatting change.

We have released TerriaJS v8 (2021-08-13)

What this means:

terriamap's People

Contributors

a-stacey avatar alexgilleran avatar bsimyo avatar chloeleichen avatar dependabot[bot] avatar greenkeeper[bot] avatar greenkeeperio-bot avatar hilarycinis avatar keyboardsounds avatar kring avatar layoric avatar lorenzostucchi avatar meh9 avatar mgcsls avatar mwu2018 avatar na9da avatar nahidakbar avatar nf-s avatar peterhassall avatar philipgrimmett avatar pjonsson avatar racingtadpole avatar rdengate avatar reginapramesti avatar rowanwins avatar soyarsauce avatar staffordsmith83 avatar stevage avatar steve9164 avatar zoran995 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terriamap's Issues

How to Use Mapbox Style as Catalogue Item

I am having an issue including a Mapbox Map Style as a catalogue item. Note: I have set my MapboxApi.defaultAccessToken as instructed in terriajs-cesium/Source/Core/MapboxApi.js

The init config for my catalogue item is as follows:

    {
        "description" : "",
        "name" : "Mapbox",
        "type" : "mapbox-map",
        "url" : "https://api.mapbox.com/styles/v1/<mapbox-username>/cjzldyxf16qih1cm4p527ljpo/wmts?access_token=<access token>"
    }

This results in an error when pulling tiles (in the console, png's are not found, resulting in 404, 401). In the above example, I am using the "third party" Integration URL from Mapbox, which appears to be generating a WMTS server. I also tried changing the catalogue "type" to 'wmts-getCapabilities", but no avail. The URL request seems to drop the access_token variable, and results in 404, 401 errors.

I've also tried the "web" url generated by Mapbox, which uses the mapbox:// protocol. This appears to get queried through Terria's "proxy', and doesn't seem to work, either.

Is there an example of how to properly reference a Mapbox Style as a catalogue item in TerriaJS/TerriaMap?

Many thanks.

How can I automatically Zoom To Extent?

I'm pretty green so maybe there's something obvious and simple but I'm having more trouble than I expected I would trying to automatically zoom to the extent.

I found the zoomTo() which triggers it but can't figure out how to do it when the data loads.

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml
  • The new Node.js version is in-range for the engines in 1 of your package.json files, so that was left alone

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected πŸ€–


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Warn of old Node version

When trying to build with Node 0.10.x, an error like this appears:

[01:10:27] 'lint' errored after 1.25 ms
[01:10:27] TypeError: undefined is not a function
    at runExternalModule (/home/ubuntu/TerriaMap/node_modules/terriajs/buildprocess/runExternalModule.js:7:18)
    at Gulp.<anonymous> (/home/ubuntu/TerriaMap/gulpfile.js:114:5)
    at module.exports (/home/ubuntu/TerriaMap/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/home/ubuntu/TerriaMap/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/home/ubuntu/TerriaMap/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/home/ubuntu/TerriaMap/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
    at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20
    at process._tickCallback (node.js:415:13)
    at Function.Module.runMain (module.js:499:11)
    at startup (node.js:119:16)

We could detect the version of Node and warn immediately.

Use Magda as backend

Currently TerriaMap serves initial catalogs, look-and-feel as well as other contents from wwwroot directory of a server instance. This story is to let one TerriaMap server instance to serve different contents based on a website's domain name. For example, one server can serve both https://nationalmap.gov.au/ and https://map.aurin.org.au/.

The approach is to use Magda as backend that provides specific config and contents to each web domain. Potentially more Magda features, such as search, can be added to TerriaMap.

npm install fails on terriajs#webpack

The error is "fatal: ambiguous argument 'webpack': unknown revision or path not in the working tree" which I think is because the terriajs dependency in package.json is asking for the webpack branch, that doesn't exist now.

I'm trialling a fix switching the branch to master. I'll pullreq that if it works.

De-NationalMap-ify newui branch

I just made a newui branch by merging a lot of changes from NationalMap. In that process, some AWS deployment stuff is now included with references to NationalMap, which need to be cleaned up, in the deploy directory.

We also need an example privateserverconfig.json.example file.

Broken test providers

These two providers in the test.json don't work:

        {
          "name": "Topography (GA)",
          "type": "wfs-getCapabilities",
          "url": "http://www.ga.gov.au/gis/services/topography/Australian_Topography/MapServer/WFSServer"
        },
        {
          "name": "Western Australia",
          "type": "wfs-getCapabilities",
          "url": "http://www2.landgate.wa.gov.au/ows/wfspublic_4326/wfs"
        }

gulp error

I have no idea at the moment where is the problem with GULP .

I just tried to install terria on Ubuntu 16.04 node 6, and I get the following error:
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "gulp"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] gulp: gulp
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the [email protected] gulp script 'gulp'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the terriajs-map package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs terriajs-map
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls terriajs-map
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/vladimir/TerriaMap/npm-debug.log

"Broadband ADSL Quality" item doesn't work

These errors appear in the server log:

{ Error: unable to verify the first certificate
    at TLSSocket.onConnectSecure (_tls_wrap.js:1060:34)
    at TLSSocket.emit (events.js:182:13)
    at TLSSocket._finishInit (_tls_wrap.js:639:8) code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }

Gulp build stalls on Starting 'build-app' ... ?

Attempted Gulp build of TerriaMap is stalling on Starting 'build-app' ... I'm using Fedora 24 Linux with Node 6.6.0. The npm install seems to be fine apart from a few deprecated package warnings.

I'm pretty new to Gulp though have noticed that gulpfile.js refers to runWebpack.js, which seems to be missing from the /buildprocess directory (does contain webpack.config.js and webpack.config.hot.js). Not sure if this is related.

The issue has already been raised on Gitter, with the suggestion of using Node 5.x. I have not yet tried this. If this is the case, perhaps a warning not to use Node 6.x could be added

MapBox Vector Tile Support (PBF)

There is no catalog item for vector tiles

However, I see code for mapbox vector tiles as well as a tileserver in another repo.

I want to serve vector tiles i've created with MapBox Tippecanoe and have setup in TileServer-GL
I know that with TileServer-GL i can serve a raster tile version of the vector tile (as long as I provide the style) and terriajs will load those.

Ability to search by place names

This is standard TerriaJS functionality. Are there any particular kinds of place names that we should confirm are working as expected?

gulp release out of memory

@soyarsauce suggested I make an issue for this.

To be clear it isn't a roadblock.

From a clean TerriaMap pull

[08:12:55] Starting 'release'...
[08:12:55] Starting 'render-datasource-templates'...
[08:12:55] Finished 'render-datasource-templates' after 8.11 ms
[08:12:55] Starting 'copy-terriajs-assets'...
[08:12:57] Finished 'copy-terriajs-assets' after 1.91 s
[08:12:57] Starting 'release-app'...
[08:12:57] Starting 'check-terriajs-dependencies'...
[08:12:57] Finished 'check-terriajs-dependencies' after 1.47 ms
[08:12:57] Starting 'write-version'...
[08:12:57] Finished 'write-version' after 67 ms
[08:12:57] Starting 'releaseApp'...
(node:6100) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF6654F121A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4810
 2: 00007FF6654CA5B6 node::MakeCallback+4518
 3: 00007FF6654CAFA0 node_module_register+2160
 4: 00007FF66575B3EE v8::internal::FatalProcessOutOfMemory+846
 5: 00007FF66575B31F v8::internal::FatalProcessOutOfMemory+639
 6: 00007FF665C99304 v8::internal::Heap::MaxHeapGrowingFactor+11476
 7: 00007FF665C8FA67 v8::internal::ScavengeJob::operator=+25543
 8: 00007FF665C8DFDC v8::internal::ScavengeJob::operator=+18748
 9: 00007FF665C96F57 v8::internal::Heap::MaxHeapGrowingFactor+2343
10: 00007FF665C96FD6 v8::internal::Heap::MaxHeapGrowingFactor+2470
11: 00007FF665839DD7 v8::internal::Factory::NewFillerObject+55
12: 00007FF6658D1ABA v8::internal::WasmJs::Install+29530
13: 0000017C568DC5C1
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! [email protected] gulp: `gulp "release"`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the [email protected] gulp script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

and when I npm run gulp release again it builds.

This is on a VM with 8 GB RAM and Xeon Gold 6130 CPU running Windows Server 2016 and node v10.15.0.

And the debug log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'gulp',
1 verbose cli   'release' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pregulp', 'gulp', 'postgulp' ]
5 info lifecycle [email protected]~pregulp: [email protected]
6 info lifecycle [email protected]~gulp: [email protected]
7 verbose lifecycle [email protected]~gulp: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~gulp: PATH: *removed for github post brevity*
9 verbose lifecycle [email protected]~gulp: CWD: D:\russell\TerriaMap
10 silly lifecycle [email protected]~gulp: Args: [ '/d /s /c', 'gulp "release"' ]
11 silly lifecycle [email protected]~gulp: Returned: code: 134  signal: null
12 info lifecycle [email protected]~gulp: Failed to exec gulp script
13 verbose stack Error: [email protected] gulp: `gulp "release"`
13 verbose stack Exit status 134
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:182:13)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:182:13)
13 verbose stack     at maybeClose (internal/child_process.js:962:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid [email protected]
15 verbose cwd D:\russell\TerriaMap
16 verbose Windows_NT 10.0.14393
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "gulp" "release"
18 verbose node v10.15.0
19 verbose npm  v6.4.1
20 error code ELIFECYCLE
21 error errno 134
22 error [email protected] gulp: `gulp "release"`
22 error Exit status 134
23 error Failed at the [email protected] gulp script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 134, true ]

how to select default basemap

Following the documentation it should be possible to set a default base map in the init files with
"baseMapName": "Positron (Light)",
but it doesn't work. Also tried to set this in index.js with
selectBaseMap(terria, allBaseMaps, 'Positron (Light)', false);

selectBaseMap(terria, allBaseMaps, 'Bing Maps Aerial with Labels', true);

https://github.com/TerriaJS/terriajs/blob/bf73f6fab0018fd1ec9cc636ebfa2af1d38609a5/lib/ViewModels/selectBaseMap.js#L20

But no luck. It always defaults to the last one or the first in the list (Bing Aerial in this case). Am I missing something?
Thanks

Global Disclaimer doesn't work

Not sure if this never got implemented here, or got lost in newui, but the globaldisclaimer options don't do anything.

Update for JSON5

Now that we support JSON5, we should update the example config files etc.

Best way to update map to latest TerriaJS

This is totally exposing my lack of knowledge about JS, but having cloned this "map" repo, what is the appropriate way to bring it up-to-date with the latest release in the terriajs repo? (e.g I'd like to try out the CSW capabilities)

An in-range update of eslint-plugin-react is breaking the build 🚨

The devDependency eslint-plugin-react was updated from 7.14.0 to 7.14.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v7.14.1

Fixed

  • Fix prop-types crash on multiple destructuring (#2319 @golopot)
Commits

The new version differs by 3 commits.

  • 62255af Update CHANGELOG and bump version
  • 655eb01 Merge pull request #2320 from golopot/issue-2319
  • 9639d82 [Fix] prop-types: fix crash on multiple destructuring

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

De-nationalmap-ify 404 page

We have a slightly tricky issue in how to request assets: "/public/img/whatever.png" works, regardless of the broken URL being requested. But if the (correct) base URL is not /, then that won't work.

How to build with local terriajs?

I'm trying to build TerriaMap with a checkout of terriajs with some changes.

The procedure so far is:

cd TerriaMap
npm install .
npm install grunt
npm install ../terriajs
npm run grunt build
...
[17:38:27] Starting 'build-app'...
You have two copies of terriajs-cesium, one in this application's node_modules
directory and the other in node_modules/terriajs/node_modules/terriajs-cesium.
This leads to strange problems, such as knockout observables not working.
Please verify that node_modules/terriajs-cesium is the correct version and
  rm -rf node_modules/terriajs/node_modules/terriajs-cesium
Also consider running:
  npm run gulp sync-terriajs-dependencies
to prevent this problem from recurring the next time you `npm install`.
[17:38:27] 'build-app' errored after 790 ms

Following the directions leads to dependency issues with terriajs-cesium, and hacking out cesium from terriajs leads to a cascade of other errors. This doesn't seem like a productive direction.

What's the accepted way to build with a locally modified terriajs?

Any examples of visualizing LiDAR data in National Map?

There is a USGS LiDAR Science Workshop, sponsored by the 3D Elevation Program (3DEP) scheduled for August 2-4 at CSU in Fort Collins, CO, USA, and I was wondering what the capabilities of TerriaJS/Cesium were with respect to LiDAR.

I tried to find examples of visualizing LiDAR data in the National Map, but all I could find were tile indexes like this:
2016-03-09_9-20-14

I was hoping for something like 3D terrain draped with color-shaded relief...

Are there any examples?

Error running gulp

I imagine this is something simple, right?

[testbed@testbed2 map]$ npm install
[testbed@testbed2 map]$ gulp
[17:27:29] Using gulpfile ~/map/gulpfile.js
[17:27:29] Starting 'lint'...
[17:27:29] Starting 'build-css'...
[17:27:29] Starting 'merge-groups'...
[17:27:29] Starting 'prepare-terriajs'...
[17:27:29] Finished 'lint' after 61 ms
[17:27:29] Finished 'build-css' after 262 ms
[17:27:29] Finished 'merge-groups' after 275 ms
[17:27:29] Starting 'merge-catalog'...
[17:27:29] Finished 'merge-catalog' after 24 ms
[17:27:29] Starting 'merge-datasources'...
[17:27:29] Finished 'merge-datasources' after 8.45 ΞΌs
[17:27:30] Finished 'prepare-terriajs' after 669 ms
[17:27:30] Starting 'build-app'...
[17:27:30] Starting 'build-specs'...
[17:27:30] Finished 'build-specs' after 194 ms

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: Cannot find module './log' from '/home/testbed/map/node_modules/terriajs/node_modules/html2canvas/dist'
    at /home/testbed/map/node_modules/browserify/node_modules/resolve/lib/async.js:55:21
    at load (/home/testbed/map/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
    at onex (/home/testbed/map/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
    at /home/testbed/map/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
    at Object.oncomplete (fs.js:108:15)

Are any of these npm install warnings important?

When I run npm install after glocing the map repo, I get the warnings below. Are any of them important?

rsignell@igsagiegwsrsil0:~/map$ npm install
npm WARN package.json [email protected] No license field.
npm WARN engine [email protected]: wanted: {"node":">=0.6.x","npm":"1.1.x"} (current: {"node":"0.12.5","npm":"2.11.2"})
npm WARN peerDependencies The peer dependency stream-browserify@* included from bl will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]

An in-range update of webpack is breaking the build 🚨

The devDependency webpack was updated from 4.29.5 to 4.29.6.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.29.6

Bugfixes

  • typeof __webpack_require__ and require.onError is no longer evaluated to undefined and evaluation is done at runtime instead.
  • this value in module.hot.accept with imported dependency is correctly preserved.
  • webassemblyjs updated to latest version

Contributing

  • added a linting step to ensure all dependencies resolve to npm modules
Commits

The new version differs by 44 commits.

  • 685a062 4.29.6
  • 42dff08 Merge pull request #8820 from webpack/dependabot/npm_and_yarn/typescript-3.3.3333
  • 1ef0c2c Merge pull request #8818 from webpack/dependabot/npm_and_yarn/react-dom-16.8.3
  • a4196f9 Merge pull request #8839 from webpack/dependabot/npm_and_yarn/acorn-6.1.1
  • 5e9b9fe Merge pull request #8844 from webpack/bugfix/8829
  • ab517aa fixes #8829
  • 99d6270 Bump acorn from 6.1.0 to 6.1.1
  • 3496426 Merge pull request #8835 from webpack/dependabot/npm_and_yarn/eslint-config-prettier-4.1.0
  • 0dcdd3c Merge pull request #8831 from webpack/dependabot/npm_and_yarn/terser-webpack-plugin-1.2.3
  • 4c6e2bd Merge pull request #8827 from webpack/dependabot/npm_and_yarn/wast-loader-1.8.5
  • 188d162 Merge pull request #8823 from webpack/dependabot/npm_and_yarn/@types/node-10.12.27
  • b7361ff Merge pull request #8821 from webpack/dependabot/npm_and_yarn/coveralls-3.0.3
  • 02bd9be Merge pull request #8822 from webpack/dependabot/npm_and_yarn/ajv-6.9.2
  • 1bb3938 Merge pull request #8834 from xtuc/chore-bump-webassemblyjs24
  • 563dd52 Bump eslint-config-prettier from 4.0.0 to 4.1.0

There are 44 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Allow user to be able to select and download forest extent datasets for any given year or all years

offering the entire tile (if it is forest extent) or entire dataset if it is vector data.

We don't currently support tile-based downloads, so we'll have to see if that's the actual data format being used. Vector download is straightforward.

displaying approximate file size and expected time to download

Browsers do this once the file starts downloading. To provide this information before the download starts would be harder.

An in-range update of extract-text-webpack-plugin is breaking the build 🚨

Version 2.1.1 of extract-text-webpack-plugin just got published.

Branch Build failing 🚨
Dependency extract-text-webpack-plugin
Current Version 2.1.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As extract-text-webpack-plugin is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes Release v2.1.1

2.1.1 (2017-06-08)

Bug Fixes

  • add a not null check for the content property before throwing error (#404) (58dd5d3)
  • loader: rm unnecessary this.cacheable (caching) (#530) (c3cb091)
  • don't extract from common async chunks (#508) (e595417)
  • validation schema (schema-utils) (#527) (dfeb347)
Commits

The new version differs by 13 commits.

  • 0271b39 chore(release): 2.1.1
  • e595417 fix: don't extract from common async chunks (#508)
  • a8ae003 chore(package): fix broken links && update devDependencies (#531)
  • c3cb091 fix(loader): rm unnecessary this.cacheable (caching) (#530)
  • eaa5236 docs: rm RELEASE.md (#532)
  • 671e35e chore(package): update webpack-sources v0.1.0...1.0.1 (#526)
  • dfeb347 fix: validation schema (schema-utils) (#527)
  • d0e88d0 docs(README): add lead-in description (#517)
  • 58dd5d3 fix: add a not null check for the content property before throwing error (#404)
  • 6c50d8e Update README.md (#469)
  • c63dc04 docs(README): clarify to set allChunks option when using CommonsChunkPlugin (#476)
  • c40dc64 chore(package): reduce package size (#482)
  • a284f3a docs(README): fix options table formatting (#478)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of svg-sprite-loader is breaking the build 🚨

Version 3.5.0 of svg-sprite-loader was just published.

Branch Build failing 🚨
Dependency svg-sprite-loader
Current Version 3.4.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

svg-sprite-loader is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 5 commits.

  • 30d502f chore(release): 3.5.0
  • 48b9676 Merge branch 'fenderil-feature/sprite-name-function'
  • 80b4080 docs(spriteFilename): add info
  • 297a957 feat(loader): add functional type of spriteFilename
  • 9a3d1c7 chore(package): drop npm-run-all util and add postinstall script

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webpack is breaking the build 🚨

The devDependency webpack was updated from 4.29.6 to 4.30.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.30.0

Features

  • add amd: false to disable AMD support
  • Compilation.hooks.finishModules now also allows async plugins
  • add output.libraryTarget: "system" to compile for SystemJs environment

Bugfixes

  • fix generating a null id when concatenating an entry module in a different chunk
  • fix unneeded chunk references when splitting modules from chunks
  • fix parsing of function name in function scope

Performance

  • Lazy require some internal files
  • Faster way to generate function headers

Contributing

  • Run prettier on examples markdown
Commits

The new version differs by 102 commits.

  • b72b96a 4.30.0
  • 9ededfa Merge pull request #9034 from webpack/dependabot/npm_and_yarn/tapable-1.1.3
  • e33a91f chore(deps): bump tapable from 1.1.1 to 1.1.3
  • de81dd0 Merge pull request #8864 from joeldenning/issue-8833
  • 7dfddc2 Merge pull request #8858 from webpack/dependabot/npm_and_yarn/json-schema-to-typescript-6.1.3
  • f7d0c25 Improve way how System is tested
  • 39a680d formating of output code
  • e2e74f5 Merge pull request #8980 from webpack/dependabot/npm_and_yarn/eslint-5.16.0
  • 81dc70d Merge pull request #9022 from sandersn/fix-webassembly-declaration
  • 13aa512 Merge pull request #9023 from webpack/dependabot/npm_and_yarn/typescript-3.4.3
  • 1566036 chore(deps-dev): bump typescript from 3.4.2 to 3.4.3
  • ce33ca7 Update WebAssembly declaration
  • 5117461 Merge pull request #9006 from hiroppy/feature/fix-template-syntax
  • 9e60850 Merge pull request #8984 from webpack/dependabot/npm_and_yarn/react-16.8.6
  • 5f75527 Bump json-schema-to-typescript from 6.1.1 to 6.1.3

There are 102 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Update package requirements for CDI branch?

I was building the cdi branch using the selectWMSelevation branch of terriajs, but now it's been merged into master: TerriaJS/terriajs@a86f74f

So I changed my TerriaMap cdi branch package.json from

    "terriajs": "git://github.com/TerriaJS/terriajs#selectWmsElevation",

to

    "terriajs": "git://github.com/TerriaJS/terriajs",

but after building, something is clearly wrong:
2016-10-12_9-55-20

I'm thinking that there are more package updates required than just this line?
https://github.com/TerriaJS/TerriaMap/blob/cdi/package.json#L58

An in-range update of react is breaking the build 🚨

There have been updates to the react monorepo:

    • The devDependency react was updated from 16.6.1 to 16.6.2.
  • The devDependency react-dom was updated from 16.6.1 to 16.6.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the react group definition.

react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Change Gazeteer

Hi
The location search currently uses an Australian gazetteer, how do I change this?
Cheers,
Edd

Inpm nstallation Error Ubuntu

Hi,

Following the getting started documentation on Ubuntu 18.04 I'm getting an error at the npm install stage, as below.

terria@terria:~/TerriaMap$ npm install
loadDep:yargs β†’ resolveWi β–Œ β•’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β•Ÿ
WARN engine [email protected]: wanted: {"node":">=0.6.x","npm":"1.1.x"} (currenpm WARN deprecated [email protected]: please use 'proj4' instead, proj4js is not maintained
npm ERR! Linux 5.0.0-36-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror     at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror     at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/terria/TerriaMap/npm-debug.log

terria@terria:~/TerriaMap$ npm run gulp

> [email protected] gulp /home/terria/TerriaMap
> gulp

sh: 1: gulp: not found

npm ERR! Linux 5.0.0-36-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "gulp"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] gulp: `gulp`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] gulp script 'gulp'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the terriajs-map package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs terriajs-map
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls terriajs-map
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/terria/TerriaMap/npm-debug.log

Problem installing map on windows 7

I followed the instructions here for installing TerriaJS on windows:
https://github.com/TerriaJS/terriajs/wiki/Deploying-and-building-TerriaJS

but when I try typing npm install from the Node.js command prompt, I get:

C:\Users\rsignell\Downloads\map-usgs>npm install
npm WARN package.json [email protected] No license field.
-
> [email protected] postinstall C:\Users\rsignell\Downloads\map-usgs\node_modules\
terriajs
> bash -c "if [ ! -d "./wwwroot/build" ]; then gulp prepare-cesium; fi"

C:\Users\rsignell\Downloads\map-usgs\node_modules\glob-all\node_modules\glob\nod
e_modules\minimatch\minimatch.js:579
});
 ^
SyntaxError: Unexpected token )
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (C:\Users\rsignell\Downloads\map-usgs\node_modules\glo
b-all\node_modules\glob\glob.js:44:17)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `bash -c "if [ ! -d "./wwwroot/build" ]; t
hen gulp prepare-cesium; fi"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'bash -c "if [ ! -d ".
/wwwroot/build" ]; then gulp prepare-cesium; fi"'.
npm ERR! This is most likely a problem with the terriajs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bash -c "if [ ! -d "./wwwroot/build" ]; then gulp prepare-cesium; fi"

Looks like the postinstall is expecting bash...

CORS Issue - Add Web Data

Hi,

Tried today to use Terria to add web data from couple of services (http://ogc.bgs.ac.uk/cgi-bin/TFL-PSI/ows & http://ogc.bgs.ac.uk/cgi-bin/TFL-PSI/ows) on servers where we've enabled CORS:

header set Access-Control-Allow-Origin "*"

WMS GetCapabilities request shows the server is giving ~ Access-Control-Allow-Origin: * :

GET http://ogc.bgs.ac.uk/cgi-bin/TFL-PSI/ows?service=WMS&request=GetCapabilities& HTTP/1.1
Host: ogc.bgs.ac.uk
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36 OPR/65.0.3467.78
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Referer: http://ogc.bgs.ac.uk/BGS_ESA_EN_Terrafirma/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8


HTTP/1.1 200 OK
Date: Mon, 20 Jan 2020 11:34:18 GMT
Server: Apache
Access-Control-Allow-Origin: *
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8 

But the layers aren't coming in....still getting a CORS error popup...

An in-range update of redbox-react is breaking the build 🚨

Version 1.3.5 of redbox-react just got published.

Branch Build failing 🚨
Dependency redbox-react
Current Version 1.3.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As redbox-react is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes v1.3.5

<a name"1.3.5">

1.3.5 (2017-04-08)

Bug Fixes

Commits

The new version differs by 1 commits .

  • 23b95cc fix(react): Migrate from React.PropTypes (#88)

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.