Has anyone managed to get mgTileSeeder to get to level 20 (like OSM)?
https://wiki.openstreetmap.org/wiki/Zoom_levels -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapguide-users |
If you're having issues fetching OSM tiles it may be because public OSM I'm
pretty sure is rate-limited. - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapguide-users |
I was hoping to generate xyz tiles from my MapGuide layers up to level 20. Currently the mgTileSeeder does 0-19. On Fri, Jan 8, 2021, 2:38 AM Jackie Ng <[hidden email]> wrote: If you're having issues fetching OSM tiles it may be because public OSM I'm _______________________________________________ mapguide-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapguide-users |
Oh I see. I thought XYZ layers only went up to 19 but according to this
(https://wiki.openstreetmap.org/wiki/Zoom_levels) that is clearly not the case. Tracking the issue here: https://github.com/jumpinjackie/mapguide-maestro/issues/95 - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapguide-users |
In reply to this post by GordonL
Try this build of MgTileSeeder
https://ci.appveyor.com/api/buildjobs/lc4743i3l6c7llsn/artifacts/artifacts%2FMgTileSeeder-win-x64-6.0.0.326.zip I added 2 new optional arguments for the xyz command: --max-zoom-level (the maximum zoom level. Default is 19) --specific-zoom-levels (an array of zoom levels to walk through. Default is to walk through from 0 to 19 or custom max zoom level) - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapguide-users |
Thanks Jackie,
I get the following: Unhandled exception. System.InvalidOperationException: Sequence contains no elements at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at CommandLine.Core.InstanceBuilder.<>c__1`1.<BuildMutable>b__1_6(SpecificationProperty sp) at CommandLine.Core.ReflectionExtensions.<>c__DisplayClass6_0`1.<SetProperties>b__0(SpecificationProperty specProp) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection) at CommandLine.Core.InstanceBuilder.BuildMutable[T](Maybe`1 factory, IEnumerable`1 specPropsWithValue, List`1 setPropertyErrors) at CommandLine.Core.InstanceBuilder.<>c__DisplayClass0_0`1.<Build>b__5() at CommandLine.Core.InstanceBuilder.Build[T](Maybe`1 factory, Func`3 tokenizer, IEnumerable`1 arguments, StringComparer nameComparer, Boolean ignoreValueCase, CultureInfo parsingCulture, Boolean autoHelp, Boolean autoVersion, IEnumerable`1 nonFatalErrors) at CommandLine.Core.InstanceChooser.MatchVerb(Func`3 tokenizer, IEnumerable`1 verbs, IEnumerable`1 arguments, StringComparer nameComparer, Boolean ignoreValueCase, CultureInfo parsingCulture, Boolean autoHelp, Boolean autoVersion, IEnumerable`1 nonFatalErrors) at CommandLine.Core.InstanceChooser.<>c__DisplayClass0_0.<Choose>b__0() at CommandLine.Core.InstanceChooser.Choose(Func`3 tokenizer, IEnumerable`1 types, IEnumerable`1 arguments, StringComparer nameComparer, Boolean ignoreValueCase, CultureInfo parsingCulture, Boolean autoHelp, Boolean autoVersion, IEnumerable`1 nonFatalErrors) at CommandLine.Parser.ParseArguments(IEnumerable`1 args, Type[] types) at CommandLine.ParserExtensions.ParseArguments[T1,T2,T3,T4](Parser parser, IEnumerable`1 args) at MgTileSeeder.Program.Main(String[] args) in C:\projects\mapguide-maestro\MgTileSeeder\Program.cs:line 209 at MgTileSeeder.Program.<Main>(String[] args) with the following command: mgTileSeeder xyz --url "http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETTILEIMAGE&VERSION=1.2.0&CLIENTAGENT=OpenLayers&USERNAME=Anonymous&MAPDEFINITION=Library://Samples/Sheboygan/TileSets/SheboyganXYZ.TileSetDefinition&BASEMAPLAYERGROUPNAME=Base+Layer+Group&TILECOL={y}&TILEROW={x}&SCALEINDEX={z}" --max-zoom-level 21 --minx -87.7978 --miny 43.6868 --maxx -87.6645 --maxy 43.8037 Even if I remove the --max-zoom-level 21 thanks gordon -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapguide-users |
I messed up how --specific-zoom-levels is setup.
Try this build: https://ci.appveyor.com/api/buildjobs/xum4co5ub47il3o1/artifacts/artifacts%2FMgTileSeeder-win-x64-6.0.0.327.zip - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapguide-users |
Free forum by Nabble | Edit this page |