Special Announcement
Poll
What's driving interest in the cloud computing at your organization?
Enables new forms of collaboration
Faster delivery of new apps/services
Empowering users via self-service model
Potential for lowering IT costs
Other
Webinar SignUp
White Paper Downloads
Get the latest white papers from our sponsors
Directions Magazine, Web-based Mapping, Business GIS, GeoSpatial Consulting, Location Based Services
Comments
Takeaways from the Esri UC 2010
Adena Schutzberg | July 29
John Baleja, Esri Product Management responded to Sam's questions: "Our plan[...]
Spatial Data Infrastructures - Challenges and Opportunities
BP | July 28
I've been in the GIS industry for 12 years. [...]
Podcast: Is Esri UC the Only GIS Event That Matters?
Worker Bee | July 23
At the end of the podcast, the question was 'are[...]
Spatial Data Infrastructures (SDIs) - Why Should We Care About Them?
Sudhir Kumar Singh | July 23
Really the concept of " One Earth" can be achieve[...]
Takeaways from the Esri UC 2010
Adena Schutzberg | July 23
Sam, Why didn't I poke ESRI on the API for the[...]
Articles
Web Mapping with SVG
By Roger Harwell , Intergraph Mapping and Geospatial Solutions
November 05, 2004

Classified Ads:

Scalable Vector Graphics (SVG), the industry standard vector graphics recommendation developed by the World Wide Web Consortium (W3C), is becoming a popular choice for rendering maps.This is especially true in the geospatial web software applications area, because SVG, an Extensible Markup Language (XML) encoding or grammar, is designed to work effectively across platforms, output resolutions, color spaces, and a range of available bandwidths.

SVG is well positioned to create a major impact on interactive web mapping because it is a rich modern graphics format providing the ability for better map display, and because it leverages many of the useful features of XML. Developed to describe rich, stylable, two-dimensional graphics, SVG includes advanced graphical features such as transparency, arbitrary geometry, filter effects (shadows, lighting effects, etc.), scripting, and animation (
See "Scalable Vector Graphics (SVG): XML Graphics for the Web." Also, see the SVG specification at Apache.org.)

Today, a number of vendors provide rendering and editing software for SVG.Most implementations are based on the SVG 1.1 recommendation as the next version, 1.2, is still considered to be in draft form.For example, Batik, a Java™ based technology, provides a toolkit that can be used to build applications or applets that render or edit SVG documents.Adobe provides a free, downloadable viewing plug-in for Internet Explorer and Netscape (SVG site) that enables easy viewing of web SVG documents from your browser.

SVG Adoption on the Increase
While a number of geospatial web software vendors have supported generation of a vector map, some additional, typically proprietary, software is required in the web browser, either installed on the end client machine or loaded at run-time, as in the case of a Java™ applet.As a result, most web mapping software applications are still designed and built to generate raster maps such as GIF, JPEG, BMP, or PNG, which the browsers support rendering natively.For example, typing in an address at MapQuest or MSN MapPoint returns a raster map in GIF format.

At this time, SVG rendering also requires additional software beyond what is available with common browsers.But with the emergence of SVG as an industry standard, browser vendors are considering the adoption of native rendering support for SVG in the not-too-distant future.Some of the mainline geospatial web application providers have the capability built in to generate output formats in SVG.Others have add-on software provided by third-party suppliers to allow generation of the output map in SVG format.

Boosting Web Mapping Intelligence
There are a number of advantages and reasons to use a vector map, and specifically to use SVG.One of the main reasons is that you are then working with a much more "intelligent map," a "smart map." Rather than just a picture of a map (e.g., bytes designating a color to paint every pixel), there is actual intelligence at the feature instance level that makes the map much easier to work with.Take for example, a segment of Main Street.There is intelligence within the map that this linear segment extends from one particular X,Y point location to another.Typically, a transformation is understood that allows mapping from these X, Y points to real-world projected or geographic coordinates, which in turn makes it easier for the client to access that information.

Further, some pointer is typically stored with the vector element that provides an association to additional intelligent information.All of these features combine to provide a very intelligent, interactive user experience.As in the example sited, the user can hover his mouse over a segment of Main Street, and see it highlighted to show it is the current active element and a tool tip that indicates it is "Main Street." The user clicks the element to select it, knowing through visual indication that a hot spot is associated with it.Once selected, a more detailed attribute report is generated and/or a video is spawned showing a drive through of the street.Additionally, any supplemental information that the user might want or need can be associated with this real-world feature.

The interactivity available with SVG is helping boost efficiency in web portals in several state departments of transportation.SVG, incorporated in popular Web mapping technology, recently provided enhancements to the Florida Turnpike Enterprise's (FTE) Turnpike Enterprise Asset Management System (TEAMS) enterprise Web portal.The combination of Intergraph's Web mapping exporting capabilities and SVG enables FTE users to extract asset data from a user-defined area within the map using an intranet browser.This gives FTE users more immediate access to Florida Turnpike's asset data.

South Carolina's Hurricane Evacuation Decision Support Solution, newly enhanced with Web solutions that incorporates SVG provides better interactivity for automating reports as well as simplifying non-technical user operation.New functionality added to the system extends reporting capabilities to give officials more flexibility for traffic analysis during evacuations.In addition, the system can now generate analysis reports more quickly.For example, speed capacity reports previously took up to five minutes to download from the emergency center computers.Now they can be downloaded in seconds.


