[Geoserver-users] GeoRSS output and google maps

Hi,

  I'm curious about Geoserver and GeoRSS.

Will application/rss+xml be available as an output format only using the
reflector or will this be possible?

http://localhost/geoserver/wms?request=GetMap&layers=geo:state&styles=state&
srs=EPSG:4326&bbox=-125,23,-65,53&WIDTH=1000&HEIGHT=500&format=application/r
ss%2Bxml

Is there a way to have georss:line or georss:polygon output?

Example:
<item>
<title>Coldwater Lake</title>
<description>Formed by the 1980 eruption of Mount St. Helens.</description>
      <georss:polygon>46.31409 -122.22616 46.31113
-122.22968 46.31083 -122.23320 46.29802 -122.25877 46.29245 -122.26641
46.29286 -122.26392 46.28746 -122.26744 46.28741 -122.26006 46.29049
-122.25955 46.29120 -122.25620 46.28924 -122.255430 46.30271 -122.23251
46.31284 -122.22315 46.31409 -122.22616</georss:polygon>
<icon>./icons/green.jpg</icon>
</item>

  Also in the little bit of experimenting I've done so far I can't
seem to change the bbox? Does the reflector use only the layer Min/Max
Bounding Box?
http://asus/geoserver152/wms/reflect?bbox=-100.0,30.0,-60.0,90.0&layers=geo:
state&format=application/rss%2Bxml

Right now GeoRSS is the only cross service (GE, VE, and Yahoo) overlay
format. It would be nice if Microsoft and Yahoo would support KML, but I
somehow don't think Microsoft will make that leap.

Thanks
Randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Justin
Deoliveira
Sent: Monday, August 06, 2007 3:57 PM
To: dlamoris@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

I can also confirm that "application/rss+xml" does not work? It appears
the "+" has to be url encoded. So if you use:

"format=application/rss%2Bxml"

It should work. Which is a bit confusing because other formats with "+"
sign in them work without url encoding. for instance:

application/vnd.google-earth.kml+XML

Looks like KML does a special check:

format.startsWith("application/vnd.google-earth.kml").

Opening up a bug for this. Should be simple to fix. Should we get it
into 1.5.2a?

http://jira.codehaus.org/browse/GEOS-1271

This also begs the larger question if we should put in a "global" check
so this does not happen to other formats which use a "+" sign.

-Justin

-------------------------------------------------------------------------
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

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
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

Randy George wrote:

Hi,

  I'm curious about Geoserver and GeoRSS.

Will application/rss+xml be available as an output format only using the
reflector or will this be possible?

http://localhost/geoserver/wms?request=GetMap&layers=geo:state&styles=state&
srs=EPSG:4326&bbox=-125,23,-65,53&WIDTH=1000&HEIGHT=500&format=application/r
ss%2Bxml

Definitely, the reflector is just a shortcut so you don't have to fill in all of the parameters.

Is there a way to have georss:line or georss:polygon output?

The code is written to do it... its pretty trivial. Its just not really hooked up. Perhaps this is something we could do as a outputFormat option, that is an additional parameter specific to georss output.

Feel free to throw in a feature request for this.

Example:
<item>
<title>Coldwater Lake</title>
<description>Formed by the 1980 eruption of Mount St. Helens.</description>
      <georss:polygon>46.31409 -122.22616 46.31113
-122.22968 46.31083 -122.23320 46.29802 -122.25877 46.29245 -122.26641
46.29286 -122.26392 46.28746 -122.26744 46.28741 -122.26006 46.29049
-122.25955 46.29120 -122.25620 46.28924 -122.255430 46.30271 -122.23251
46.31284 -122.22315 46.31409 -122.22616</georss:polygon>
<icon>./icons/green.jpg</icon>
</item>

  Also in the little bit of experimenting I've done so far I can't
