You're right, of course, I was relying on the way the fields were displayed in 
the OpenLayers preview, which is to show them in all-caps despite their being 
all-lowercase in the original table.

It works just perfectly, now.  Does it matter where in the request that I put 
the &CQL_FILTER parameters?

Thanks as usual,
Elijah

----- Original Message -----
From: "Andrea Aime" <[email protected]>
To: "Elijah Meeks" <[email protected]>
Cc: "William Temperley" <[email protected]>, "geoserver-users" 
<[email protected]>
Sent: Monday, July 18, 2011 12:59:46 PM
Subject: Re: [Geoserver-users] Query Layers with Variables

On Mon, Jul 18, 2011 at 8:44 PM, Elijah Meeks <[email protected]> wrote:
> I was under the impression that CQL only ran with KML requests.  When I try 
> to add &CQL_FILTER=OWNER_ID+BETWEEN+1000+AND+2000 to my openlayers request I 
> get:
>
> code="internalError"Rendering process failed
> property "OWNER_ID" could not be found in View2

CQL filters work with any kind of WMS request. The error message
should be clear enough, there is no OWNER_ID property
in View2. Maybe there is a "owner_id" or a "Owner_id", all type and
attribute names are case sensitive in the
OGC world

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to