[Geoserver-users] advanced dynamic labeling : Textbox with link.

Hello,

I was very excited when I read about the dynamic labeling and think there is
great potential.

Currently, I am working for a logistic department and we want to display our
Geodata with a webapplication.

Furthermore we want to add additional information to single objects:

We have a layer with airports for instance. Besides of displaying the most
important metadata when clicking on them, we would like to encorporate
further information and especially a link referring to an external infopage.

Is there a way to use dynamic labeling to achieve this ? Having geoinfo from
Geoserver and a ID linked metafile which content will be automatically
displayed in a bounding textbox, able to click on a link ?

I guess this is a similar approach to the content management incorporated
PrimaGIS solution: http://www.primagis.fi/demo
but we would love to do that in open layers.

regards and thanks for your help, Konrad
--
View this message in context: http://www.nabble.com/advanced-dynamic-labeling-%3A-Textbox-with-link.-tp22367907p22367907.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I don't think dynamic labeling will help you, it just generates static images, though from a variety of sources.

One way to solve your problem might be to have GeoServer output an html image map. See http://geoserver.org/display/GEOS/HTML+ImageMap+support

This lets you put links on features. And I'm pretty sure you can do onClick stuff with it as well to get pop-ups.

The alternate way is to use OpenLayers and actually get the real vectors, and style it in the javascript. You can use the WFS to get the feature info. You just have to be sure not to display too many at once, since javascript can't handle a lot of objects. But it gives you lots of control.

See http://ride.trimet.org and zoom in for an example - you can click on the bus routes to get lots of information and links. But you have to zoom in since there would just be too many and it would overload the browser if you tried to display all at once.

best regards,

Chris

Konrad1 wrote:

Hello,

I was very excited when I read about the dynamic labeling and think there is
great potential.

Currently, I am working for a logistic department and we want to display our
Geodata with a webapplication.

Furthermore we want to add additional information to single objects:

We have a layer with airports for instance. Besides of displaying the most
important metadata when clicking on them, we would like to encorporate
further information and especially a link referring to an external infopage.

Is there a way to use dynamic labeling to achieve this ? Having geoinfo from
Geoserver and a ID linked metafile which content will be automatically
displayed in a bounding textbox, able to click on a link ?

I guess this is a similar approach to the content management incorporated
PrimaGIS solution: http://www.primagis.fi/demo
but we would love to do that in open layers.

regards and thanks for your help, Konrad

--
Chris Holmes
OpenGeo - http://opengeo.org
Expert service straight from the developers.

On Fri, 2009-03-06 at 00:15 -0800, Konrad1 wrote:

Hello,

I was very excited when I read about the dynamic labeling and think there is
great potential.

Currently, I am working for a logistic department and we want to display our
Geodata with a webapplication.

Furthermore we want to add additional information to single objects:

We have a layer with airports for instance. Besides of displaying the most
important metadata when clicking on them, we would like to encorporate
further information and especially a link referring to an external infopage.

Is there a way to use dynamic labeling to achieve this ? Having geoinfo from
Geoserver and a ID linked metafile which content will be automatically
displayed in a bounding textbox, able to click on a link ?

I guess this is a similar approach to the content management incorporated
PrimaGIS solution: http://www.primagis.fi/demo
but we would love to do that in open layers.

regards and thanks for your help, Konrad

Along with the options Chris mentioned, you can also configure the
GetFeatureInfo template, allowing you to use any HTML you like. The
GetFeatureInfo technique is used in the OpenLayers demo, so you can use
that as a base for your viewer.

Hope this helps.
--
David Winslow
OpenGeo - http://opengeo.org/