seem to change the bbox? Does the reflector use only the layer Min/Max
Bounding Box?
http://asus/geoserver152/wms/reflect?bbox=-100.0,30.0,-60.0,90.0&layers=geo:
state&format=application/rss%2Bxml

Looks like you are right, the bounding box is ignored... hmmm thats not good... that means any georss request will give you back all features... yikes. Scheduling a jira:

http://jira.codehaus.org/browse/GEOS-1272

Right now GeoRSS is the only cross service (GE, VE, and Yahoo) overlay
format. It would be nice if Microsoft and Yahoo would support KML, but I
somehow don't think Microsoft will make that leap.

I would tend to agree :).

Thanks
Randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Justin
Deoliveira
Sent: Monday, August 06, 2007 3:57 PM
To: dlamoris@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

I can also confirm that "application/rss+xml" does not work? It appears the "+" has to be url encoded. So if you use:

"format=application/rss%2Bxml"

It should work. Which is a bit confusing because other formats with "+" sign in them work without url encoding. for instance:

application/vnd.google-earth.kml+XML

Looks like KML does a special check:

format.startsWith("application/vnd.google-earth.kml").

Opening up a bug for this. Should be simple to fix. Should we get it into 1.5.2a?

http://jira.codehaus.org/browse/GEOS-1271

This also begs the larger question if we should put in a "global" check so this does not happen to other formats which use a "+" sign.

-Justin

-------------------------------------------------------------------------
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

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Right now GeoRSS is the only cross service (GE, VE, and Yahoo) overlay
format. It would be nice if Microsoft and Yahoo would support KML, but I
somehow don't think Microsoft will make that leap.

I would tend to agree :).

Actually Microsoft said they'll support KML in virtual earth in september/october release: http://geothought.blogspot.com/2007/07/microsoft-virtual-earth-to-support-kml.html

But I do agree our GeoRSS output should improve.

Thanks
Randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Justin
Deoliveira
Sent: Monday, August 06, 2007 3:57 PM
To: dlamoris@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

I can also confirm that "application/rss+xml" does not work? It appears the "+" has to be url encoded. So if you use:

"format=application/rss%2Bxml"

It should work. Which is a bit confusing because other formats with "+" sign in them work without url encoding. for instance:

application/vnd.google-earth.kml+XML

Looks like KML does a special check:

format.startsWith("application/vnd.google-earth.kml").

Opening up a bug for this. Should be simple to fix. Should we get it into 1.5.2a?

http://jira.codehaus.org/browse/GEOS-1271

This also begs the larger question if we should put in a "global" check so this does not happen to other formats which use a "+" sign.

-Justin

-------------------------------------------------------------------------
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

Hi,

Definitely, the reflector is just a shortcut so you don't have to fill
in all of the parameters.

Yes, I see my original wms url was pointing at the wrong geoserver. It does
work except for the bbox.

Is there a way to have georss:line or georss:polygon output?

The code is written to do it... its pretty trivial. Its just not really
hooked up. Perhaps this is something we could do as a outputFormat
option, that is an additional parameter specific to georss output.

Wouldn't the georss output depend on the backing data:
  the_geom: polygonProperty <georss:polygon>
  the_geom: lineStringProperty <georss:line>
   the_geom: pointProperty <georss:point> || <geo:lat>
<geo:long>

Using atom output I get a namespace error:
http://asus/geoserver152/wms?request=GetMap&layers=geo:state&styles=state&sr
s=EPSG:4326&bbox=-125,23,-65,53&WIDTH=1000&HEIGHT=500&format=application/ato
m%2Bxml

Reference to undeclared namespace prefix: 'georss'.
Line: 1 Character: 394

<?xml version="1.0" encoding="UTF-8"?><feed
xmlns="http://www.w3.org/2005/Atom&quot;
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#&quot;&gt;&lt;title/&gt;&lt;link
href="http://localhost…"/><updated>Tue Aug 07 09:21:33 MDT
2007</updated><entry><title>state.1</title><link
href="http://localhost…"/><id>state.1</id><updated>Tue Aug 07 09:21:34 MDT
2007</updated><content>some
content</content><georss:where><geo:lat>64.49432030231523</geo:lat><geo:long

