Supported Data Formats¶
Mobile Maps reads the formats below on iOS, Android and Windows with ThinkGeo.Core, which ThinkGeo.UI.Maui brings with it. Formats that need native libraries on the desktop and server, such as GDAL, CAD, File Geodatabase and Oracle, are not available in Mobile Maps. Everything below is drawn one of two ways:
- By a style document on the GPU map. A
FeatureSourceVectorTileSourcecuts any feature source into vector tiles and aMapStyledraws them onMapView.Basemap, as the quick start and Styling Your Data show. A raster source goes in throughClassicRasterTileSourceandMapStyle.AddRaster, and the tile sources in the Tiles table are added to the document directly. - By a classic layer. Each feature source has a matching feature layer (
ShapeFileFeatureLayerforShapeFileFeatureSource, and so on) and each raster source a raster layer, styled with aZoomLevelSetin aLayerOverlay. Classic overlays are drawn on top of the basemap. Classic Rendering explains that path.
If your data is in a format that is not listed, you can write your own feature source.
Vector Formats¶
| Format | Feature source | Classic layer |
|---|---|---|
| Shapefile | ShapeFileFeatureSource | ShapeFileFeatureLayer |
| MapInfo TAB | TabFeatureSource | TabFeatureLayer |
| GeoJSON files and text | GeoJsonFeatureSource | |
| CSV and other delimited text, with X/Y or WKT columns | DelimitedFeatureSource | DelimitedFeatureLayer |
| GPX | GpxFeatureSource | GpxFeatureLayer |
| ThinkGeo TinyGeo | TinyGeoFeatureSource | TinyGeoFeatureLayer |
| SQLite | SqliteFeatureSource | SqliteFeatureLayer |
Raster Formats¶
| Format | Raster source | Classic layer |
|---|---|---|
| GeoTIFF | GeoTiffRasterSource | GeoTiffRasterLayer |
| BMP, PNG, JPEG, GIF and TIFF with a world file | SkiaRasterSource | SkiaRasterLayer |
Tiles¶
Tiles come from a web service or a local archive; ThinkGeo Cloud, the basemap in the quick start, is one such service. The first column is the class a style document uses, the second the classic overlay or layer.
| Source | Style document | Classic |
|---|---|---|
| ThinkGeo Cloud vector tiles | ThinkGeoVectorTileSource | ThinkGeoVectorTileOverlay |
| ThinkGeo Cloud raster tiles | ThinkGeoRasterTileSource | ThinkGeoRasterOverlay |
| Any style.json, TileJSON or XYZ vector tile service (MVT) | VectorTileSource | MvtTilesAsyncLayer |
| Any XYZ raster tile service | XyzRasterTileSource | |
| OpenStreetMap | OpenStreetMapRasterTileSource | OpenStreetMapsOverlay |
| WMTS | WmtsRasterTileSource | WmtsOverlay |
| WMS | WmsRasterTileSource | WmsOverlay |
| MBTiles, vector and raster | MbTilesVectorTileSource, MbTilesRasterTileSource | VectorMbTilesAsyncLayer, RasterMbTilesAsyncLayer |
| PMTiles, vector and raster | PmTilesVectorTileSource, PmTilesRasterTileSource | VectorPmTilesAsyncLayer, RasterPmTilesAsyncLayer |
| ThinkGeo TgTiles | TgTilesVectorTileSource | |
| Terrain tiles (Terrain-RGB, Terrarium) | RasterDemSource | |
| Google Maps (Map Tiles API) | GoogleMapTilesOverlay | |
| Your own feature sources, cut into tiles as the map draws | FeatureSourceVectorTileSource |
Google Maps needs Google's key and is subject to its terms.
Web Feature Services¶
| Service | Class |
|---|---|
| WFS | WfsV2ProgressiveFeatureLayer |
| OGC API - Features | OgcApiProgressiveFeatureLayer |
| NOAA weather stations and weather warnings | NoaaWeatherStationFeatureLayer, NoaaWeatherWarningsFeatureLayer |
These fetch features as the map moves, so they are classic layers rather than feature sources.