|
From: Cameron S. <csh...@bi...> - 2002-09-27 21:14:05
|
I'm looking at refactoring Extent and have noticed that DataSource does not seem to have a get/setCoordinateSystem. From a MapViewer, how can you mix DataSources with different Status: O CoordinateSystems? I assume we need an extra method in DataSource. Either: dataSource.getFeatues(Envelope, DataSource) or cs=dataSource.getCoordinateSystem(); newEnvelope=cs.translateTo(coordSystemID); dataSource.getFeatures(newEnvelope); ----- Another issue. There is an interface DataSource, but not a DefaultDataSource which is extended by all other DataSources. A DefaultDataSource would be very useful so that I could just add a new method: dataSource.getFeatures(Envelope); and DataSource.getFeatures(Filter,CoordinateSystem); What do others think? ---- On another note, I'm on holidays for a week. I'll be travelling around with my laptop and intend to check emails occasionally, but may be a bit slow to respond. I hope to be at the next IRC meeting. -- Cameron Shorter http://cameron.shorter.net Open Source Developer http://mapbuilder.sourceforge.net Senior Software Engineer http://www.adi-limited.com/ |