[mapserver-users] Mapcache seeder question

Matej Mailing mailing at tam.si
Wed Jul 24 01:58:03 PDT 2019


Hello,
I have found out an interesting 'issue'.
If I execute mapcache with
mapcache_seed -c /mapcache.xml -t dof025 -g SLOGRID -n 1 -e
533124,86639,544462,103589 -z 1,5, it works (!), but if I change the
parameters order to

mapcache_seed -c /etc/mapserver/mapcache.xml -t dof025 -g SLOGRID -n 1
-z 1,5 -e 533124,86639,544462,103589, it doesn't.
Basically I have found out that -z has to be defined after the extent
to make it work.

This might be a bug, can someone confirm please?
Thanks,
Matej

V V tor., 16. jul. 2019 ob 11:24 je oseba Matej Mailing
<mailing at tam.si> napisala:
>
> Yes, it works and the cache directory size is increasing.
>
> V V pon., 8. jul. 2019 ob 17:29 je oseba Lime, Steve D (MNIT)
> <steve.lime at state.mn.us> napisala:
> >
> > And regular tile generation (no seeding) works ok?
> >
> > -----Original Message-----
> > From: Matej Mailing [mailto:mailing at tam.si]
> > Sent: Monday, July 08, 2019 12:26 AM
> > To: Lime, Steve D (MNIT) <steve.lime at state.mn.us>; mapserver-users at lists.osgeo.org
> > Subject: Re: [mapserver-users] Mapcache seeder question
> >
> > This message may be from an external email source.
> > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.
> >
> >
> >
> > Hello Steve,
> >
> > thanks for answering. I have changed the extent definition in grid
> > declaration, but I still get the "0 tiles needed to be seeded,
> > exiting" message back from mapcache_seed.
> >
> > Any ideas will be appreciated.
> >
> > Thanks,
> > Matej
> >
> > V V pet., 5. jul. 2019 ob 23:00 je oseba Lime, Steve D (MNIT)
> > <steve.lime at state.mn.us> napisala:
> > >
> > > I believe the <extent></extent> in your grid should be space delimited - no commas. At least that's how I have things setup, for example...
> > >
> > > <grid name="mn_utm">
> > >     <metadata>
> > >       <title>Standard Minnesota UTM Grid</title>
> > >     </metadata>
> > >     <extent>105000 4785000 809000 5489000</extent>
> > >     <srs>epsg:26915</srs>
> > >     <size>256 256</size>
> > >     <resolutions>5500 2750 1375 687.5 343.75 171.875 85.9375 42.96875 21.484375 10.7421875 5.37109375 2.685546875 1.3427734375</resolutions>
> > >   </grid>
> > >
> > > --Steve
> > >
> > > -----Original Message-----
> > > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing
> > > Sent: Thursday, July 04, 2019 10:35 AM
> > > To: mapserver-users at lists.osgeo.org
> > > Subject: [mapserver-users] Mapcache seeder question
> > >
> > > This message may be from an external email source.
> > > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.
> > >
> > >
> > >
> > > Hello,
> > > I am having issues with running Mapcache Seeder with extent options.
> > > My grid is defined like:
> > >   <grid name="SLOGRID">
> > >     <size>256 256</size>
> > >     <extent>373233,31868 625985,194134</extent>
> > >     <srs>EPSG:3912</srs>
> > >     <units>m</units>
> > >     <resolutions>180000 90000 45000 22500 11250 5000 2500 1250 600 300
> > > 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06</resolutions>
> > >    </grid>
> > >
> > > and when I try to run seeder with:
> > > mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e
> > > 533124,86639,544462,103589
> > >
> > > I get an output 0 tiles needed to be seeded, exiting, which is
> > > certainly not true since plenty of those do not exist in the cache
> > > directory.
> > >
> > > What am I missing?
> > >
> > > Thanks,
> > > Matej
> > > _______________________________________________
> > > mapserver-users mailing list
> > > mapserver-users at lists.osgeo.org
> > > https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C202cd663129445fe4f3908d70364db3a%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636981604044024635&sdata=H7Hfyb9kyJueMQ%2Bh9puMB4C1WyTzrI3I8RzeFqvLXVI%3D&reserved=0


More information about the mapserver-users mailing list