Jump to content

 
Photo

Shapefile to SVG with ArcMap (while retaining country attributes)

- - - - -

  • Please log in to reply
3 replies to this topic

#1
dwaynie

dwaynie

    Newbie

  • Validated Member
  • Pip
  • 1 posts
  • Norway

Does anybody know how to export the Natural Earth 1:110m shapefile to SVG with ArcMap while retaining the country attributes?

From SVG I'm gonna try to convert it again over to RaphaelJS to achieve something like:

http://backspace.com...vascript_world/
http://backspace.com...js/world_570.js

But I'm new to all of this so I'm not sure how to go about it. Maybe there's no way but to manually add the country codes for the JS?

Many thanks!

--Dwayne

#2
Jacques Gélinas

Jacques Gélinas

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 104 posts
  • Gender:Male
  • Location:Gatineau (Québec)
  • Canada

Dwayne

You might want to look at the online tool called Indiemapper (Indiemapper.com)
From what I read, there is an export to SVG option. Not sure if it will generate any associated attribute.

Good luck.

Jacques Gélinas
cartographer
www.cartesgeo.ca


#3
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,304 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

Since SVG is a graphics format (with limited topology), there are no attributes. But - since it is an XML-format, you can easily extend it with other tags/extensions/namespaces. Or add attributes as comments.

For a geo-format that is human readable, with both presentation/graphics, with georeferencing and attributes there is KML.

For a GEO-format that is XML without presentation there is GML.
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#4
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,304 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

SVG doesn't have attributes, in the same way as GIS. But the paths have a few properties - like the fill color. You could use the fill color to encode the iso number code or similar (just use a lookup table).
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->