SCDOT Lane Reversal (photo credit Rob Thompson, South Carolin DOT).When traffic conditions warrant, SCDOT managers can close a highway to coast-bound traffic and use all lanes for evacuation, doubling the number of residents moving away from the storm's path.Click on image for larger view.


SCDOT's hurricane tracking chart shows the position of Hurricane Charley as it moves near the coast of South Carolina.The strength of the storm is designated by the color of the track line.Click image for larger view.

Map rendering is another area that will benefit from SVG. The rendering of a map is certainly dependent upon the rendering software used, but in general with SVG, the application can produce a very rich, modern depiction of the area specified.A vector map also minimizes the degradation as you zoom in on an area without regeneration of the map on the server side. Further, SVG provides the ability to produce a very rich rendering with features like translucent area fills, patterned area fills, gradient area fills, animation, shadowing, lighting effects, and more.

SVG has further proven its benefits as a tool that can be used in conjunction with Open Geospatial Consortium (OGC) standards, specifically OGC's Web Feature Service (WFS), a standard vector mapping web service, and Geographic Markup Language (GML), a standard XML encoding for communicating the resulting maps across the web.Because GML and SVG are both XML encodings, it is very straightforward to convert between the two using an XML Style Language Transformation (XSLT.) This gives an application a means of rendering GML, and in fact is the primary way that it has been accomplished among existing applications today.SVG provides an advantage of being able to leverage these industry standard tools that exist and that are being created to facilitate mapping interoperability.

SVG, with its ability to display richer maps more interactively, is becoming a popular format used to distribute maps by web mapping applications.Its popularity will continue to rise as more and more application developers realize that it helps in rendering maps that are interoperable and as visually rich, as possible - limited only by the imagination.

Bookmark and Share

Your Comments
Post a comment
All comments provided in this section are those of the individual who has created the post. These are not the opinions of Directions Media, its editors, staff or owners unless otherwise noted. Directions Media retains the right to edit or delete any comments posted herein.

SVG (#1)
by Greg Brown, Surrey Police
   
Date: November 3, 2004 11:07 AM
One of the main barriers to uptake of this technology would seem to be the ability for map data to be 'copy and pasted' from the SVG holder to a viweers machine, thus breaching copyright of the data supplier. I would be interested to hear if there are any security measures that can be deployed to counter this.

Security with SVG (#2)
by Benjamin Campin, DBx GEOMATICS inc.
   
Date: November 3, 2004 12:48 PM
It is possible to turn off the copy capability of the plugin, to prevent from anybody taking the code.

SVG Applications in the Offshore Industry (#3)
by Justin Clowes, Fugro Survey Ltd. - GeoSoft Solutions
   
Date: November 3, 2004 16:06 PM
I have been developing successful solutions with SVG for several months. I think the standard has a real future. We are currently supplying SVG maps as part of a large Geophysical and Geological mapping project. With large amounts of data, download times increase and the SVG plugin starts to slow down. However, for most applications this is not an issue and with scripting, many GIS features can be included. Look out for our SVG article in the November Issue of GEO:connection.

Web mapping examples in LearnSVG.com - Advanced (#4)
by Jonathan, www.LearnSVG.com
   
Date: November 3, 2004 22:15 PM
We plan to include one or two chapters on web mapping with SVG in our upcoming book - "LearnSVG: Reloaded"

http://www.learnsvg.com


A SVG article without a mention of SWF??? (#5)
by Peter Strømberg, Strømberg Larsen ApS
   
Date: November 17, 2004 12:29 PM
When choosing your output format for the web it is worth considering your target audience, their bandwidth, their installation permissions and increasingly their chosen viewing device.

Here we run into the major downfall of SVG today. According to a NPD Online survey, conducted September 2004, SVG adoption is at 14.4 percent. While this may not be an issue in some closed projects where it's possible to check that all users have the right set-up, it would be a significant drawback for a Hurricane warning system aimed at the general public.

I've just downloaded the Adobe SVG player for windows. It fills 2.5Mb. Luckily I am on broadband and logged on as administrator of this machine and therefore have permission to install the plugin. Others are not so lucky.

Then there's "SWF", a compiled vector format with a 98% adoption rate (higher even than Java!), pre-installed on the major platforms and browsers, not to mention PDA's and an increasing number of smart phones. Flash player, used to view SWF, is by far the most ubiquitous technology on the internet.(http://www.macromedia.com/software/player_census/flashplayer/) Oh, and it's also has video built-in, so the Main Street application you describe could be a single integrated GIS/video presentation, requiring no further plug-ins or dilemas over which video format(s) to support.

Before you ask, no I'm not a Macromedia shareholder, though I would admit to being a long standing SWF fan and that my company makes a fully featured GIS server technology (hyperGIS, plug, plug :) based entirely on SWF. The reasons for choosing SWF are the same as choosing SVG, small file sizes, vector quality and greatly improved functionality over bitmaps. The major advantage of SWF as I see it is that just about everyone can actually experience your great app when it's finshed!


SVG Line symbols (#6)
by Peter Rushforth, Individual
   
Date: December 10, 2004 10:50 AM
SVG line symbols are not rich enough for mapping applications. The point, text and marker symbol options appear good, but the lines are based on CSS as far as I can tell and aren't cartographic.

Re Memorandum and Articles Of Association (#7)
by Shirley Inniss, Manchester St. Vincent and the Genadines Association
   
Date: January 16, 2005 22:07 PM
I am looking for a copy of the Mems Arts of SVG associations in Britain. Can you please help

Advertisers