Hello.
Yes. It does work with the original srs(the one the data is in - i can
even set a cql filter in layer preview on geoserver and it does work)
My base layer ( on openlayers) and data layer (on geoserver) are indeed
diferent projections.
Also the full request, with no cql_filtet, also works.
Only after I set cql_filter (with the same parameters) it does not work.
Regards
On Monday, January 22, 2018, Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi> wrote:
> Hi,
>
> Does it work with that CQL filter and some other SRS? Based on your title
> that mentions different projection it feels it does but you do not show
> such request.
> BTW. srsName is nonsense with WMS but it is just skipped so it does not
> make harm either.
>
> -Jukka Rahkonen-
> ------------------------------
> Lähettäjä: Filipe Silva <filipesil...@gmail.com>
> Lähetetty: 22.1.2018 21:34
> Vastaanottaja: Andrea Aime <andrea.a...@geo-solutions.it>
> Kopio: geoserver-users <geoserver-users@lists.sourceforge.net>
> Aihe: Re: [Geoserver-users] WMS Request with cql_filter on diferent
> projection
>
> hello.
>
> this is the one without filter, wich it works.
> https://mygeo.azurewebsites.net/geoserver/wms?SERVICE=WMS&
> VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&STYLES=&
> LAYERS=esp%3ALinhas&srsname=EPSG%3A3857&tiled=false&
> FORMAT_OPTIONS=antialias%3ANONE%3B&BBOX=-844292.3123233459%2C4632320.
> 4541121265%2C-837178.8913785567%2C4635564.250499978&SRS=EPSG%3A3857&
> WIDTH=1489&HEIGHT=679
>
> this is the one with cql_filter, wich it doesn't work.
> https://mygeo.azurewebsites.net/geoserver/wms?SERVICE=WMS&
> VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&STYLES=&
> LAYERS=esp%3ALinhas&srsname=EPSG%3A3857&tiled=false&
> FORMAT_OPTIONS=antialias%3ANONE%3B&BBOX=-841329.4970662479%2C4634076.
> 268872376%2C-841001.6538746186%2C4634315.73175005&
> SRS=EPSG%3A3857&CQL_FILTER=Code%3D%27T02A%27&WIDTH=549&HEIGHT=401
>
> Thanks
>
>
>
> On Mon, Jan 22, 2018 at 7:20 PM, Andrea Aime <andrea.a...@geo-solutions.it
> > wrote:
>
>> Hi Felipe,
>> could you please share the various actual requests?
>>
>> Cheers
>> Andrea
>>
>>
>> On Mon, Jan 22, 2018 at 8:11 PM, Filipe Silva <filipesil...@gmail.com>
>> wrote:
>>
>>> hello.
>>>
>>> I have a layer on geoserver with data on EPSG:3763.
>>> Im accessing it with openlayers on a WMS request on wich the base layer
>>> is in EPSG:3857.
>>> ive already included the proj4 3763 on openlayers.
>>>
>>> Now, if make a simple wms request with params:
>>> &SRS=EPSG%3A3857&srsname=EPSG%3A3857
>>> and a BBOX with coordinates on 3857
>>> all goes right and i get the data.
>>>
>>> when i add a cql_filter on the data with the same params as before,
>>> nothing is shown.
>>>
>>> is this the correct behavior?
>>>
>>> Regards
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-req
>>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>> --
>>
>> Regards,
>>
>> Andrea Aime
>>
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>>
>> Ing. Andrea Aime
>> @geowolf
>> Technical Lead
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> 55054 Massarosa
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> (LU)
>> phone: +39 0584 962313 <+39%200584%20962313>
>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>> mob: +39 339 8844549 <+39%20339%20884%204549>
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>
>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>> principi dettati dal D.Lgs. 196/2003.
>>
>> The information in this message and/or attachments, is intended solely
>> for the attention and use of the named addressee(s) and may be confidential
>> or proprietary in nature or covered by the provisions of privacy act
>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>> copying, distribution, or either dissemination, either whole or partial, is
>> strictly forbidden except previous formal approval of the named
>> addressee(s). If you are not the intended recipient, please contact
>> immediately the sender by telephone, fax or e-mail and delete the
>> information in this message that has been received in error. The sender
>> does not give any warranty or accept liability as the content, accuracy or
>> completeness of sent messages and accepts no responsibility for changes
>> made after they were sent or for other risks which arise as a result of
>> e-mail transmission, viruses, etc.
>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users