Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. [
  2. <#list features as feature>
  3. { "Type": "${type.name}"
  4. <#list feature.attributes as attribute>
  5. <#if !attribute.isGeometry>
  6. , "${attribute.name}": "${attribute.value}"
  7. </#if>
  8. </#list>
  9. }
  10. </#list> ,{}
  11. ]
  12.  
  13. [
  14.  
  15. {
  16. "layer": "${type.name}",
  17. "features":
  18. [
  19. <#list features as feature>
  20. {
  21. <#list feature.attributes as attribute>
  22. <#if !attribute.isGeometry>
  23. "${attribute.name?capitalize?js_string}": "${attribute.value?js_string}"<#if attribute_has_next>,</#if>
  24. </#if>
  25. </#list>
  26. }
  27. <#if feature_has_next>,</#if>
  28. </#list>
  29. ]
  30. },
  31.  
  32. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement