Below the log on geoserver.
the only diferences are the CQL_Filter and the BBOX.
am i missing something?
regards
This one works!
2018-01-23 11:52:27,429 INFO [geoserver.wms] -
Request: getMap
Angle = 0.0
BaseUrl = http://mygeo.azurewebsites.net:80/geoserver/
Bbox = SRSEnvelope[-845204.7793485002 : -836266.4243534025,
4631806.892828335 : 4636077.811783769]
BgColor = java.awt.Color[r=255,g=255,b=255]
Buffer = 0
CQLFilter = null
Crs = PROJCS["WGS 84 / Pseudo-Mercator",
GEOGCS["WGS 84",
DATUM["World Geodetic System 1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]],
PROJECTION["Popular Visualisation Pseudo Mercator",
AUTHORITY["EPSG","1024"]],
PARAMETER["semi_minor", 6378137.0],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["central_meridian", 0.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["false_easting", 0.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","3857"]]
Elevation = []
Env = {}
Exceptions = SE_XML
FeatureId = null
FeatureVersion = null
Filter = null
Filters = null
Format = image/png8
FormatOptions = {=true, ANTIALIAS=NONE}
Get = true
Height = 894
Interpolations = []
Layers = [org.geoserver.wms.MapLayerInfo@4ff26060]
MaxFeatures = null
Palette = null
RawKvp = {FORMAT=image/png8, STYLES=, WIDTH=1871, HEIGHT=894,
LAYERS=esp:Linhas, TILED=false, REQUEST=GetMap, SRS=EPSG:3857,
FORMAT_OPTIONS=antialias:NONE;,
BBOX=-845204.7793485002,4631806.892828335,-836266.4243534025,4636077.811783769,
SRSNAME=EPSG:3857, VERSION=1.1.1, SERVICE=WMS, TRANSPARENT=true}
RemoteOwsType = null
RemoteOwsURL = null
Request = GetMap
RequestCharset = UTF-8
ScaleMethod = null
Sld = null
SldBody = null
SldVersion = null
SRS = EPSG:3857
StartIndex = null
StyleBody = null
StyleFormat = sld
Styles = [StyleImpl[ name=lines_SLD]]
StyleUrl = null
StyleVersion = null
Tiled = false
TilesOrigin = null
Time = []
Transparent = true
ValidateSchema = false
Version = 1.1.1
ViewParams = null
Width = 1871
this one does not work!
2018-01-23 11:53:50,404 INFO [geoserver.wms] -
Request: getMap
Angle = 0.0
BaseUrl = http://mygeo.azurewebsites.net:80/geoserver/
Bbox = SRSEnvelope[-841329.4970662479 : -841001.6538746186,
4634076.268872376 : 4634315.73175005]
BgColor = java.awt.Color[r=255,g=255,b=255]
Buffer = 0
CQLFilter = [[ Code = T02A ]]
Crs = PROJCS["WGS 84 / Pseudo-Mercator",
GEOGCS["WGS 84",
DATUM["World Geodetic System 1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]],
PROJECTION["Popular Visualisation Pseudo Mercator",
AUTHORITY["EPSG","1024"]],
PARAMETER["semi_minor", 6378137.0],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["central_meridian", 0.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["false_easting", 0.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","3857"]]
Elevation = []
Env = {}
Exceptions = SE_XML
FeatureId = null
FeatureVersion = null
Filter = [[ Code = T02A ]]
Filters = [[ Code = T02A ]]
Format = image/png8
FormatOptions = {=true, ANTIALIAS=NONE}
Get = true
Height = 401
Interpolations = []
Layers = [org.geoserver.wms.MapLayerInfo@4ff26060]
MaxFeatures = null
Palette = null
RawKvp = {FORMAT=image/png8, STYLES=, WIDTH=549, HEIGHT=401,
LAYERS=esp:Linhas, TILED=false, REQUEST=GetMap, SRS=EPSG:3857,
FORMAT_OPTIONS=antialias:NONE;,
BBOX=-841329.4970662479,4634076.268872376,-841001.6538746186,4634315.73175005,
SRSNAME=EPSG:3857, VERSION=1.1.1, SERVICE=WMS, TRANSPARENT=true,
CQL_FILTER=Code='T02A'}
RemoteOwsType = null
RemoteOwsURL = null
Request = GetMap
RequestCharset = UTF-8
ScaleMethod = null
Sld = null
SldBody = null
SldVersion = null
SRS = EPSG:3857
StartIndex = null
StyleBody = null
StyleFormat = sld
Styles = [StyleImpl[ name=lines_SLD]]
StyleUrl = null
StyleVersion = null
Tiled = false
TilesOrigin = null
Time = []
Transparent = true
ValidateSchema = false
Version = 1.1.1
ViewParams = null
Width = 549
On Mon, Jan 22, 2018 at 8:58 PM, Filipe Silva <[email protected]>
wrote:
> 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.rahkonen@
> 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 <[email protected]>
>> Lähetetty: 22.1.2018 21:34
>> Vastaanottaja: Andrea Aime <[email protected]>
>> Kopio: geoserver-users <[email protected]>
>> 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&VE
>> RSION=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&VE
>> RSION=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 <
>> [email protected]> wrote:
>>
>>> Hi Felipe,
>>> could you please share the various actual requests?
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> On Mon, Jan 22, 2018 at 8:11 PM, Filipe Silva <[email protected]>
>>> 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
>>>>
>>>>
>>>> [email protected]
>>>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users