-

Adding xmlns:georss="http://www.georss.org/georss&quot; to the <feed> will fix.

Randy

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: Monday, August 06, 2007 7:46 PM
To: Randy George
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

Randy George wrote:

Hi,

  I'm curious about Geoserver and GeoRSS.

Will application/rss+xml be available as an output format only using the
reflector or will this be possible?

http://localhost/geoserver/wms?request=GetMap&layers=geo:state&styles=state&

srs=EPSG:4326&bbox=-125,23,-65,53&WIDTH=1000&HEIGHT=500&format=application/r

ss%2Bxml

Definitely, the reflector is just a shortcut so you don't have to fill
in all of the parameters.

Is there a way to have georss:line or georss:polygon output?

The code is written to do it... its pretty trivial. Its just not really
hooked up. Perhaps this is something we could do as a outputFormat
option, that is an additional parameter specific to georss output.

Feel free to throw in a feature request for this.

Example:
<item>
<title>Coldwater Lake</title>
<description>Formed by the 1980 eruption of Mount St.

Helens.</description>

      <georss:polygon>46.31409 -122.22616 46.31113
-122.22968 46.31083 -122.23320 46.29802 -122.25877 46.29245 -122.26641
46.29286 -122.26392 46.28746 -122.26744 46.28741 -122.26006 46.29049
-122.25955 46.29120 -122.25620 46.28924 -122.255430 46.30271 -122.23251
46.31284 -122.22315 46.31409 -122.22616</georss:polygon>
<icon>./icons/green.jpg</icon>
</item>

  Also in the little bit of experimenting I've done so far I can't
seem to change the bbox? Does the reflector use only the layer Min/Max
Bounding Box?

http://asus/geoserver152/wms/reflect?bbox=-100.0,30.0,-60.0,90.0&layers=geo:

state&format=application/rss%2Bxml

Looks like you are right, the bounding box is ignored... hmmm thats not
good... that means any georss request will give you back all features...
yikes. Scheduling a jira:

http://jira.codehaus.org/browse/GEOS-1272

Right now GeoRSS is the only cross service (GE, VE, and Yahoo) overlay
format. It would be nice if Microsoft and Yahoo would support KML, but I
somehow don't think Microsoft will make that leap.

I would tend to agree :).

Thanks
Randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Justin
Deoliveira
Sent: Monday, August 06, 2007 3:57 PM
To: dlamoris@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

I can also confirm that "application/rss+xml" does not work? It appears
the "+" has to be url encoded. So if you use:

"format=application/rss%2Bxml"

It should work. Which is a bit confusing because other formats with "+"
sign in them work without url encoding. for instance:

application/vnd.google-earth.kml+XML

Looks like KML does a special check:

format.startsWith("application/vnd.google-earth.kml").

Opening up a bug for this. Should be simple to fix. Should we get it
into 1.5.2a?

http://jira.codehaus.org/browse/GEOS-1271

This also begs the larger question if we should put in a "global" check
so this does not happen to other formats which use a "+" sign.

-Justin

-------------------------------------------------------------------------

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

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Hi Chris,

Yes, I saw Peter's note on the VE support of KML, but I guess I have a hard
time believing it. Perhaps a subset of KML, but I would think they are more
interested in WPF/E support.

Randy

-----Original Message-----
From: Chris Holmes [mailto:cholmes@anonymised.com]
Sent: Monday, August 06, 2007 10:16 PM
To: Justin Deoliveira
Cc: Randy George; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

Right now GeoRSS is the only cross service (GE, VE, and Yahoo) overlay
format. It would be nice if Microsoft and Yahoo would support KML, but I
somehow don't think Microsoft will make that leap.

