Hello, First thanks a lot for making GeoTools. It is an excellent piece of software, which is saving me a lot of time. I have been able to superimpose country boundaries from a shapefile on top of NASA's Blue Marble Next Gen very high-res map in a matter of minutes !
Now to my question: I got a shapefile of country boundaries which is quite detailed (actually it is the one pointed at in the introduction of the user guide). I draw those boundaries on top of NASA's BMNG world map, which it itself quite big (86400x43200) pixels. I navigate in this map through a zoomable user interface. Creating tiles of increasing resolution from NASA's bitmaps was easy. But I'd like to be able to do something similar with the polygons contained in the shapefile. In other words, I'd like to be able to draw less detailed polygons from the same data in that shapefile; simply to reduce the number of segments, in order to have better drawing performance. I can of course do it in a "dumb" way, only taking one vertex every N for each polygon, but this might skip some essential vertices and significantly change the polygon's aspect. So, I was wondering if there were facilities to do that, or if people rely on different shapefiles used at different scales? Sorry if this is obvious. I am not very familiar with GIS and shapefiles more specifically, and I could not find anything on the Web about this. Thanks, Emmanuel -- View this message in context: http://www.nabble.com/Multiscale-shapefile-tf4931360.html#a14114655 Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
