by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Stephen Davies
    @steve9164
    @lob743 your best bet is to open the network tab in the browser debugger before clicking on the dataset in terria catalogue. You should be able to tell there whether it’s because of CORS, or maybe the server isn’t marking the response as XML
    Steve Rogowski
    @Steve_Rogo_twitter

    I'm following the install instructions and am getting an error. I am using Git Bash on Win10. Any help is appreciated!

    $ npm install

    core-js@2.6.11 postinstall C:\Users\Owner\TerriaMap\node_modules\babel-runtime\node_modules\core-js
    node -e "try{require('./postinstall')}catch(e){}"

    Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

    The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

    https://opencollective.com/core-js
    https://www.patreon.com/zloirock

    Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

    terriajs@7.11.5 postinstall C:\Users\Owner\TerriaMap\node_modules\terriajs
    gulp post-npm-install

    [09:08:28] Using gulpfile ~\TerriaMap\node_modules\terriajs\gulpfile.js
    [09:08:28] Starting 'post-npm-install'...
    [09:08:28] Starting 'copy-cesium-assets'...
    [09:08:28] 'copy-cesium-assets' errored after 2.57 ms
    [09:08:28] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in C:\Users\Owner\TerriaMap\node_modules\terriajs-cesium\package.json
    at applyExports (internal/modules/cjs/loader.js:491:9)
    at resolveExports (internal/modules/cjs/loader.js:507:23)
    at Function.Module._findPath (internal/modules/cjs/loader.js:635:31)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:953:27)
    at Function.resolve (internal/modules/cjs/helpers.js:78:19)
    at C:\Users\Owner\TerriaMap\node_modules\terriajs\gulpfile.js:78:33
    at copy-cesium-assets (C:\Users\Owner\TerriaMap\node_modules\undertaker\lib\set-task.js:13:15)
    at bound (domain.js:426:14)
    at runBound (domain.js:439:12)
    at asyncRunner (C:\Users\Owner\TerriaMap\node_modules\async-done\index.js:55:18)
    [09:08:28] 'post-npm-install' errored after 5.42 ms
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! terriajs@7.11.5 postinstall: gulp post-npm-install
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the terriajs@7.11.5 postinstall script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\Owner\AppData\Roaming\npm-cache_logs\2020-07-20T15_08_31_967Z-debug.log

    The end of the log file indicates:
    3540 silly saveTree -- camelcase@4.1.0 3541 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): 3542 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 3543 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin 3543 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any 3543 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32 3543 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64 3544 verbose stack Error: terriajs@7.11.5 postinstall:gulp post-npm-install`
    3544 verbose stack Exit status 1
    3544 verbose stack at EventEmitter.<anonymous> (C:\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
    3544 verbose stack at EventEmitter.emit (events.js:315:20)
    3544 verbose stack at ChildProcess.<anonymous> (C:\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
    3544 verbose stack at ChildProcess.emit (events.js:315:20)
    3544 verbose stack at maybeClose (internal/child_process.js:1021:16)
    3544 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
    3545 verbose pkgid terriajs@7.11.5
    3546 verbose cwd C:\Users\Owner\TerriaMap
    3547 verbose Windows_NT 10.0.18363
    3548 verbose argv "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "install"
    3549 verbose node v12.18.0
    3550 verbose npm v6.

    Russell Grew
    @RussellGrew
    @Steve_Rogo_twitter it should look more like https://gist.github.com/RussellGrew/7af7f0c70d83ea8fcdcbfbda3e0e1ce6 ~ is this a clean clone of the trunk? Perhaps you have some other project in your path which is interfering?
    Steve Rogowski
    @Steve_Rogo_twitter
    @RussellGrew I had installed Cesium before. So I deleted the Cesium folder and removed it from the Recycle Bin as well. Still no luck, getting the same error.
    stevenjh
    @stevenjh
    Checking in, is the latest and greatest TerriaJS/Map coming out of the 'next' branches? which supersedes the 'mobx' branches (which the NSW digital twin were coming out of?) ?
    Russell Grew
    @RussellGrew
    @stevenjh I believe so. If you are on windows it may need some lovin
    stevenjh
    @stevenjh
    I just ran into that one thanks Russell!
    Russell Grew
    @RussellGrew
    Lots of companies running windows outside CSIRO!
    Russell Grew
    @RussellGrew
    @Steve_Rogo_twitter looking at 3544 verbose stack at EventEmitter.<anonymous> (C:\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) maybe you have NODE_PATH or NODE_MODULES environment variables set which are causing grief. All the TerriaMap node stuff should be local to the TerriaMap folder.
    Steve Rogowski
    @Steve_Rogo_twitter
    @RussellGrew I'm not sure how to check for that.
    Russell Grew
    @RussellGrew
    Steve Rogowski
    @Steve_Rogo_twitter
    @RussellGrew I typed the command into git bash and nothing was listed
    Russell Grew
    @RussellGrew
    I am running out of ideas. Try deleting the node_modules folder and package-lock.json and run npm install again. Maybe it got caught up downloading a package earlier.
    Zoran Kokeza
    @zoran995
    @Steve_Rogo_twitter can you try downgrading your node to v10, July 12, 2020 2:59 PM this seems to be the same error
    Steve Rogowski
    @Steve_Rogo_twitter
    @zoran995 That did it, thanks very much! Also thanks @RussellGrew for your help!
    Russell Grew
    @RussellGrew
    Thanks @zoran995
    Wing Ho
    @soyarsauce
    yeah sorry we've neglected newer versions of node - our most pressing thing to fix is the path problem on non-WSL windows described in TerriaJS/terriajs#4563
    stevenjh
    @stevenjh
    Just noticed the CartoDB basemaps have started returning CORS errors, do we know if this a glitch or are they restricting usage?
    Noticed the issue locally and double checked it against nationalmap.gov.au
    Or it could be that the services have moved to https://cartocdn_{s}.global.ssl.fastly.net/base-flatblue/{z}/{x}/{y}.png vs https://cartodb-basemaps-a.global.ssl.fastly.net/light_all/10/1007/623.png
    1 reply
    stevenjh
    @stevenjh
    positron.url = "https://basemaps.cartocdn.com/rastertiles/light_all/";
    positron.subdomains = [   "a",   "b",   "c",   "d" ];
    
    darkMatter.url = "https://basemaps.cartocdn.com/rastertiles/dark_all/";
    darkMatter.subdomains = [   "a",   "b",   "c",   "d" ];
    resolves the issue
    lob743
    @lob743
    I'm trying to add items to my workbench list using CompositeCatalogItem, because I have one "unit" which may contain several different sources/data sets. However, the CompositeCatalogItem is completely empty in the UI(and duplicated at that). What I'm essentially looking for is a parent item capable of displaying an arbitrary amount of children items collapsed under it. Is it intended for this use, meaning my implementation is faulty or am I misinterpreting the intention behind CompositeCatalogItem and must customise this functionality myself? Any feedback would be greatly appreciated.
    4 replies
    Stephen Davies
    @steve9164
    @stevenjh Thanks for letting us know about the URL change
    Hermawan
    @ushermawan
    hello.. I am new in Terriamap.. Is there any video to clean install TerriaMap. .. Thank you..
    image.png
    Hermawan
    @ushermawan
    When I open the browser like this
    image.png
    Stephen Davies
    @steve9164
    Hi @ushermawan. That first error shows that git is not installed. You'll need git to be able to install TerriaMap's dependencies to be able to build and run TerriaMap.
    Once you install git it should also install an application called "Git Bash". I strongly recommend using Git Bash instead of Command Prompt for commands to build/run TerriaMap.
    Stephen Davies
    @steve9164
    Or if you have access to Windows Subsystem for Linux I highly recommend using that. It's quite easy to use once you have it set up and Microsoft has pretty good documentation for working inside WSL.
    Hermawan
    @ushermawan
    Thank for your quick respon Stephen here my problem
    image.png
    Wing Ho
    @soyarsauce
    @ushermawan looks like you've run into an active issue :( TerriaJS/terriajs#4617
    Stephen Davies
    @steve9164
    I have just pushed a fix for that bug. If you grab the latest TerriaMap you won't have that problem any more.
    Hermawan
    @ushermawan
    @steve9164 thanks for your advice.. It very pleasure create a maps..
    Hermawan
    @ushermawan
    There is still a problem..
    image.png
    Stephen Davies
    @steve9164
    It looks like you’re not using the latest revision of TerriaMap
    Wing Ho
    @soyarsauce
    @ushermawan try doing a git pull so that you've got the latest changes - then it should work
    Hermawan
    @ushermawan
    thanks @steve9164 & @soyarsauce I will try
    Stephen Davies
    @steve9164
    @ushermawan You might also have to run npm upgrade node-sass before running npm install to make everything work on node 14. If you want a more stable experience I'd recommend running TerriaMap on node 12 for now.
    Hermawan
    @ushermawan
    @steve9164 and @soyarsauce .. thanks..
    image.png
    Hermawan
    @ushermawan
    hello @soyarsauce .. where i can change the code .. so I can add Layers on first load web like this and Add Group Data beside MyData.. thank allot
    image.png
    2 replies
    Russell Grew
    @RussellGrew
    Looking at https://github.com/RussellGrew/nsw-covid-to-terria I wonder if Terria is somehow caching https://raw.githubusercontent.com/RussellGrew/nsw-covid-to-terria/master/covid-19-cases-by-notification-date-and-postcode-local-health-district-and-local-government-area-for-terria.csv ~ when I open the catalogue on National Map it has data until 9 August (Good). The copy hosted here is only showing data until 6 August. Ideas are invited.
    Davide de Lerma
    @davidedelerma
    Hello, I have a netcdf and I would like to display the timeseries for a single point in the chart when I click on the map. Is there any example that can help me with that.? The netcdf is loaded in geoserver where I have also the ncWMS pluginh that has the GetTimeSeries capability to provide a plot of a time-series for a single point. Thank you very much in advance
    17 replies
    Zoran Kokeza
    @zoran995
    Hi guys, I am trying to send an authorization token along with wms imagery request. Which function are we using for loading imagery tiles? Already tried wrapping Cesium.Resource.prototype.fetch function to add token with every call, but it's not used for loading tiles as I expected. Token wrapper works fine for getFeatureInfo and other requests
    5 replies
    Russell Grew
    @RussellGrew
    @davidedelerma perhaps https://github.com/TerriaJS/terriajs/blob/master/wwwroot/test/init/wms.json contains useful things. It looks like it might just work.
    1 reply
    Zoran Kokeza
    @zoran995
    @RussellGrew it is used as basis, but some other class is used to load images and can't find out which one is it
    Davide de Lerma
    @davidedelerma
    Regarding my question above, I am referring to the chart at the bottom of the image
    image.png