Perfect! I'll keep on investigating but thank you for the help...the
tracking working very nicely!
Cheers,
Ben
On Sun, 23 Jul 2017 at 08:14, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:
> Hi Ben
> yes, that's the idea. I don't have time to put toghether an example for
> this approach, but basically,
> create a parametric sql view and then pass in the params as described in
> the animator documentation:
>
> http://docs.geoserver.org/stable/en/user/data/database/sqlview.html
> http://docs.geoserver.org/stable/en/user/tutorials/animreflector.html
>
> Cheers
> Andrea
>
>
> On Sat, Jul 22, 2017 at 11:32 PM, Ben Crane <benedictacr...@gmail.com>
> wrote:
>
>> Hi Andrea,
>>
>> Perfect, got it working! :) Many thanks...I will need to compact the the
>> URL as it's comprised of 30 rows so the URL is super long. I presume we can
>> use the view_params to start at 1 and loop throughout?
>>
>> Cheers,
>> Ben
>>
>> On Sat, Jul 22, 2017 at 7:25 PM, Andrea Aime <
>> andrea.a...@geo-solutions.it> wrote:
>>
>>> Here is a simple live example derived from the documentation page, but
>>> using
>>> cql_filter instead of the bbox param to select different poligons in
>>> turn:
>>>
>>>
>>> http://demo.geo-solutions.it/geoserver/wms/animate?layers=topp:states&aparam=cql_filter&avalues=STATE_ABBR%3D%27IL%27,STATE_ABBR%3D%27FL%27,STATE_ABBR%3D%27CA%27,STATE_ABBR%3D%27TX%27&format_options=gif_loop_continously:true
>>>
>>> Reference here:
>>> http://docs.geoserver.org/stable/en/user/tutorials/animreflector.html
>>>
>>> So, in your case, figure out the CQL_FILTER that selects the right
>>> polygon/day and apply again.
>>> Or, if you want a more compact URL and your data is in a database,
>>> create a sql view with the right parameters
>>> to change the selections, and just pass the params (see the reference
>>> about using view_params nested values)
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> On Sat, Jul 22, 2017 at 2:17 PM, Ben Crane <benedictacr...@gmail.com>
>>> wrote:
>>>
>>>> Hey all,
>>>>
>>>> Sorry to push on this but hoping to have something to demo by Monday so
>>>> need to know if this is possible with animator? Or if I need to go plan B 😀
>>>>
>>>> On Fri, 21 Jul 2017 at 14:47, Ben Crane <benedictacr...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I've visited the Geoserver WMS Animator page and keen to give this a
>>>>> go but I have one question. I have a table with 10 rows of data (for each
>>>>> row the geometry is in a different place). I'd like to use the Animator
>>>>> SLD
>>>>> concept to loop through each row and redraw the polygon moving along a
>>>>> map.
>>>>> I cannot see any specific example for that in the docs (nor can I find a
>>>>> specific SLD document using it as an example) so wanted to check if it was
>>>>> possible.
>>>>>
>>>>> Effecitvely I have weather track information and I'd like the WMS to
>>>>> loop through the days of the week and showing the data moving/changing.
>>>>>
>>>>> Has anyone done this?
>>>>>
>>>>> Many thanks,
>>>>>
>>>>> Ben
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>>
>>>> Please make sure you read the following two resources before posting to
>>>> this list:
>>>> - Earning your support instead of buying it, but Ian Turton:
>>>> http://www.ianturton.com/talks/foss4g.html#/
>>>> - The GeoServer user list posting guidelines:
>>>> http://geoserver.org/comm/userlist-guidelines.html
>>>>
>>>> Geoserver-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Regards,
>>>
>>> Andrea Aime
>>>
>>> ==
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Andrea Aime
>>> @geowolf
>>> Technical Lead
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> 55054 Massarosa (LU)
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>>> mob: +39 339 8844549 <+39%20339%20884%204549>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>> The information in this message and/or attachments, is intended solely
>>> for the attention and use of the named addressee(s) and may be confidential
>>> or proprietary in nature or covered by the provisions of privacy act
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>> copying, distribution, or either dissemination, either whole or partial, is
>>> strictly forbidden except previous formal approval of the named
>>> addressee(s). If you are not the intended recipient, please contact
>>> immediately the sender by telephone, fax or e-mail and delete the
>>> information in this message that has been received in error. The sender
>>> does not give any warranty or accept liability as the content, accuracy or
>>> completeness of sent messages and accepts no responsibility for changes
>>> made after they were sent or for other risks which arise as a result of
>>> e-mail transmission, viruses, etc.
>>>
>>>
>>
>
>
> --
>
> Regards,
>
> Andrea Aime
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054 Massarosa (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users