[Geoprisma-users] Does Geoprisma proxy works with generic WMS client/server ?

Alexandre Dube adube at mapgears.com
Tue Jun 21 13:17:39 EDT 2011


Hi,

   You could also change the onlineresource of your layer in order to 
point to your proxy url (with the osmresource and osmservice parameters 
set).

Regards,

Alexandre


On 11-06-21 12:39 PM, Julien-Samuel Lacroix wrote:
> Hi,
>
> The proxy currently does not play with the Capabilities. It should 
> indeed modify the online resource and probably filter out the layer 
> you don't have access to.
>
> You can look in the following file. That's where the call to the WMS 
> server is done.
> geoprisma/src/server/core/org/geoprisma/proxy/wms/WMSProxy.php
>
> Patch welcome.
>
> Julien
>
> On 11-06-21 12:19 PM, Niccolo Rigacci wrote:
>> Hi to all,
>>
>> I'm moving my first steps with Geoprisma; my goal is to use the
>> Geoprisma proxy to add ACL into a standard interaction between
>> WMS client/server (e.g. QGIS/QGIS-Mapserver).
>>
>> I managed to setup the proxy so it responds to a GetCapabilities
>> query:
>>
>> http://../proxy.php?osmservice=S_MYDEMO&osmresource[]=R_MYDEMO&username=admin&password=demo&SERVICE=WMS&REQUEST=GetCapabilities 
>>
>>
>>> From the proxy I was expecting a different response upon the
>> original WMS GetCapabilities: at least the OnlineResource should
>> be changed, pointing to the proxy.php itself.
>>
>> The GetCapabilities is passed unaltered instead.
>>
>> Am I trying to force Geoprisma proxy beyond its intended use?
>>
>


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Geoprisma-users mailing list