Monthly Archive for March, 2005

ArcGIS SVG export

Because I was not entirely satisfied with the built-in SVG export option of ArcMap I wrote this short macro to do it my own way. The essential feature, compared to ArcMap’s built-in SVG export, is that I can define an (known) ID for every SVG element out of the attribute table. Thus I’m able to access my SVG elements later via JavaScript.

What the macro does:
- Exports all layers and features of your map document (mxd) to SVG
- Every layer will be preserved as SVG group
- Adds the values of the field “SVG_ID” of your attribute table to every SVG element as ID
- Units and extent are taken from the layer properties of ArcMap
- Produces clean SVG 1.1 code

What the macro does not:
- no formating – no colours, stroke-widths, etc. – everything will be visible as black in black (I just needed a clean SVG skeleton, graphic attributes I add later via interactivity)
- no HTML embedding, you get just the SVG code

If you think this can be useful for your purpose, just copy & paste the code of the text file into the Visual Basic Editor of ArcMap (Project/ArcMap Objects/ThisDocument) and hit run.

SVG-Export

Hakoah

Sounds like a worth seeing film about our dark past: Watermarks.

Watermarks is the story of the champion women swimmers of the legendary Jewish sports club, Hakoah Vienna. Hakoah (“The Strength” in Hebrew) was founded in 1909 in response to the notorious Aryan Paragraph, which forbade Austrian sports clubs from accepting Jewish athletes. Its founders were eager to popularize sport among a community renowned for such great minds as Freud, Mahler and Zweig, but traditionally alien to physical recreation. Hakoah rapidly grew into one of Europe’s biggest athletic clubs, while achieving astonishing success in many diverse sports. In the 1930s Hakoah’s best-known triumphs came from its women swimmers, who dominated national competitions in Austria. After the Anschluss, in 1938, the Nazis shut down the club, but the swimmers all managed to flee the country before the war broke out, thanks to an escape operation initiated by Hakoah’s functionaries. Sixty-five years later, director Yaron Zilberman meets the members of the swimming team in their homes around the world, and arranges for them to have a reunion in their old swimming pool in Vienna, a journey that evokes memories of youth, femininity, and strengthens lifelong bonds. Told by the swimmers, now in their eighties, Watermarks is about a group of young girls with a passion to be the best.

Besides, in January I started swimming (guessing Señor Rogan brought swimming to my mind ;-) ) on a more frequent basis because I really felt that I need to do some sports again. Since then you can find me twice a week at that swimming pool in Vienna.

Amalienbad
The Amalienbad – a wonderful building with real nice pool and, the best thing, pretty close to my apartment… ;-)

Happy Easter holidays!

As a colleague today mentioned, car-metallic-coloured Easter eggs are this year very en vogue. ;-)

Easter egg

Really really hot!

Accidentally mixing up jalapeño pepper and olives, running to get some water, wondering why the pain won’t leave the tongue, I asked myself why jalapeño pepper or chili is hot. Which substance makes them taste hot? It’s pretty interesting: the responsable substance is called Capsaicin. Since I’m no chemist I don’t know what Capsaicin exactly is. Anyhow, what’s still more interesting (or funnier): a measure of hotness exists. ;-)
It’s the so called Scoville scale, named after Wilbur Scoville.
I guess I only experienced something around 5.000 of the Scoville rating, comparable to Tabasco Sauce. Just can’t imagine what the Red Savina (Scoville rating of 500.000 and more) would taste like. Damn hot for sure…

Habanero