I would tend to agree :).

Actually Microsoft said they'll support KML in virtual earth in
september/october release:
http://geothought.blogspot.com/2007/07/microsoft-virtual-earth-to-support-km
l.html

But I do agree our GeoRSS output should improve.

Thanks
Randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of

Justin

Deoliveira
Sent: Monday, August 06, 2007 3:57 PM
To: dlamoris@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

I can also confirm that "application/rss+xml" does not work? It appears
the "+" has to be url encoded. So if you use:

"format=application/rss%2Bxml"

It should work. Which is a bit confusing because other formats with "+"
sign in them work without url encoding. for instance:

application/vnd.google-earth.kml+XML

Looks like KML does a special check:

format.startsWith("application/vnd.google-earth.kml").

Opening up a bug for this. Should be simple to fix. Should we get it
into 1.5.2a?

http://jira.codehaus.org/browse/GEOS-1271

This also begs the larger question if we should put in a "global" check
so this does not happen to other formats which use a "+" sign.

-Justin

-------------------------------------------------------------------------

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

>> The code is written to do it... its pretty trivial. Its just not really

hooked up. Perhaps this is something we could do as a outputFormat option, that is an additional parameter specific to georss output.

Wouldn't the georss output depend on the backing data:
  the_geom: polygonProperty <georss:polygon>
  the_geom: lineStringProperty <georss:line>
   the_geom: pointProperty <georss:point> || <geo:lat>
<geo:long>

Yup, and for points I guess there would be no change. But currently for lines and polygons points are still output. The reason being that most of the mashup clients only support points. Although I beleive yahoo supports additional geometries but via their extension? Not 100% sure.

Whats your application Randy? It should be pretty easy for us to come up with something that will work for you.

Using atom output I get a namespace error:
http://asus/geoserver152/wms?request=GetMap&layers=geo:state&styles=state&sr
s=EPSG:4326&bbox=-125,23,-65,53&WIDTH=1000&HEIGHT=500&format=application/ato
m%2Bxml

Reference to undeclared namespace prefix: 'georss'.
Line: 1 Character: 394

<?xml version="1.0" encoding="UTF-8"?><feed
xmlns="http://www.w3.org/2005/Atom&quot;
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#&quot;&gt;&lt;title/&gt;&lt;link
href="http://localhost…"/><updated>Tue Aug 07 09:21:33 MDT
2007</updated><entry><title>state.1</title><link
href="http://localhost…"/><id>state.1</id><updated>Tue Aug 07 09:21:34 MDT
2007</updated><content>some
content</content><georss:where><geo:lat>64.49432030231523</geo:lat><geo:long

-

Adding xmlns:georss="http://www.georss.org/georss&quot; to the <feed> will fix.

Thanks for the report. Scheduling an issue for it.

http://jira.codehaus.org/browse/GEOS-1273

Randy

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com] Sent: Monday, August 06, 2007 7:46 PM
To: Randy George
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

Randy George wrote:

Hi,

  I'm curious about Geoserver and GeoRSS.

Will application/rss+xml be available as an output format only using the
reflector or will this be possible?

http://localhost/geoserver/wms?request=GetMap&layers=geo:state&styles=state&
srs=EPSG:4326&bbox=-125,23,-65,53&WIDTH=1000&HEIGHT=500&format=application/r

ss%2Bxml

Definitely, the reflector is just a shortcut so you don't have to fill in all of the parameters.

Is there a way to have georss:line or georss:polygon output?

The code is written to do it... its pretty trivial. Its just not really hooked up. Perhaps this is something we could do as a outputFormat option, that is an additional parameter specific to georss output.

Feel free to throw in a feature request for this.

Example:
<item>
<title>Coldwater Lake</title>
<description>Formed by the 1980 eruption of Mount St.

Helens.</description>

      <georss:polygon>46.31409 -122.22616 46.31113
