Permalink
Browse files

starting to build out GeoJson export

  • Loading branch information...
1 parent a148124 commit 0bc86379240ad1da6983de232c660514a2b9eeed @bengolder committed Mar 26, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 svg-export.py
View
@@ -9,6 +9,16 @@
'''This module is currently just a rough shot for sketching out ideas about svg
export.'''
+
+FEATURE_TRANSLATOR = (
+ 'Point', 'Point3d'
+ 'MultiPoint', 'Point3d'
+ 'LineString', 'Curve', 'Polyline'
+ 'MultiLineString','Curve', 'Polyline'
+ 'Polygon',
+ 'MultiPolygon',
+ )
+
def conversion_lookup(g):
if isinstance(g, Rhino.Geometry.Point3d):
return to_svg_point

0 comments on commit 0bc8637

Please sign in to comment.