WebMapTiler

Creates series of raster tiles for use in web mapping applications such as Bing™ Maps, Google Maps™, or Web Map Tile Service. Tiles are produced at varying zoom levels, size, and resolution.

Jump to Configuration

典型用途

  • 准备用于web地图应用程序的光栅数据

How does it work?

The WebMapTiler accepts raster features, and "pyramids" them - resampling and tiling them as necessary to produce a set of raster tiles appropriate for different zoom levels as required by various web mapping tile schemes.

The minimum and maximum zoom level may be specified, or left unset to produce the minimum and maximum level supported by the resolution and size of the input raster(s).

可能会为某些项目指定瓷砖尺寸平铺方案. 在重采样期间,可以使用各种方法来插值像素值。

属性可以添加到输出平铺中,以记录缩放级别、平铺位置、原始光栅索引、生成的平铺数量和四键(用于基于四叉树的平铺方案)。

此转换器不受光栅标注栏和/或调色板选择的影响。

平铺方案

Reference

方案

Used for

Projection*

Tile Size

Zoom Levels

谷歌地图兼容 Google Maps, Bing Maps, Web Map Tile Service, and ArcGIS. EPSG:3857(球形墨卡托) 256x256像素 0到23

At level 0, the entire world is represented by a 256x256 pixel tile. Each level increases the number of rows and columns by a factor of two: level 1 is 512x512, level 2 is 1024x1024, and so on. The number of tiles is increased accordingly - 1 tile, 4 tiles, 16 tiles, and so on.

GoogleCRS84Quad Web地图平铺服务 第84页 256x256像素 0到18

At level 0, the entire world is represented by a 256x256 pixel tile (where the first and last 64 rows of the tile are blank). Each level increases the number of rows and columns by a factor of two: level 1 is 512x512, level 2 is 1024x1024, and so on.

GLOBALCRS844标度 Web地图平铺服务 第84页 user-defined 0到20

Spacing is defined in degrees for each level.

GLOBALCRS84像素 第84页 user-defined 0到17

此方案为每个标高定义了以度为单位的间距,如下所示:

*不在所需投影中的输入光栅将在进行平铺之前由变压器重新投影。

Usage Notes

  • 若要使用缩放级别和位置(这些缩放级别和位置与这些web映射平铺方案之一无关)对光栅重新采样,请考虑使用雷斯特金字塔.

  • Attributes can be used for output file naming - for example the output feature type name can be set to the Quadkey attribute value.
  • Generally, when writing out the rasters generated by this transformer, one would set the destination feature type name to be the quadkey value for Bing Maps or a combination of the zoom level, tile column, and tile row for Google Maps. The PNGRASTER writer is recommended for the best results.
  • For best performance, rasters output by this transformer should be written in the order they are output. Changing the order (for example, by using Dataset Fanout or a Sorter transformer) may negatively impact performance. Alternatively, use a雷斯特检查器after the WebMapTiler, but prior to the operation that changes the order.
  • 当磁贴包含原始光栅覆盖范围以外的区域时,可以向磁贴添加一个alpha带来标识这些区域。如果不需要此带,可使用RasterInterpretationCoercertransformer.

选择光栅变压器

FME has an extensive selection of transformers for working with raster data. They can be generally categorized as working with whole rasters, bands, cells or palettes, and those designed for workflow control or combing raster with vector data.

有关光栅几何和属性的信息,seeRasters (IFMERaster).

配置

Input Ports

Output Ports

参数

Editing Transformer Parameters

使用一组菜单选项,可以通过引用工作空间中的其他元素来指定转换器参数。更高级的功能,如高级编辑器和算术编辑器,也可以在一些变压器。要访问这些选项的菜单,请单击在适用参数旁边。有关详细信息,请参阅Transformer Parameter Menu Options.

Defining Values

有几种方法可以定义要在转换器中使用的值。最简单的方法是简单地键入一个值或字符串,其中可以包括各种类型的函数,如属性引用、数学和字符串函数以及工作区参数。有许多工具和快捷方式可以帮助构造值,通常可以从值字段旁边的下拉式关联菜单中获得。

Reference

Processing Behavior

基于特征

特征保持

依赖关系 不ne
FME许可级别 FME专业版及以上
别名 VirtualEarthTiler
历史 This transformer was previously named the VirtualEarthTiler.
类别

制图和报告

特定格式

Rasters

Web

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

搜索关于WebMapTiler的所有结果关于FME社区。亚搏国际在线官网

Examples may contain information licensed under the Open Government Licence – Vancouver