Skip to content

Commit

Permalink
Filter; is the geometry function meaningless? Return hex?
Browse files Browse the repository at this point in the history
  • Loading branch information
klutometis committed Dec 1, 2011
1 parent c8bd4ad commit 6fc236e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/shp_to_map/core.clj
Expand Up @@ -44,12 +44,14 @@ function itself."
(.write writer
(feature-geometry feature)))
name (feature-name feature)]
(assoc name->geometries
name
(cons hex
(get name->geometries
name
'())))))
(if (feature-filter feature)
(assoc name->geometries
name
(cons hex
(get name->geometries
name
'())))
name->geometries)))
name->geometries
(.toArray
(.getFeatures
Expand Down

0 comments on commit 6fc236e

Please sign in to comment.