On Mon, Sep 17, 2012 at 4:31 PM, Justin Deoliveira <[email protected]>wrote:
> Not much to add but just some general feedback that i would vote for
> keeping things simple rather than bending over backward to support
> something in the spec that we don't feel makes much sense.
>
> Would having the CatalogStore advertise its capabilities in terms of what
> it can output help? Or do we already have that?
>
We don't have it, but we definitely could add it. The thing is, querying in
one form and returning in the other
is allowed, and sometimes is unfortunately necessary.
For example, if I want to make a full text search the only way I know is to
query csw:Record and do a like
on csw:AnyText, regardless of the kind of record I want to return (not sure
about ISO, but I'm not aware
of any way to make a full text search against ebRim records for example).
>
> Regarding the api changes unfortunately i haven't kept enough to know that
> they really mean and my questions at this point are still to basic. What
> does the Query.getPropertyNames() actually refer to? The metadata fields of
> the source records?
>
Right, that was part of my dillema. getPropertyNames() is not used for
filtering, it's definitely part of the output
management, it defines what attributes we return, so it should be referring
to the output schema, not the
queried one.
That's why I was tempted to make it explicitly separated from Query itself:
FeatureCollection getRecords(Query q, List<PropertyName> targetProperties,
FeaureType targetSchema, Transaction t) throws IOException;
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel