[Geoserver-users] getting placemarks and infowindow in googlemaps

Hi all,

I have a question about making points clickable in googlemaps (like in google earth). Most of the data I'm serving from Geoserver (1.5.1) (postgis) are points like GPS locations, and I want someone to be able to zoom in, click on a point, and see perhaps a timestamp in an infowindow. I've looked at the API for GMarker and it involves specifying a point in latlong. How do I construct Markers from Geoserver? Right now I'm using the wms-gs.js script provided in the Google Maps tutorial, and it adds a layer using wms request, but I'm not sure how to add marker overlay...can someone point me in the right direction?

I also tried using GGeoXML with Geoserver's kml output, on the example topp:states it works fine, but on my data it doesn't output anything. I actually have thousands of points in my data, and am wondering if there's a limit to how many points it can serve. I think I'll try the GeoRSS output from 1.6 beta also, but just wanted to know if having too much data is a problem.

Thanks!
Doris

Too much data probably is a problem. gmaps doesn't do well with over like a few hundred points.

You might try openlayers with a google maps background layer. Then you can put a GetFeatureInfo on that, and still have WMS overlays. WMS overlays work great for not killing google maps with too many points. GetFeatureInfo sends the request when the user clicks, whereas georss/kml make the gmaps on the browser try to figure out everything first. Which leads to fast responses for small datasets, but can die with large datasets.

The other thing you could do is start your gmaps way zoomed in, so it's not trying to display tons of data. Though actually, I'm not super sure if it makes smart bbox requests and the like.

best regards,

Chris

dlamoris@anonymised.com wrote:

Hi all,

I have a question about making points clickable in googlemaps (like in google earth). Most of the data I'm serving from Geoserver (1.5.1) (postgis) are points like GPS locations, and I want someone to be able to zoom in, click on a point, and see perhaps a timestamp in an infowindow. I've looked at the API for GMarker and it involves specifying a point in latlong. How do I construct Markers from Geoserver? Right now I'm using the wms-gs.js script provided in the Google Maps tutorial, and it adds a layer using wms request, but I'm not sure how to add marker overlay...can someone point me in the right direction?

I also tried using GGeoXML with Geoserver's kml output, on the example topp:states it works fine, but on my data it doesn't output anything. I actually have thousands of points in my data, and am wondering if there's a limit to how many points it can serve. I think I'll try the GeoRSS output from 1.6 beta also, but just wanted to know if having too much data is a problem.

Thanks!
Doris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4005,46b2306a182161030819293!

Thanks, I'll try that.
Does cql filters work with kml requests?

Quoting Chris Holmes <cholmes@anonymised.com>:

Too much data probably is a problem. gmaps doesn't do well with over
like a few hundred points.

You might try openlayers with a google maps background layer. Then you
can put a GetFeatureInfo on that, and still have WMS overlays. WMS
overlays work great for not killing google maps with too many points.
GetFeatureInfo sends the request when the user clicks, whereas
georss/kml make the gmaps on the browser try to figure out everything
first. Which leads to fast responses for small datasets, but can die
with large datasets.

The other thing you could do is start your gmaps way zoomed in, so it's
not trying to display tons of data. Though actually, I'm not super
sure if it makes smart bbox requests and the like.

best regards,

Chris

dlamoris@anonymised.com wrote:

Hi all,

I have a question about making points clickable in googlemaps (like in google earth). Most of the data I'm serving from Geoserver (1.5.1) (postgis) are points like GPS locations, and I want someone to be able to zoom in, click on a point, and see perhaps a timestamp in an infowindow. I've looked at the API for GMarker and it involves specifying a point in latlong. How do I construct Markers from Geoserver? Right now I'm using the wms-gs.js script provided in the Google Maps tutorial, and it adds a layer using wms request, but I'm not sure how to add marker overlay...can someone point me in the right direction?

I also tried using GGeoXML with Geoserver's kml output, on the example topp:states it works fine, but on my data it doesn't output anything. I actually have thousands of points in my data, and am wondering if there's a limit to how many points it can serve. I think I'll try the GeoRSS output from 1.6 beta also, but just wanted to know if having too much data is a problem.

Thanks!
Doris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4005,46b2306a182161030819293!

For 1.5.2 they will, Justin just squeezed that one in. If you get a 1.5.x nightly it should have the fix.

Chris

dlamoris@anonymised.com wrote:

Thanks, I'll try that.
Does cql filters work with kml requests?

Quoting Chris Holmes <cholmes@anonymised.com>:

Too much data probably is a problem. gmaps doesn't do well with over
like a few hundred points.

You might try openlayers with a google maps background layer. Then you
can put a GetFeatureInfo on that, and still have WMS overlays. WMS
overlays work great for not killing google maps with too many points.
GetFeatureInfo sends the request when the user clicks, whereas
georss/kml make the gmaps on the browser try to figure out everything
first. Which leads to fast responses for small datasets, but can die
with large datasets.

The other thing you could do is start your gmaps way zoomed in, so it's
not trying to display tons of data. Though actually, I'm not super
sure if it makes smart bbox requests and the like.

best regards,

Chris

dlamoris@anonymised.com wrote:

Hi all,

I have a question about making points clickable in googlemaps (like in google earth). Most of the data I'm serving from Geoserver (1.5.1) (postgis) are points like GPS locations, and I want someone to be able to zoom in, click on a point, and see perhaps a timestamp in an infowindow. I've looked at the API for GMarker and it involves specifying a point in latlong. How do I construct Markers from Geoserver? Right now I'm using the wms-gs.js script provided in the Google Maps tutorial, and it adds a layer using wms request, but I'm not sure how to add marker overlay...can someone point me in the right direction?

I also tried using GGeoXML with Geoserver's kml output, on the example topp:states it works fine, but on my data it doesn't output anything. I actually have thousands of points in my data, and am wondering if there's a limit to how many points it can serve. I think I'll try the GeoRSS output from 1.6 beta also, but just wanted to know if having too much data is a problem.

Thanks!
Doris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4005,46b26ac2233321012714783!