Hi all.
My problem is that I have to layer and wants to get all attributes as name and values and to produce a table in HTML.
It would like to know if that is possible using GetFeatureInfo+templates and Freemarker+templates?
http://docs.codehaus.org/display/GEOSDOC/GetFeatureInfo+templates
http://docs.codehaus.org/display/GEOSDOC/Freemarker+templates
–
Best regards,
Carlos Fernando Gonçalves
Mestre em Engenharia de Computação - IPT-SP
JUG Leader Java Noroeste - Grupo de Usuários Java do Noroeste Paulista - http://www.javanoroeste.com.br
“Fiel é a palavra e digna de toda aceitação: que Cristo Jesus veio ao mundo para salvar os pecadores, dos quais eu sou o principal.”
I Timóteo 1:15
Carlos Fernando Gonçalves ha scritto:
Hi all.
My problem is that I have to layer and wants to get all attributes as name and values and to produce a table in HTML. It would like to know if that is possible using GetFeatureInfo+templates and Freemarker+templates?
http://docs.codehaus.org/display/GEOSDOC/GetFeatureInfo+templates
http://docs.codehaus.org/display/GEOSDOC/Freemarker+templates
Not sure I understand... you a table that has all of the features
reported or just those that you clicked onto?
GetFeatureInfo reports only the features that are very near to the point
you clicked. If you want all of the features instead, I guess you're looking for a WFS GetFeature output that does HTML instead.
We don't have it out of the box unfortunately, not even in a nightly,
some coding would be needed to port the templates over to GetFeature.
It's the topic of this issue:
http://jira.codehaus.org/browse/GEOS-835
Which we have scheduled for Geoserver 1.6.0-rc1, to be released somewhere in late August/early September I believe.
Cheres
Andrea
Hi Andrea.
Thank you.
you a table that has all of the features
reported
YES
WFS GetFeature output
Some way exists to modify output, says, one class java for recovery the attributes and name and values of the GeoServer?
Best regards,
Carlos FG
2007/7/20, Andrea Aime <aaime@anonymised.com.1…>:
Carlos Fernando Gonçalves ha scritto:
Hi all.
My problem is that I have to layer and wants to get all attributes as
name and values and to produce a table in HTML.
It would like to know if that is possible using GetFeatureInfo+templates
and Freemarker+templates?
http://docs.codehaus.org/display/GEOSDOC/GetFeatureInfo+templates
http://docs.codehaus.org/display/GEOSDOC/Freemarker+templates
Not sure I understand… you a table that has all of the features
reported or just those that you clicked onto?
GetFeatureInfo reports only the features that are very near to the point
you clicked. If you want all of the features instead, I guess you’re
looking for a WFS GetFeature output that does HTML instead.
We don’t have it out of the box unfortunately, not even in a nightly,
some coding would be needed to port the templates over to GetFeature.
It’s the topic of this issue:
http://jira.codehaus.org/browse/GEOS-835
Which we have scheduled for Geoserver 1.6.0-rc1, to be released
somewhere in late August/early September I believe.
Cheres
Andrea
–
Cordialmente,
Carlos Fernando Gonçalves
Mestre em Engenharia de Computação - IPT-SP
JUG Leader Java Noroeste - Grupo de Usuários Java do Noroeste Paulista - http://www.javanoroeste.com.br
“Fiel é a palavra e digna de toda aceitação: que Cristo Jesus veio ao mundo para salvar os pecadores, dos quais eu sou o principal.”
I Timóteo 1:15
Carlos Fernando Gonçalves ha scritto:
Hi Andrea.
Thank you.
>you a table that has all of the features
reported
YES
>WFS GetFeature output
Some way exists to modify output, says, one class java for recovery the attributes and name and values of the GeoServer?
No, not really. You have to write your own output format, which is not
so complicated btw. If you are in a hurry and need this done soon I suggest you have a look at the FeatureResponseDelegate interface in
Geoserver 1.5.x and its subclasses, as well as the GetFeatureInfoDelegate and its subclasses, and try to roll your own.
Otherwise, if you prefer someones else to do this and you can sponsor
this development (that is, pay for it), then you can contact OpenPlans
or some other commercial support provider to have that functionality
build right away.
Of course, if you can wait a month and use Geoserver 1.6.0 then the
problem will probably solve by itself, since we'll code the functionality you're looking for sometimes in August.
Cheers
Andrea
Hi Andrea.
Very good.
I have time to wait until release of GeoServer 1.6.
The functionality will be very beneficial for the community.
I thank its attention very.
Best regards,
Carlos FG
2007/7/20, Andrea Aime <aaime@anonymised.com>:
Carlos Fernando Gonçalves ha scritto:
Hi Andrea.
Thank you.
you a table that has all of the features
reported
YES
WFS GetFeature output
Some way exists to modify output, says, one class java for recovery the
attributes and name and values of the GeoServer?
No, not really. You have to write your own output format, which is not
so complicated btw. If you are in a hurry and need this done soon I
suggest you have a look at the FeatureResponseDelegate interface in
Geoserver 1.5.x and its subclasses, as well as the
GetFeatureInfoDelegate and its subclasses, and try to roll your own.
Otherwise, if you prefer someones else to do this and you can sponsor
this development (that is, pay for it), then you can contact OpenPlans
or some other commercial support provider to have that functionality
build right away.
Of course, if you can wait a month and use Geoserver 1.6.0 then the
problem will probably solve by itself, since we’ll code the
functionality you’re looking for sometimes in August.
Cheers
Andrea
–
Cordialmente,
Carlos Fernando Gonçalves
Mestre em Engenharia de Computação - IPT-SP
JUG Leader Java Noroeste - Grupo de Usuários Java do Noroeste Paulista - http://www.javanoroeste.com.br
“Fiel é a palavra e digna de toda aceitação: que Cristo Jesus veio ao mundo para salvar os pecadores, dos quais eu sou o principal.”
I Timóteo 1:15