[mapguide-users] White tiles at z = 0
Gunter Becker
gunter.becker at csoinfo.de
Thu Mar 30 07:47:55 PDT 2023
Hi Jackie,
so, I have to correct myself. The tiles aren’t white but transparent.
Here is an example of a request at z=0:
https://stadtplan.badoeynhausen.de/mapguide4.0/mapagent/mapagent.fcgi?USERNAME=Anonymous&OPERATION=GETTILEIMAGE&VERSION=1.2.0&CLIENTAGENT=OpenLayers&MAPDEFINITION=Library%3A%2F%2FBOGIS%2FKarten%2FRaster%2FBasiskarte%2FBasemap_farbig.TileSetDefinition&BASEMAPLAYERGROUPNAME=Basemap_farbig&TILECOL=31729&TILEROW=49461&SCALEINDEX=0
and a request with z=1:
https://stadtplan.badoeynhausen.de/mapguide4.0/mapagent/mapagent.fcgi?USERNAME=Anonymous&OPERATION=GETTILEIMAGE&VERSION=1.2.0&CLIENTAGENT=OpenLayers&MAPDEFINITION=Library://BOGIS/Karten/Raster/Basiskarte/Basemap_farbig.TileSetDefinition&BASEMAPLAYERGROUPNAME=Basemap_farbig&TILECOL=12693&TILEROW=19784&SCALEINDEX=1
Or you can see it here in our OpenLayers-Viewer:
https://stadtplan.badoeynhausen.de/Viewer?Map=90ebac7f-bbd0-4e6b-98d8-2e5985d0bfd1
Just zoom in to 1:100 (z=0).
I have filed an additional MapGuide Package to the ticket that includes vector data (SDF) and MapDefinitions with inline tiles.
All MapDefinitions produce incorrect tiles at z=0. I double checked this on MapGuide Server 3.1.2.
Thanks, Gunter
Von: mapguide-users <mapguide-users-bounces at lists.osgeo.org> Im Auftrag von Jackie Ng
Gesendet: Donnerstag, 30. März 2023 10:56
An: mapguide-users at lists.osgeo.org
Betreff: Re: [mapguide-users] White tiles at z = 0
Hi Gunter,
Do you have an example GETTILE url that reproduces the white or colored tile?
Secondly, if you "inlined" the TileSetDefinition scales and groups/layers back into the MapDefinition itself (ie. Setup this MapDef with tiled layers/scales exactly how you would before the introduction of tileset defns in MGOS 3.0) and tried to issue a GETTILE request against this "legacy" map def with the same ROW/COL/SCALE parameters, do you get the same white or colored tile?
Finally, you say this produces white tiles for vector data, but colored tiles for raster data. Could you provide an example vector dataset that demonstrates the white tile problem along with an example GETTILE url?
- Jackie
You wrote:
I opened a new ticket: https://trac.osgeo.org/mapguide/ticket/2863
Gunter
Von: mapguide-users <mapguide-users-bounces at lists.osgeo.org<https://lists.osgeo.org/mailman/listinfo/mapguide-users>> Im Auftrag von Gunter Becker
Gesendet: Freitag, 3. März 2023 11:50
An: MapGuide Users Mail List <mapguide-users at lists.osgeo.org<https://lists.osgeo.org/mailman/listinfo/mapguide-users>>
Betreff: Re: [mapguide-users] White tiles at z = 0
Additionally, I found that when you include a RasterLayerDefinition in the TileSetDefinition, the tiles are no longer white, but a mix of colors.
Seems like a bug to me
Von: mapguide-users <mapguide-users-bounces at lists.osgeo.org<https://lists.osgeo.org/mailman/listinfo/mapguide-users><mailto:mapguide-users-bounces at lists.osgeo.org<https://lists.osgeo.org/mailman/listinfo/mapguide-users>>> Im Auftrag von Gunter Becker
Gesendet: Freitag, 3. März 2023 10:42
An: mapguide-users at lists.osgeo.org<https://lists.osgeo.org/mailman/listinfo/mapguide-users><mailto:mapguide-users at lists.osgeo.org<https://lists.osgeo.org/mailman/listinfo/mapguide-users>>
Betreff: [mapguide-users] White tiles at z = 0
Hi,
In our application I use a MapDefinition with an external TileSetDefinition of the type "Default Tile Provider". We access this MapDefinition in our OpenLayers frontend from a map that is set to a local coordinate system (EPSG:25832). In the TileSetDefinition I have defined this CoordinateSystem and the scales in which I want the tiles to be created:
500000,250000,100000,50000,25000,10000,5000,2500,1000,500,250,100
With MapGuide version 3.1.2 everything works as expected.
However, it turned out that in the latest beta version of MapGuide 4 at a scale of 1:100 (TileCoordinate z = 0) only white tiles are created.
All the other Scales are correct.
I tested this by using the MapGuide package that I created under 3.1.2 and then loading it into MapGuide 4 Preview 4. So, it is exactly the same configuration.
Maybe someone else has an idea what I could try. Otherwise I would open a ticket.
Thanks,
Gunter
--
Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message appear on nabble's view of any OSGeo mailing list and may only see this message through mailing list archives or depending on your mailing list subscription settings, through daily message digests or automated notifications from the mailing lists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230330/ccebfdcf/attachment.htm>
More information about the mapguide-users
mailing list