first off, thanks so much guys for putting in the simplified wms/reflect.
Currently I am seeing 2 problems with it:
1) it picks a pretty small default width and height. of course it would be
easy enough to add &WIDTH=XXXX&HEIGHT=YYYYY except to do that right you
would need to know the aspect ratio, which would involve knowing the BBOX,
which defeats the whole purpose. perhaps you can make it like HTML, where
if you only specify the width or height, it uses that value but preserves
the aspect ratio?
2) wms/reflect with format=image/svg produces a tiny little globulation of
features centered in a whole bunch of whitespace. if i add in the BBOX then
it works great, but again, this defeats the purpose.
otherwise, looking good!
thanks,
mike
--
View this message in context: http://www.nabble.com/wms-reflect%2C-and--not-so-hot-for-format%3Dimage-svg-tf3590986.html#a10036072
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Mike,
It has been discussed that the reflector should use the actual bounds of
the layer. Since this value is cached there should be no performance
hit. There is an issue when the crs requested is not 4326 since that is
what we cache, we may want to throw an exception in that case, or just
use the bounds of that coordinate system.
I think allowing for only width or height and then calculating the other
based on aspect ratio is a good idea.
I have scheduled a couple of tasks for 1.5.1 for both of these.
http://jira.codehaus.org/browse/GEOS-1047
http://jira.codehaus.org/browse/GEOS-1048
-Justin
mfrumin wrote:
first off, thanks so much guys for putting in the simplified wms/reflect.
Currently I am seeing 2 problems with it:
1) it picks a pretty small default width and height. of course it would be
easy enough to add &WIDTH=XXXX&HEIGHT=YYYYY except to do that right you
would need to know the aspect ratio, which would involve knowing the BBOX,
which defeats the whole purpose. perhaps you can make it like HTML, where
if you only specify the width or height, it uses that value but preserves
the aspect ratio?
2) wms/reflect with format=image/svg produces a tiny little globulation of
features centered in a whole bunch of whitespace. if i add in the BBOX then
it works great, but again, this defeats the purpose.
otherwise, looking good!
thanks,
mike
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com