In the examples I used, I didn’t create the wkt from an esri shape file – I generated it from the spatial reference site. You can use it to look up EPSG codes (first example) or to create WKT for projections or coordinate systems that aren’t in the EPSG library (subsequent example) that ogr can reference (either as a text file that I downloaded, or as hobu pointed out a url).
]]>Anyway, though this article is now almost a year old, and I’m not usually one to be overly pedantic, I thought I may as well comment. Where you say “you can embed them into html using an object or embed tag (can’t use the standard img tag)” – this is not entirely accurate. I see you’re a Firefox user (from your handy little icon on the right) which is probably the source of the misconception. It’s a popular browser, so many people believe “if Firefox can’t do it it can’t be done”. However relatively speaking Firefox’s support of web standards is quite poor, it’s support of SVG in particular, and all good browsers will support the standard img tag. This Firefox bug is due to be fixed soon too apparently.
As for using Wikipedia’s rsvg solution server-side for IE, that is only used in Wikipedia as it is a large site with millions of users uploading millions of SVGs, so the operation must be done “on-the-fly”. If you’re handling all the SVGs yourself personally, you can rasterise them manually on your computer at home before sending it up to the server. No need for complicated server-side nonsense.
]]>ogr2ogr -a_srs http://spatialreference.org/ref/esri/54030 states_nad83.shp states_unknown.shp
]]>