I finally succeeded to import a gtfs-realtime feed into ArcGIS Server (used gtfsrdb.py and the created a script to automatically, every 30 seconds, to update the geometry of a table with the points). It's working ok.

I imported my map service into an OpenLayers map. It's working too, except that I'd like my ArcGIS93Rest layer to redraw every 30 seconds as well.

For now, I have to change zoom level to see the new tile with the new position.

I tried OpenLayers.Strategy.Refresh, but either it's not working with Rest layers or I got it wrong...

var realtime = new OpenLayers.Layer.ArcGIS93Rest(
  "Temps réel",
     {transparent: "true", format: "image/png"},
     {isBaseLayer: false, singleTile: true, visibility: true, format: "image/png"},
     {strategies : [new OpenLayers.Strategy.Refresh({interval: 10000, force: true})]}

1 Answer 1


Looks like OpenLayers strategies are only available for Vector type Layers, and not ArcGIS93Rest type Layers.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.