[Users] Users Digest, Vol 13, Issue 9
Ozgur Zan
ozgzan at gmail.com
Tue Feb 16 14:13:11 CET 2010
Ok, I have solved the problem. The javascript does not have the proper
rights to getinfo if it is not on the same server.
So either a proxy needs to be set-up or just installing the geo ext in the
same server as geoserver solves the problem.
BR,
Ozgur
On Tue, Feb 16, 2010 at 8:42 AM, Ozgur Zan <ozgzan at gmail.com> wrote:
> Dear Tim,
>
> Thanks for your support. I used the GetFeatureInfo example from OpenLayers
> but it did not work. The error message is that it can not find the
> "proxy.cgi". Do you know what shall we write or redirect for the value of
> "OpenLayers.ProxyHost"?
>
> BR,
> Ozgur
>
>
>
>
> On Fri, Feb 12, 2010 at 1:00 PM, <users-request at geoext.org> wrote:
>
>> Send Users mailing list submissions to
>> users at geoext.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>> or, via email, send a message with subject or body 'help' to
>> users-request at geoext.org
>>
>> You can reach the person managing the list at
>> users-owner at geoext.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: One basic question (Tim Schaub)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 11 Feb 2010 11:15:32 -0700
>> From: Tim Schaub <tschaub at opengeo.org>
>> Subject: Re: [Users] One basic question
>> To: users at geoext.org
>> Message-ID: <4B744944.4030104 at opengeo.org>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> Ozgur Zan wrote:
>> > Dear List member,
>> >
>> > I have installed Geoserver and using Geo Ext (OpenLayers, Ext Js, GWT) I
>> > design the interfaces for navigating layers in a map. I appreciate if
>> you
>> > can help me with the following basic question:
>> >
>> > - The aim is to display further information about the place where the
>> user
>> > clicks in the WMS layer. It already works in Geoserver but not in
>> GeoExt. I
>> > do not know how to fetch (which protocol, format, functions to use) data
>> > from Geoserver to Geo Ext.
>> >
>>
>> The WMS protocol defines a GetFeatureInfo method. You can issue a
>> GetFeatureInfo to get information about any number of layers based on a
>> user's click. When the response returns, you can display the server
>> generated info in a popup (for example).
>>
>> Relevant example from OpenLayers:
>> http://openlayers.org/dev/examples/getfeatureinfo-popup.html
>>
>> The WFS protocol defines a GetFeature method. You can issue a
>> GetFeature request to get feature data based on a click (bounding box or
>> other filter in a query). When the response returns, you can render any
>> features or feature attributes on the client.
>>
>> Relevant example from OpenLayers:
>> http://openlayers.org/dev/examples/getfeature-wfs.html
>>
>> The WMSGetFeatureInfo control from OpenLayers can be wrapped in a
>> GeoExt.Action if you want to add a button to an Ext toolbar:
>> http://dev.geoext.org/trunk/geoext/examples/toolbar.html
>>
>> You can also use a GeoExt.Popup to display content anchored to the map:
>> http://dev.geoext.org/trunk/geoext/examples/popup.html
>>
>> Hope that helps point you in the right direction.
>>
>> Tim
>>
>> > Thanks for your support in advance.
>> > Ozgur ZAN
>> >
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at geoext.org
>> > http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>>
>> --
>> Tim Schaub
>> OpenGeo - http://opengeo.org
>> Expert service straight from the developers.
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>>
>> End of Users Digest, Vol 13, Issue 9
>> ************************************
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100216/541a7069/attachment.htm
More information about the Users
mailing list