Wednesday, May 29, 2013

[Rails] OpenLayers and Rails: how to set up a ProxyHost?

Dear all,

I'm using OpenLayers (and GeoExt) to embed an interactive map in a rails
application. Things work pretty well with WMS requests, but now I'd need
to implement a GetFeatureInfo feature. This requires the XMLHTTPRequest
object, through which requests to remote servers are not allowed. Read
the details here:

http://trac.osgeo.org/openlayers/wiki/F … #ProxyHost

Usually, this limitation is worked around with the set up of a cgi
script in the web server that works as proxy. The question then is how
can this made with Rails? Can somehow Rails run a cgi? Or somehow make a
view work as a proxy?

Thank you,

Luís

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/429e88c9e44809c28e9df646805c2d3e%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate