[MStn CE U17.1] WMTS dysfunctional

Hi,

this is my contribution to (sporadic) discussions (and complains) about WMTS support quality in MicroStation and other products.

Recently, I was asked by my customer for help with WMS and WMTS in MicroStation CONNECT Edition and how such data can be printed. Because we found a lot of issues during WMTS testing, and the final decision is that there are so many disfunctions and bugs that WMTS in MicroStation cannot be used in production (especially when compared with other products), I put together a few examples, using public data sources, so anybody can repeat the testing (and it’s used as test case for Bentley support as well ;-).

A basic requirement is simple: To use WMTS in MicroStation instead of WMS, because of speed and also, because some data providers migrate their servers from WMS to WMTS.

We use typically one coordinate systems only and the systems is “just XY coordinates”, so the task should be simple: To place raster to the right position in model (it is how WMS works with no big problems). The system is S-JTSK and usually EPSG 5514 is recommended to use (in the past it was 102067, now treated as obsolete).

A summary of tests:

No EPSG set in model (no-EPSG.dgn):

EPSG xwmts file result
5514 CUZK_ZM_epsg_5514_(jtsk) map displayed, but wrong position (bug)
5514 CUZK_ZM_epsg_5514_(jtsk) moved manually to the right position nothing is displayed (bug)
4258 CUZK_ZM_epsg_4258_(etrs89_geographic2d) cannot be used without transformation
32633 CUZK_ZM_epsg_32633_(wgs84_utm33n) cannot be used without transformation

EPSG 5514 set in model (EPSG-5514.dgn):

EPSG xwmts file result
5514 CUZK_ZM_epsg_5514_(jtsk) MicroStation crashes (bug)
4258 CUZK_ZM_epsg_4258_(etrs89_geographic2d) probably correct transformation, but nothing is displayed (bug)
32633 CUZK_ZM_epsg_32633_(wgs84_utm33n) correct transformation, displayed in the right position in JTSK coordinates (lower precision than native 5514), tiles loading is not stable (result is not good, but the only usable working combination)

I also tried how the files mentioned above (no-EPSG.dgn and EPSG-5514.dgn) work when used as references. Because only map in EPSG 32633 with applied transformation to EPSG 5514 works (displayed in the right position), I tested only this combination.

  • Master file with no EPSG assigned (master-no-EPSG.dgn): Nothing displayed (but borders looks in the right position).
  • Master file with EPSG 5514 assigned (master-EPSG-5514.dgn): Map displayed (but loading of tiles again works in a strange way, not refreshed correctly, when attached to some other DGN files, not displayed at all).

The results are not good:

  • When everything is done by a user right (EPSG assigned to model, the right map selected), MicroStation crashes.
  • When EPSG is not assigned to model, map is displayed in wrong place.
  • The only way how to display the map in the right position is to select another coordinate system and apply transformation. But even then, with some files, it does not work (no WMTS data is displayed).
  • Such file cannot be used as reference without EPSG assigned in master model (in reality, there is no system assigned, because it’s XY for users and they have no reason to take care about EPSG).

Other products, like QGIS (tested myself) or Autodesk Civil 3D (told me by my customer ;-) work fine without any problem (I am not sure about AutoCAD or ArcGIS, but I do not hear any complains).

The test data is attached.

To log the found issues officially, I plan to create service ticket with link to this post also.

With regards,

  Jan

test_data.zip