Skip to content

Commit

Permalink
starting to build out GeoJson export
Browse files Browse the repository at this point in the history
  • Loading branch information
bengolder committed Mar 26, 2012
1 parent a148124 commit 0bc8637
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions svg-export.py
Expand Up @@ -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
Expand Down

0 comments on commit 0bc8637

Please sign in to comment.