ThinkGeo.com    |     Documentation    |     Premium Support

Blazor and ThinkGeo.GisServer

Not necessarily a Blazor question, but I have been looking at the ThinkGeo.GisServer this week and was wondering if there is a way to connect to the sample, for example with a WmsTileOverlay, in my Blazor project or do I need to create my own GisServer. I would also like to know if there is a way to use the Open Street Map files (osm.pbf) with the GisServer. I am still demoing a few things out and this is the next step as we are still determining the best course of action.

Thanks,
James R.

ThinkGeo.GisServer serves maps through standard protocols (WMS, WMTS, XYZ, etc.), which means they can be consumed by virtually any client. The demo project (https://gitlab.com/thinkgeo/public/thinkgeo-gis-server) uses OpenLayers on the front end, but you can just as easily consume it in Blazor using WmsTileOverlay.

There isn’t a way to directly consume an .osm.pbf file in a client application. This is because:

  1. .osm.pbf contains raw, primitive map data and is not optimized for rendering.
  2. It doesn’t include any styling information.

If you want to use .osm.pbf , the typical approach is to preprocess it into a renderable format—MBTiles is a common and recommended choice, though other formats can work as well.

Thanks,
Ben

Ben,

Thanks for the information. To you have a quick sample of how to use WmsTileOverlay with the sample. If not I can reason it out.

Thanks,
James R.

Sorry, we don’t currently have a GisServer demo deployed, but I’ll make sure it’s on our roadmap. We’re planning to release v14.5 by the end of this month, and after that we’ll focus on deploying the GisServer demo and preparing it for release in v15.0.

Thanks,
Ben

Ben,

I will see what I can figure out then. I think we are going the route of using GIS Server when it releases with v15 and I am just laying some groundwork, so I also have a roadmap.

Thanks,
James R.

Hi James,

That’ll be the best. Keep an eye on our blog and we will for sure talk about it when it’s official.

Thanks,
Ben