Hi geoserver list,
i was experimenting with WMS getfeatureinfo. Thus i wanted to style the
response a little bit. I was reading about geoserver templates here:
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . I thought
it's a simple issue to copy the hello world-example: Just save a file called
description.ftl with the content hello world in my
/geoserver/data/featureTypes/featureTypeXY directory, restart geoserver and
call GetFeatureInfo for featureTypeXY.
Sounds simple, but didn't work. Has anybody an idea, which screw to turn to
make it work (i'm running release 1.7.0)?
Regards
Albrecht
--
View this message in context: http://www.nabble.com/Template-doesn't-work-tp22290413p22290413.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Albrect. Could you be more specific what didn't work (error message or stack trace)? I seem to recall that placemark handling changed a bit from 1.7.1 on, but I can't say if this is related to those changes.
Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org
Albrecht Weiser wrote:
Hi geoserver list,
i was experimenting with WMS getfeatureinfo. Thus i wanted to style the
response a little bit. I was reading about geoserver templates here: http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . I thought
it's a simple issue to copy the hello world-example: Just save a file called
description.ftl with the content hello world in my
/geoserver/data/featureTypes/featureTypeXY directory, restart geoserver and
call GetFeatureInfo for featureTypeXY.
Sounds simple, but didn't work. Has anybody an idea, which screw to turn to
make it work (i'm running release 1.7.0)?
Regards
Albrecht
Ach. Disadvantage of multiple posts is that I didn't see that someone else already answered the same question.
Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org
Mike Pumphrey wrote:
Hi Albrect. Could you be more specific what didn't work (error message or stack trace)? I seem to recall that placemark handling changed a bit from 1.7.1 on, but I can't say if this is related to those changes.
Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.orgAlbrecht Weiser wrote:
Hi geoserver list,
i was experimenting with WMS getfeatureinfo. Thus i wanted to style the
response a little bit. I was reading about geoserver templates here: http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . I thought
it's a simple issue to copy the hello world-example: Just save a file called
description.ftl with the content hello world in my
/geoserver/data/featureTypes/featureTypeXY directory, restart geoserver and
call GetFeatureInfo for featureTypeXY.
Sounds simple, but didn't work. Has anybody an idea, which screw to turn to
make it work (i'm running release 1.7.0)?
Regards
Albrecht------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users