-122.22968 46.31083 -122.23320 46.29802 -122.25877 46.29245 -122.26641
46.29286 -122.26392 46.28746 -122.26744 46.28741 -122.26006 46.29049
-122.25955 46.29120 -122.25620 46.28924 -122.255430 46.30271 -122.23251
46.31284 -122.22315 46.31409 -122.22616</georss:polygon>
<icon>./icons/green.jpg</icon>
</item>

  Also in the little bit of experimenting I've done so far I can't
seem to change the bbox? Does the reflector use only the layer Min/Max
Bounding Box?

http://asus/geoserver152/wms/reflect?bbox=-100.0,30.0,-60.0,90.0&layers=geo:

state&format=application/rss%2Bxml

Looks like you are right, the bounding box is ignored... hmmm thats not good... that means any georss request will give you back all features... yikes. Scheduling a jira:

http://jira.codehaus.org/browse/GEOS-1272

Right now GeoRSS is the only cross service (GE, VE, and Yahoo) overlay
format. It would be nice if Microsoft and Yahoo would support KML, but I
somehow don't think Microsoft will make that leap.

I would tend to agree :).

Thanks
Randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Justin
Deoliveira
Sent: Monday, August 06, 2007 3:57 PM
To: dlamoris@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

I can also confirm that "application/rss+xml" does not work? It appears the "+" has to be url encoded. So if you use:

"format=application/rss%2Bxml"

It should work. Which is a bit confusing because other formats with "+" sign in them work without url encoding. for instance:

application/vnd.google-earth.kml+XML

Looks like KML does a special check:

format.startsWith("application/vnd.google-earth.kml").

Opening up a bug for this. Should be simple to fix. Should we get it into 1.5.2a?

http://jira.codehaus.org/browse/GEOS-1271

This also begs the larger question if we should put in a "global" check so this does not happen to other formats which use a "+" sign.

-Justin

-------------------------------------------------------------------------

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

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

As part of OWS-5 we're working on defining 'modules' of KML to make it easier for people to support sub-sets. Supporting the full of KML would be tough for anyone. I've never really heard of WPF, are they doing anything with it and mapping yet?

Chris

Randy George wrote:

Hi Chris,

Yes, I saw Peter's note on the VE support of KML, but I guess I have a hard
time believing it. Perhaps a subset of KML, but I would think they are more
interested in WPF/E support.

Randy

-----Original Message-----
From: Chris Holmes [mailto:cholmes@anonymised.com] Sent: Monday, August 06, 2007 10:16 PM
To: Justin Deoliveira
Cc: Randy George; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

Right now GeoRSS is the only cross service (GE, VE, and Yahoo) overlay
format. It would be nice if Microsoft and Yahoo would support KML, but I
somehow don't think Microsoft will make that leap.

I would tend to agree :).

Actually Microsoft said they'll support KML in virtual earth in september/october release: http://geothought.blogspot.com/2007/07/microsoft-virtual-earth-to-support-km
l.html

But I do agree our GeoRSS output should improve.

Thanks
Randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of

Justin

Deoliveira
Sent: Monday, August 06, 2007 3:57 PM
To: dlamoris@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoRSS output and google maps

I can also confirm that "application/rss+xml" does not work? It appears the "+" has to be url encoded. So if you use:

"format=application/rss%2Bxml"

It should work. Which is a bit confusing because other formats with "+" sign in them work without url encoding. for instance:

application/vnd.google-earth.kml+XML

Looks like KML does a special check:

format.startsWith("application/vnd.google-earth.kml").

Opening up a bug for this. Should be simple to fix. Should we get it into 1.5.2a?

http://jira.codehaus.org/browse/GEOS-1271

This also begs the larger question if we should put in a "global" check so this does not happen to other formats which use a "+" sign.

-Justin

-------------------------------------------------------------------------

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,46b89a67190082458217002!