[Geomoose-users] refresh layer

Brent Fraser bfraser at geoanalytic.com
Wed Apr 29 14:58:54 PDT 2015


Jim,

   Thanks!  Looks similar to what I was thinking, but I was planning to 
just change the coordinates of markers if the "fid" matched to eliminate 
"flicker" as the markers were removed and then added.  Did you see any 
flicker in your implementation?

Thanks again.

Best Regards,
Brent Fraser

On 4/29/2015 2:52 PM, Jim Klassen wrote:
> I've been playing around with something like this on and off.
>
> I haven't tested this code recently, but here is an example of an
> extension that creates a vector layer and keeps it updated based on a
> GeoJSON feed from the web server.  I have a newer version, but it is
> very specific to one project and would need some effort to make it more
> general.
>
> https://github.com/klassenjs/geomoose-js/blob/live-data-extension/extensions/LiveData.js
>
> On 04/26/2015 10:04 AM, Brent Fraser wrote:
>> Hello GeoMoosers,
>>
>> I might be interested in a GeoMoose Refresh Layer as well.
>>
>> I've been doing a little experimenting with phone tracking app:
>>      https://www.websmithing.com/gps-tracker/
>>
>> , a tracking system composed of:
>>      - a smart phone ( android,windows,ios,etc) position (and other
>> values) reporting app
>>      - a little server-side PHP code for receiving (and reporting) the
>> positions
>>      - a database (currently SQL Server or MySQL, with Postgres and
>> SQLite to come) to store the data
>>      - some Leaflet-based Javascript for display
>>
>> And while I could render an image of the positions directly from the
>> database using mapserver (and ogr), I was thinking that a geojson (or
>> WFS-T?) feed might be a better solution.  It might lead to something
>> like:
>>
>> https://www.mapbox.com/mapbox.js/example/v1.0.0/rotating-controlling-marker/
>>
>>
>> within GeoMoose.
>>
>> Thoughts?
>>
>> Best Regards,
>> Brent Fraser
>>
>> On 2/5/2015 8:37 AM, Dan Little wrote:
>>> That is *exactly* what Bobb and Jim are working on, maybe they can
>>> share a little bit of code?
>>>
>>> On Mon, Jan 12, 2015 at 4:55 AM, Richard Camejo <rfcamejo at gmail.com>
>>> wrote:
>>>> Dan,
>>>> in particular we are using GeoMOOSE to display a GIS for the port of
>>>> Montevideo, Uruguay.
>>>> One of the layers shown is the movement of ships in the harbor area, it
>>>> would be nice to automatically refresh the layer of boats to see the
>>>> movement of ships.
>>>>
>>>> Thank You.
>>>>
>>>> 2015-01-11 15:00 GMT-02:00 Dan Little <theduckylittle at gmail.com>:
>>>>
>>>>> Richard,
>>>>>
>>>>> We just dropped the tool from the UI a while ago. Feedback form many
>>>>> users is that it was confusing and mostly unnecessary. It was mostly
>>>>> designed for doing debugging  demo layers when we were doing
>>>>> development.
>>>>>
>>>>> What's your specific problem? I know Bobb and JimK have layers that do
>>>>> tracking and they've written extensions to do automatically refreshing
>>>>> layers.
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Jan 10, 2015 at 8:56 AM, Richard Camejo <rfcamejo at gmail.com>
>>>>> wrote:
>>>>>> Hi, I have seen that the possibility of refresh GeoMOOSE layer is
>>>>>> deprecated
>>>>>> in 2.6.1.
>>>>>> Anybody know any alternatives, or there is the possibility of
>>>>>> automatically
>>>>>> refreshing layer in 2.6.1
>>>>>> Thanks, greetings ...
>>>>>>
>>>>>> Richard.
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Geomoose-users mailing list
>>>>>> Geomoose-users at lists.osgeo.org
>>>>>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>>> _______________________________________________
>>> Geomoose-users mailing list
>>> Geomoose-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>>>
>>
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>




More information about the Geomoose-users mailing list