[Geoserver-users] description.ftl

Hi,

I have some problems with decription.ftl. I'm styling the KML info
balloons with it as described in for example:
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . This
works fine as long as I use the supplied demo data sets. But if I use
one of my own data sets the dscription.ftl seems to be ignored and the
balloons display the default tables.

When I copy "description.ftl" to DATA_DIR/featureTypes/dir_name/ where
dir_name belongs to one of the original demo data sets it works as it
should but when dir_name is connected to one of my own data it
doesn't.

As far as I can tell I have imported my own data and configured it the
same way as the demo data. I have no problems otherwise with my own
data, everything works fine, no errors. I use version 1.6.4.

Any advice is much appreciated.

Boele

Any error messages in <data dir>/logs/geoserver.log after you make a request that attempts to use description.ftl on your own data?

-Arne

Boele Kuipers wrote:

Hi,

I have some problems with decription.ftl. I'm styling the KML info
balloons with it as described in for example:
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . This
works fine as long as I use the supplied demo data sets. But if I use
one of my own data sets the dscription.ftl seems to be ignored and the
balloons display the default tables.

When I copy "description.ftl" to DATA_DIR/featureTypes/dir_name/ where
dir_name belongs to one of the original demo data sets it works as it
should but when dir_name is connected to one of my own data it
doesn't.

As far as I can tell I have imported my own data and configured it the
same way as the demo data. I have no problems otherwise with my own
data, everything works fine, no errors. I use version 1.6.4.

Any advice is much appreciated.

Boele

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  

Not that I can see. I checked for differences between the logs for
requests on my own data and of the demo data but couldn't find any.

Boele

2008/9/3 Arne Kepp <ak@anonymised.com>:

Any error messages in <data dir>/logs/geoserver.log after you make a request
that attempts to use description.ftl on your own data?

-Arne

Boele Kuipers wrote:

Hi,

I have some problems with decription.ftl. I'm styling the KML info
balloons with it as described in for example:
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . This
works fine as long as I use the supplied demo data sets. But if I use
one of my own data sets the dscription.ftl seems to be ignored and the
balloons display the default tables.

When I copy "description.ftl" to DATA_DIR/featureTypes/dir_name/ where
dir_name belongs to one of the original demo data sets it works as it
should but when dir_name is connected to one of my own data it
doesn't.

As far as I can tell I have imported my own data and configured it the
same way as the demo data. I have no problems otherwise with my own
data, everything works fine, no errors. I use version 1.6.4.

Any advice is much appreciated.

Boele

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Interesting... can you include the template you are trying it out with. Any information about your dataset would be useful as well. Thanks.

-Justin

Boele Kuipers wrote:

Not that I can see. I checked for differences between the logs for
requests on my own data and of the demo data but couldn't find any.

Boele

2008/9/3 Arne Kepp <ak@anonymised.com>:

Any error messages in <data dir>/logs/geoserver.log after you make a request
that attempts to use description.ftl on your own data?

-Arne

Boele Kuipers wrote:

Hi,

I have some problems with decription.ftl. I'm styling the KML info
balloons with it as described in for example:
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . This
works fine as long as I use the supplied demo data sets. But if I use
one of my own data sets the dscription.ftl seems to be ignored and the
balloons display the default tables.

When I copy "description.ftl" to DATA_DIR/featureTypes/dir_name/ where
dir_name belongs to one of the original demo data sets it works as it
should but when dir_name is connected to one of my own data it
doesn't.

As far as I can tell I have imported my own data and configured it the
same way as the demo data. I have no problems otherwise with my own
data, everything works fine, no errors. I use version 1.6.4.

Any advice is much appreciated.

Boele

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
Software Engineer, OpenGeo
http://opengeo.org

Hi Justin,

I've got it solved somehow, but I'm not sure how to be honest. I had
multiple geoservers deployed and I reduced them to just one. Also I
was working in 1.7.0 RC2 instead of 1.6.4 as I mistakenly thought
(the new layers.properties is exactly what I need). So it might have
been an problem related to 1.7 RC2.
There was not just one template I used, but all failed, even the basic
"hello world" one. The data is unfortunately confidential, as it is
about the den's of polar foxes at Spitsbergen and we don't want this
data to be available. I've put a screen dump on
http://miljo.npolar.no/brk/images/fjellrevhi.jpg

One more question for the list. Does any one know how to get rid of
the "Directions: To here From here" at the bottom of the kml info
balloon using the description.ftl template? See the above mentioned
screen dump.

Boele

2008/9/4 Justin Deoliveira <jdeolive@anonymised.com>:

Interesting... can you include the template you are trying it out with. Any
information about your dataset would be useful as well. Thanks.

-Justin

Boele Kuipers wrote:

Not that I can see. I checked for differences between the logs for
requests on my own data and of the demo data but couldn't find any.

Boele

2008/9/3 Arne Kepp <ak@anonymised.com>:

Any error messages in <data dir>/logs/geoserver.log after you make a
request
that attempts to use description.ftl on your own data?

-Arne

Boele Kuipers wrote:

Hi,

I have some problems with decription.ftl. I'm styling the KML info
balloons with it as described in for example:
http://geoserver.org/display/GEOSDOC/KML+Placemark+Templates . This
works fine as long as I use the supplied demo data sets. But if I use
one of my own data sets the dscription.ftl seems to be ignored and the
balloons display the default tables.

When I copy "description.ftl" to DATA_DIR/featureTypes/dir_name/ where
dir_name belongs to one of the original demo data sets it works as it
should but when dir_name is connected to one of my own data it
doesn't.

As far as I can tell I have imported my own data and configured it the
same way as the demo data. I have no problems otherwise with my own
data, everything works fine, no errors. I use version 1.6.4.

Any advice is much appreciated.

Boele

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
Software Engineer, OpenGeo
http://opengeo.org