[mapguide-users] mgTileSeeder Zoom Levels

GordonL gordon.luckett at arrowgeomatics.com
Wed Jan 13 02:31:27 PST 2021


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


More information about the mapguide-users mailing list