Created
November 11, 2010 21:20
-
-
Save tschaub/673209 to your computer and use it in GitHub Desktop.
GeoJSON GetFeatureInfo Response Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#list features as feature> | |
{ | |
"type": "Feature", | |
"geometry": null, | |
"properties": { | |
<#list feature.attributes as attribute> | |
<#if !attribute.isGeometry> | |
"${attribute.name}": "${attribute.value}"<#if attribute_has_next>,</#if> | |
</#if> | |
</#list> | |
} | |
}<#if feature_has_next>,</#if> | |
</#list> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "FeatureCollection", | |
"features": [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment