I want to overlay a cad drawing on a google map using geoserver. Any tips on how i can do this. Do i need to convert to cad file to a shapefile. Im presuming i do. If so what tools are available to do this?
Thanks in advance
If you're not afraid of using command-line tools, then GDAL/OGR is your friend! It is a free set of tools for manipulating raster and vector data that has become pretty much the de-facto standard. It will take Autocad DXF and Microstation DGN (and others, but those are the only CAD formats I can see in the list), and will convert them to pretty much any other format. If your dataset isn't huge (on the order of a gigabyte or so), then shapefiles will be fine; anything bigger and you should look at database formats such as PostgreSQL.
If you're not confident with command-line tools, then the free GIS application QGIS is a good place to start. It uses GDAL/OGR under the bonnet, and has lots of other GIS features as well. You'll be able to import the CAD file directly and view it to make sure it looks how you expect, then you can export it as a shapefile.
Having worked with CAD files before, remember that GIS applications like QGIS and GeoServer expect data to be georeferenced in some known projection, but CAD files often have a local coordinate system. If that is the case, moving it isn't too hard, but if you don't, you might find your data is somewhere in the Atlantic off the coast of Africa... If you need help with that, feel free to post more details.
Once you've set up your GeoServer, you can choose to export it to KML which will drop into Google Earth nicely. If you want it as raster data for other web mapping clients, then setting it up as a WMS datasource is necessary. WMS can be imported into Google Earth, but it's a little obscure. You have to create an Image Overlay, then under the "refresh" tab, there's a "WMS Parameters" button that you have to type in your server details into. IIRC, GeoServer will tell you what you would need to type if this is completely new to you.