Hi Steve, about images. You have to prepare your tiles and image pyramids (zoom levels) in advance. This is described in the tutorials and the docu. After you have set up things correctly, your programming api is an image reader object.
You pass in your pixel dimension and the region in world coords and get back the image, correctly composed from tiles and zoomed to the right level, Using the reader object is simple, the work is the setup. And yes, you can move around and drag the map. About vector data. You can display vector data drawn on the map, the client gets an image composed of raster data and vector data. A second possibility is to deliver the vector data to the client and the client is responsible of drawing. Both things are possible. For performance reasons, I would recommend you to use a data base with a spatial extension. Free and downloadable are PostGis (full OpenGIS functionality) DB2 Express with Spatial Extender (PostGis (full OpenGIS functionality) OracleXE (with limited functionality) MySQL (with limited functionality) Put your vector data into a database (in WKB format !), and if you like, you can do the same with your raster data. Give your cpu a chance and transform your image in a format using a color table (www.gdal.org is your friend) and store the image data in a compressed format. What you want to do is nothing special, but you have to spend some time to get results. swebb99 writes: > > Hi Christian, > > Thank you very much for the reply. I will have a read through the sections > you pointed out. What I'm trying to do with the vector data is load OS > MasterMap data into the server which is in GML format using OSGB36 > coordinate system and then display area's of the map via Geotools. As with > the raster layers I want the user to be able to move around the map by > dragging it around. > > Would I be right in thinking that once the raster tiles are loaded in to the > database that individual tiles can be requested by geotools as the map is > dragged around by the user, or is a single image for the whole area viewed > requested from the server. > > Sorry for the basis questions again. > > Thanks > > Steve > -- > View this message in context: > http://n2.nabble.com/GeoTools-Questions-tp4663110p4666237.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
