Open Street Map catalog item example?

61 views
Skip to first unread message

Richard Signell

unread,
Sep 30, 2020, 4:01:09 PM9/30/20
to TerriaJS
I see this description that open street map tiles are supported in the docs:
https://docs.terria.io/guide/connecting-to-data/catalog-type-details/open-street-map/
but I would like to find a working example.

Does anyone have a working catalog example that accesses an open street map tile service?

Thanks,
Rich

Mats Henrikson

unread,
Oct 1, 2020, 4:36:28 AM10/1/20
to terr...@googlegroups.com
Hi Rich,

Here's one that works:

```
        {
          "name": "CartoDB Voyager",
          "url": "https://cartodb-basemaps-c.global.ssl.fastly.net/rastertiles/voyager/",
          "ignoreUnknownTileErrors": true,
          "type": "open-street-map"
        },
```

What are you having trouble with?

Mats

--
You received this message because you are subscribed to the Google Groups "TerriaJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terriajs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terriajs/d5bd733c-a8c0-442d-b829-bb4c6256c7ban%40googlegroups.com.

Richard Signell

unread,
Oct 1, 2020, 10:58:41 AM10/1/20
to TerriaJS
Thanks Mats, 
I was basically trying to see if maybe there was some functionality there that would allow me to access the serverless open street map tiler being used here: 

https://www.cogeo.org/map/#/url/https%3A%2F%2Fprod-is-usgs-sb-prod-publish.s3.amazonaws.com%2F5e7d36c1e4b01d5092751e09%2FWhiskeytown_2019-06-03_DSM_25cm_hll.tif/center/-122.6017,40.6341/zoom/16  

The client above is making requests like  

https://tiles.rdnt.io/tiles/18/41791/98635?url=https%3A%2F%2Fprod-is-usgs-sb-prod-publish.s3.amazonaws.com%2F5e7d36c1e4b01d5092751e09%2FWhiskeytown_2019-06-03_DSM_25cm_hll.tif

And that "tiles.rdnt.io" open street map service is creating tiles on the fly using AWS lambda, reading the data directly from Cloud Optimized GeoTIFF on S3.   Super Cool.

I was hoping that there would be a way for Terria to make requests like this, perhaps by specifying a field to be appended to the request (the URL to the geotiff on S3)

I raised the issue here:


Thanks,
Rich

Kevin Ring

unread,
Oct 1, 2020, 7:33:58 PM10/1/20
to TerriaJS
Hi Rich,

You might try using the url-template catalog item to connect to that service:

Basically you give it a URL with placeholders. It uses the same placeholders as Cesium's UrlTemplateImageryProvider:

Kevin

Richard Signell

unread,
Oct 2, 2020, 12:59:28 PM10/2/20
to TerriaJS
Kevin,   
Whoa!  Super cool! 
I passed this info to Shayne Urbanowski at USGS and it works perfectly!

Love that "url-template" catalog.  Had no idea that existed...

-Rich


Reply all
Reply to author
Forward
0 new messages