Does openmaptiles support distributing 3D terrain map tiles? - cesiumjs

Can OpenMapTiles software dispense 3D terrain data?
I would like to render 3D terrain data in Cesium where the user can see the 3D terrain heights of the terrain when viewed from the side in an offline map server environment.
An example of what I am trying to achieve is this Cesium sandcastle example https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Terrain.html
I am familiar with OpenMapTiles' hillshade and contour map tiles. My understanding is that hillshade tiles are raster only.
I would like to use USGS National Elevation Dataset (NED) tiles, but I don't know how to convert that data to a vector format that OpenMapTiles could send and Cesium could understand.
Looking at the Cesium documentation for imagery providers it looks like Cesium is looking for data in a "quantized-mesh" format for one image provider type. I am not exactly sure what the GoogleEarthEnterprise or VRTheWorldTerrainProvider formats are using.
Any pointers or suggestions is appreciated.
Thanks

Related

Openlayers GIS - Georeferenced DEM(GeoTIFF) not positioned correctly in Map (OpenStreetMap)

With Openlayers, I'm visualizing GIS rasters(DEM, Orthomosaic) in GeoTIFF format(using WebGLTileLayer) on top of OSM(as WebGLTile layer) in OL Map.
The issue I'm having is, the GIS rasters which have georeferencing, are not positioned in its correct geographic position on the OSM base map. The DEM seems to appear in nowhere, around gulf areas or on top of water bodies.
I've created OSM layer with it's default projection & I'm setting view after raster source is loaded, using source.getView()
I referred to Raster reprojection examples in the Openlayers website, but wasnt able to solve this.
Does anyone have an idea on how to resolve this?
As Mike had suggested in the comments, this issue was happening since even though the projection name was identified from the raster - Eg: "EPSG:3237", the Openlayers library doesnt have the projection definition(what it actually means), so now I'm fetching proj definition from epsg.io & registering in proj4 defs. Now it works perfectly!
Thanks Mike.

How to create a geojson file from an image overlay?

I am looking for a way to create a geojson file from the distributions of the health sectors in my region which are different than any political division readily available on osm:
There are fantastic tools such as geojson.io to draw custom polygons but because of the complexity I would need a tool that allows me to overlay an image to use it as a template or that does this automatically. If this makes a difference, I may be able to extract the silhouette with any computer vision library but my problem of how to get from an image or shape to geojson still remains.
Which is the fastest way to approach this?
You can do this using QGIS with manual georeferencing in order to assign real-world coordinates to an image without geo-information. This is done by clicking points on a map that correspond to points on your image. Then once georeferenced you can export the file as a geojson.
Another solution is to find a shape file (maybe this is correct) and simply convert the .shp into a geojson.

How do you convert glTF to Cesium 3D Tiles?

There doesn't appear to be any clear way to do this, or existing tools.
I have edited the 3D-Tiles-Tools provided by cesiumjs to convert the gltf to b3dm.
For your reference, here is the link https://github.com/Jennyshining/3d-tiles-tools.git
In the repository, samples-generator/lib/myGenerator.js is the entry.
createGltf is the tool to create gltf, createB3dm and createTilesetJsonSingle are used to create 3d tiles.

Add some drawing on a map and map it's streets

I would like to use a layer on top of a google map and map the streets on this layer.
Specifically - I have autocad design and would like to implement it somehow into a map, using tiles (maybe MBTiles) and provide info on the design.
I'm familiar with google maps but not on how I can add this layer and information. I don't want to create polygons and polylines in code - I want to use to vector design, place it on the map and add data like street names and such.
How would I approach this?
I'm thinking you'll need to use AutoCAD Map 3D or AutoCAD Civil 3D to extract the layer as a shape file which you can then use with Google Maps.

Best way to display 100k+ points on map

I have a dataset with several hundred thousand lat/long points. I would like to render these points on a map for info-graphic purposes (as small dots or something similar).
This is not something that necessarily has to be interactive, or rendered in a browser. It's okay if it's just an image.
I know that attempting this with markers and Google maps would be tough... any other tools out there that would generate this type of map? Preferably free/open source?
Or, do you have a method to make this work with something like Google maps? I don't want to use a marker clusterer... I need to be able to see all of the points.
In short :)
Download and fire-up Quantum GIS
Add some background map (e.g. OSM WMS layer from http://129.206.228.72/cached/osm)
Have your data in a CSV file, in WKT format, and load it on top (using add delimited text layer)
Save as image
You might want to peek what stackexchange.com has on GIS, too.