Done (GEOS-4245). BTW, it seems openlayers ignores this (or doesn't care it's zero) once properly configured to parse GML3 with the right featureNS and featurePrefix, so I am able to use this.
Any thoughts on why the only output format that works is GML3? The problems look semi random but there are some similarities too. My test is dead simple so it should be easy for someone else to verify the other formats work for them, and if they do, I must have some kind of corrupted layer settings. Thanks, charles On Dec 3, 2010, at 3:22 PM, Andrea Aime wrote: > On Thu, Dec 2, 2010 at 6:07 PM, Charles Galpin <[email protected]> wrote: >> I was hoping I could move forward using GML3, but the output says 0 features >> despite then including them! >> >> <wfs:FeatureCollection numberOfFeatures="0" ...> >> <gml:featureMembers> >> <gml:boundedBy/> >> <myns:test_sql_view gml:id="test_sql_view.fid-7b81134_12ca359e616_db5"/> >> <myns:test_sql_view gml:id="test_sql_view.fid-7b81134_12ca359e616_db6"/> >> .. >> <gml:featureMembers> >> </wfs:FeatureCollection> >> >> I guess I'll see if I can get the openlayers gml parser to ignore the >> numberOfFeatures until I can get this sorted out > > Ah, count! Yeah, it may be a bug, I guess the sql view params may be > lost on the way to the database (a select count(*) ... where ...) > is performed to get the value of the count attribute. > > Please open a bug report on jira.codehaus.org ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
