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
    :tada:
    @stevenjh there’s a DatasourceCatalogItem IIRC. That might help with adding custom Entities to the map?
    RussellGrew
    @RussellGrew
    I do wonder if there are plans to include a VR component, for exploring 3D structures which are on the map?
    Ana Belgun
    @AnaBelgun
    @RussellGrew you can currently explore BIM models (i.e. moving inside/around the model) and 3D buildings if that's what you mean; you might also find the AR for mobile useful; back in v 5.2.0 the log says "Added AugmentedVirtuality (user facing feature name Augmented Reality) to allow users to use their mobile device's orientation to set the camera view"
    RussellGrew
    @RussellGrew
    Thanks @AnaBelgun I am certainly looking forward to the digital twin releases. I was thinking more with the VR headset, along the lines of https://github.com/ianpetrarca/webvr_boilerplate or exploring a model on sketchfab. By "model" I am thinking of LIDAR scans or photogrammetry of the built environment.
    RussellGrew
    @RussellGrew
    A less outrageous request, on a completely different topic, would be to get the map to display UTM coordinates along with the latitude and longitude. Like in Google Earth, or the coordinate tool in SIX Maps https://maps.six.nsw.gov.au/ whereby Sydney is in MGA Zone 56.
    Arapaut Sivaprasad
    @asivapra
    Is it possible to scroll through the time points in the data when the Play button is pressed? i.e. instead of scrolling through the clock and displaying the data when a time point matches can it scroll through the time points directly?
    stevenjh
    @stevenjh
    Hi team, wondering if you'd be interested in a pull request for this functionality exposing depthTestAgainstTerrain in the config and UI?
    screen capture
    I built it because I want to show a mixture of meshes where we want to 'override' the terrain and buildings where it would be good to control if the foundations are visible or not.
    @steve9164 thanks for pointing me at DatasourceCatalogItem I'll have to find time to explore this a bit more
    Stephen Davies
    @steve9164
    image.png
    @asivapra It’s possible. It doesn’t seem like something you want a timeline for though, since the speed it’ll be animating at will be different for different data points in time. There’s already a button to go to the next discrete time step in the UI (the right button beside the time above)
    Maybe you could create another UI element in DateTimeSelectorSection.jsx that has a button that starts the layer animating. That button could start/stop a setInverval that on each interval calls the onNextButtonClicked callback, which will advance the layer to the next time step.
    Muhammed Sami Marufoğlu
    @marufoglu
    Hello to everyone, I have a problem about cesium-terrain catalog item. I am trying to build a json for to serve my terrain file on terria.io. But I didn't understand working logic. Can anyone help me!. Thanks.
    Arapaut Sivaprasad
    @asivapra
    @steve9164 Thank you, Stephen. It is an excellent idea. I will have a go at it.
    Colin Ryan
    @ColinRyan
    Hello! I'm planning on using Terria to visualize some time series data, however the amount of objects I'll be tracking on the map could be numerous ( 2000+ unique objects). I'm curious to know what kind of loads Terria can handle and what the best way to go about this would be.
    Wing Ho
    @soyarsauce
    Hey @ColinRyan - do you mean performance once you have 2k+ objects, or how you'd interact with it? terriajs brings up all the items when you click into a cluster of them, here's a map with over 6000 items: https://map.terria.io/#share=s-hrAhDzVmxcxeJhYd6rbd6E5Kdto - have you got the data already? What format is it in? The best way to go about it would be to try putting it onto https://map.terria.io/ & see if its acceptable
    Colin Ryan
    @ColinRyan
    @soyarsauce Thanks, the dataset is in a customized format and we're loading a ton of image icons and text labels which causes our current builds to be quite slow. Do you happen to know if Terria is able to aggregate a collection of data points when you zoom out far enough?
    RussellGrew
    @RussellGrew
    Looking at the latest change log we have had some people (with slow internet) complain that the globe loading page never finishes and so Terria is unusable. Is this something that might be addressed by the newest build??
    stevenjh
    @stevenjh
    Has there been any previous work to load initialization-files, from initialization-files? Or any suggestions on classes/ functions I should be looking at for this?
    Wing Ho
    @soyarsauce
    @ColinRyan the library doesn't "cluster"/aggregate either of the map markers or the data points themselves, if that's what you mean - not a feature yet!
    @RussellGrew that sounds like the JavaScript bundle might not be compiled properly, or errored out while parsing - were you able to reproduce it on your end?
    @stevenjh is there any way you can make it, load initialization-files from config.json? It already supports multiple init files there (https://github.com/TerriaJS/TerriaMap/blob/master/wwwroot/config.json#L3), so if you're able to utilise it there you won't have to make any changes.
    Stephen Davies
    @steve9164
    Hey @ColinRyan. I think you could cluster points using a Cesium DataSource with clustering options. You should be able to use that with a custom catalog item derived from DataSourceCatalogItem. I’m not sure if the clustering would work in 2D leaflet view, but it should work in 3D view.
    RussellGrew
    @RussellGrew
    @soyarsauce thanks for responding. I haven't seen the error myself. Only heard about it anecdotally.
    Stephen Davies
    @steve9164
    Hi @marufoglu. Are you having trouble making the Cesium terrain, or having trouble using it in Terria? If you’re having trouble setting up your terrain the Cesium google group might be able to help more.
    stevenjh
    @stevenjh
    @soyarsauce having a quick looking though the levels of async in the app initialisation I'll stick with the config files for the moment :)
    RussellGrew
    @RussellGrew

    Following yesterdays discussion, if I do a fresh clone of TerriaMap and an npm install, when I then npm run gulpI do get a

    WARNING in ./node_modules/terriajs-cesium/Source/Core/TaskProcessor.js 145:117-124
    Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
     @ ./node_modules/terriajs-cesium/Source/Core/loadCRN.js
     @ ./node_modules/terriajs-cesium/Source/Scene/ImageryProvider.js
     @ ./node_modules/terriajs-cesium/Source/Scene/BingMapsImageryProvider.js
     @ ./node_modules/terriajs/lib/Models/BingMapsCatalogItem.js
     @ ./node_modules/terriajs/lib/Models/registerCatalogMembers.js
     @ ./index.js
     @ ./entry.js

    with a bunch of noise after it. But it looks to have built.

    With an npm run gulp release it fails the first time with the below, but then succeeds if I run it again. I get that it could run out of memory, but I don't see how running it again fixes things, unless it doesn't start clean each time. I don't think this is causing an issue but thought to feed it back. I don't see the release build error on my workstation, only when I build on a VM.
    [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! terriajs-map@0.0.1 gulp: `gulp "release"`
    npm ERR! Exit status 134
    npm ERR!
    npm ERR! Failed at the terriajs-map@0.0.1 gulp script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    Wing Ho
    @soyarsauce
    Yeah that is odd and so points to some sort of caching/steps done in the first attempt that scrapes things by just under a given memory limit when it's run a second time - we've seen memory problems in our mobx builds but not on master, maybe log an issue with whatever resources the VM gets so at least it's recorded
    RussellGrew
    @RussellGrew
    Can story mode be set (or tricked) to automatically progress itself? We are having a client event and I wonder about autonomous TerriaMap displays.
    Stephen Davies
    @steve9164
    @RussellGrew That’s an idea we’ve toyed with too. Maybe a URL parameter like https://map.terria.io/#autoplay=40 where the number 40 is the number of seconds between scenes? We might consider a UI element to set the autoplay sometime.
    RussellGrew
    @RussellGrew
    Thanks @steve9164
    I have been exploring https://github.com/TerriaJS/terriajs-server/blob/master/serverconfig.json.example and note that there is much more available functionality compared to the devserverconfig.json I get when I clone TerriaMap (the npm package?) and also much of the token value content from that file doesn't have "quotes" around the tokens. I have been trying to get gist working (finally great success) and I am not sure if adding quotes helped me or not.
    Stephen Davies
    @steve9164
    @RussellGrew We use JSON5 to read a lot of our JSON config files so quotes shouldn’t matter https://json5.org/
    RussellGrew
    @RussellGrew
    Good to know. I will install json5 and use their validator. Presently the validator I am using isn't a fan of commented lines.
    RussellGrew
    @RussellGrew
    Is any share url stuff stored locally with the TerriaJS server? Put differently are there considerations when I do a version upgrade? Normally I start clean and copy in our catalogues etc.
    Wing Ho
    @soyarsauce
    No you should be able to freely upgrade terriajs-server assuming you keep the same storage mechanism for your share URLs, the aim is to keep share compatible with the version specified in the urls made - e.g. everything at the moment uses version 0.0.05, the only upcoming change to this will be when mobx gets merged and we'll have to manage that within terriajs.
    (of course if you delete catalog items in your new "clean copy catalogue" which previously existed, those items won't magically be accessible again through an older share link as it simply looks up the current catalogue)
    RussellGrew
    @RussellGrew
    Thanks @soyarsauce that is great news
    jenosan
    @jenosan
    Hi Team, Could you please advise how we can integrate with DECK.gl with terria leaflet map? Cheers
    RussellGrew
    @RussellGrew
    Today we had a problem with external WMS services. At least I think we did. I wonder if error messages could be more specific. While I enjoy feature.gif (who is that?!) it would be useful to know when web services aren't acting as they should. Todays error wasn't feature.gif but something different I think caused by caching external to TerriaJS, following problems with a WMS outside my control. Are there any logs associated with TerriaJS I can review?
    Also Happy actual Birthday. TerriaJS falling out of NationalMap proves more useful to me than NationalMap itself. I enjoyed @kring 's use of incentivised.
    RussellGrew
    @RussellGrew

    The great thing about my work with Terria is that it has exposed me to a world of new technology. At times this is one of the more frustrating things. With the blacklistedAddresses discussed above should be there be any difference between "npm start" or a "npm run gulp release" started per ./node_modules/.bin/pm2 start ecosystem-production.config.js --update-env --env productionI do edit ecosystem-production.config.js to fix the instances as I have had mixed experiences with Math.max(4, os.cpus().length)on different windows computers. I have in mind this configuration doesn't feed into the build?

    I see now that devserverconfig.json doesn't pipe into the production release and there is a different production config file I previously missed. Progress is being made. I mention these things incase others find it similarly confusing.

    Dhaval Patel
    @dhavalatmail_gitlab
    Hi team, can you help me to load terrain tiles on terria map?
    I trie different catalog item but none of them is working
    Stephen Davies
    @steve9164
    @RussellGrew often to diagnose issues with servers the only place to get good information is the network tab of your browser debugger
    feature.gif is our Terria UX person Phil
    Stephen Davies
    @steve9164
    Sometimes, especially if responses from servers don't have CORS headers, the information available to JavaScript is minimal (for security)
    Stephen Davies
    @steve9164
    @dhavalatmail_gitlab what problems have you been having?
    Dhaval Patel
    @dhavalatmail_gitlab
    @steve9164 When I try to load the catalog, the globe just become white.
    I have created layer.json and the map also getting it.
    Dhaval Patel
    @dhavalatmail_gitlab

    @steve9164 I am also getting tile request on my tile server and the tile server also return the tile data for requested x,y and z.

    The only issue is the globe becomes completely white. It's not showing any terrain tiles.