Over the weekend I saw that ESRI posted two code samples of SVG ArcWeb services for vb.NET and C# in “ESRI Labs” (or ArcScripts for some of us). I’m going to be traveling for the rest of the week so I won’t be getting into this code for some time (I had ignored the first samples because they were Java). If you don’t have an Public ArcWeb login, you can get one here and then download the code from ArcScripts (see links above). All you have to do is make a simple change to the web.config and you are in business. You’ll also want to download the SVG plugin. Even though Firefox does handle SVG “out of the box” it is slow and can’t do all the functionality that the plugin can.
I really want to explore SVG some more and now that there are .NET samples, I’ve run out of excuses. (click for large image)



7 responses so far ↓
1
PHL
// Jul 10, 2006 at 5:15 pm
That looks just like an ordinary ArcWeb map, why bother with SVG?
2
James Fee
// Jul 10, 2006 at 5:17 pm
SVG is all vectors so they are more dynamic. Take the example above; it is an an animated route where that blue arrow follows the roads.
3
James Fee
// Jul 10, 2006 at 5:23 pm
Let me just add, SVG has the potential to go places Flash just can’t. Unlike Flash, SVG is an open standard so improvements can be made without having to wait for Macromedia (or Adobe) to make changes. I think we’ll start seeing much more SVG mapping in the coming years on both the web and desktop.
I mean you can generate these SVGs with ArcWeb and modify them with your own C# or Java code. The more you think about it the more you really want to see what is possible.
4
Critter
// Jul 11, 2006 at 9:51 am
What do you mean modify the SVG? Are you saying that after requesting a SVG file, you can edit it using .NET?
5
James Fee
// Jul 11, 2006 at 9:55 am
Yes, in fact one of the included examples shows how to do just that.
6
Armin Müller
// Jul 13, 2006 at 2:22 am
If you are interested in exporting your ArcMap GIS projects to SVG with most of the interaction functionality of ArcMap, then have a look on the examples on http://www.mapviewsvg.com.
These examples are made with MapViewSVG an extension for ArcGIS and ArcView 3.x.
On the URL is an evaluation version too. With this you can test the functionality
7
Marcy
// Jul 13, 2006 at 11:43 am
Please note that these are not official ESRI samples. I just wanted to see what SVG could do and thought my samples would be helpful to others.
P.S. To give your readers a better understanding of the samples, you could replace the static screenshot with an embeded SVG object. Just a thought.
Leave a Comment