I mean, all the filtering and calculations could be done in my SVG
Renderer in Geoserver but I think it would be much faster within
the database.
Agreed... but getting GeoServer to serve that out will be tricky...
I am afraid you are right. I saw that Andrea is one of the geotools
postig classes devoloper. Maybe he has an idea?
am I right that until
Query bboxQuery = new DefaultQuery(schema.getTypeName(), bboxFilter);
Query definitionQuery = layer.getQuery();
DefaultQuery finalQuery = new
DefaultQuery(DataUtilities.mixQueries(definitionQuery, bboxQuery,
"svgEncoder"));
finalQuery.setHints(definitionQuery.getHints());
finalQuery.setSortBy(definitionQuery.getSortBy());
finalQuery.setStartIndex(definitionQuery.getStartIndex());
featureReader = fSource.getFeatures(finalQuery).features();
until the last line is executed in my SVGRenderer or in any other
Renderer the database is not queried?
Wouldn't it be useful (i am asking in general) if a PostGIS would
somehow also promote functions that have a geometry column, just like
having a geometry_column table you would have a geometry_funcion table
which also includes the desired paramters...if any? Just an idea from
a total newbie to all this...
Thanks
ivo
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel