I''m having trouble getting the GeoRSS Overlay example working on my computer. I''m following the example from the demo pretty much to the letter, using the same flickr URL. The only difference is I''m using a different API Key (of course) and my page is a JSP running under Tomcat. My API key works fine for regular Google Maps API, and I can see the Google Map, show the contols, create markers, etc. just fine with mapstraction. I''m using Firefox 2 on Leopard. Any suggestions on how to troubleshoot this would be greatly appreciated! - Michael
Thanks Pamela - that was indeed the issue. I got a new API key and now all is well. :-) - Michael --- pamela fox <pamela.fox at gmail.com> wrote:> To figure out if its a key error, check the ''gx'' request in the NET > tab in firebug. If it shows 610, then its a key problem. > Our ggeoxml key check is done separately from our script key check, > unfortunately, so there can be situations where the JS works and the > overlay doesn''t. > - pamela (google) > > > On 4/25/08, Michael Pelz-Sherman <mpelzsherman at yahoo.com> wrote: > > I''m having trouble getting the GeoRSS Overlay example working on my > > computer. > > > > I''m following the example from the demo pretty much to the letter, > > using the same flickr URL. > > > > The only difference is I''m using a different API Key (of course) and > > my page is a JSP running under Tomcat. > > > > My API key works fine for regular Google Maps API, and I can see the > > Google Map, show the contols, create markers, etc. just fine with > > mapstraction. > > > > I''m using Firefox 2 on Leopard. > > > > Any suggestions on how to troubleshoot this would be greatly > > appreciated! > > > > - Michael > > _______________________________________________ > > Mapstraction mailing list > > Mapstraction at lists.mapstraction.com > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > -- > Don''t miss Google''s biggest developer event of the year: > http://code.google.com/events/io >
Hmmm - apparently I spoke a bit too soon. The flickr RSS feed is working fine now, but not my own feed, which is running on my local server. I''m getting a 400 from the gx request. Is this because Google needs to be able to contact my RSS feed? - Michael --- pamela fox <pamela.fox at gmail.com> wrote:> To figure out if its a key error, check the ''gx'' request in the NET > tab in firebug. If it shows 610, then its a key problem. > Our ggeoxml key check is done separately from our script key check, > unfortunately, so there can be situations where the JS works and the > overlay doesn''t. > - pamela (google) > > > On 4/25/08, Michael Pelz-Sherman <mpelzsherman at yahoo.com> wrote: > > I''m having trouble getting the GeoRSS Overlay example working on my > > computer. > > > > I''m following the example from the demo pretty much to the letter, > > using the same flickr URL. > > > > The only difference is I''m using a different API Key (of course) and > > my page is a JSP running under Tomcat. > > > > My API key works fine for regular Google Maps API, and I can see the > > Google Map, show the contols, create markers, etc. just fine with > > mapstraction. > > > > I''m using Firefox 2 on Leopard. > > > > Any suggestions on how to troubleshoot this would be greatly > > appreciated! > > > > - Michael > > _______________________________________________ > > Mapstraction mailing list > > Mapstraction at lists.mapstraction.com > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > -- > Don''t miss Google''s biggest developer event of the year: > http://code.google.com/events/io >
On Fri, Apr 25, 2008 at 2:10 PM, Michael Pelz Sherman <mpelzsherman at yahoo.com> wrote:> Hmmm - apparently I spoke a bit too soon. > > The flickr RSS feed is working fine now, but not my own feed, which is running > on my local server. > > I''m getting a 400 from the gx request. > > Is this because Google needs to be able to contact my RSS feed?As far as I understand, they will. One option would be to use MGeoRSS: http://brainoff.com/gmaps/mgeorss.html> > > > - Michael > > --- pamela fox <pamela.fox at gmail.com> wrote: > > > To figure out if its a key error, check the ''gx'' request in the NET > > tab in firebug. If it shows 610, then its a key problem. > > Our ggeoxml key check is done separately from our script key check, > > unfortunately, so there can be situations where the JS works and the > > overlay doesn''t. > > - pamela (google) > > > > > > On 4/25/08, Michael Pelz-Sherman <mpelzsherman at yahoo.com> wrote: > > > I''m having trouble getting the GeoRSS Overlay example working on my > > > computer. > > > > > > I''m following the example from the demo pretty much to the letter, > > > using the same flickr URL. > > > > > > The only difference is I''m using a different API Key (of course) and > > > my page is a JSP running under Tomcat. > > > > > > My API key works fine for regular Google Maps API, and I can see the > > > Google Map, show the contols, create markers, etc. just fine with > > > mapstraction. > > > > > > I''m using Firefox 2 on Leopard. > > > > > > Any suggestions on how to troubleshoot this would be greatly > > > appreciated! > > > > > > - Michael > > > _______________________________________________ > > > Mapstraction mailing list > > > Mapstraction at lists.mapstraction.com > > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > > > > > -- > > Don''t miss Google''s biggest developer event of the year: > > http://code.google.com/events/io > > > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >-- Andrew Turner mobile: 248.982.3609 andrew at mapufacture.com 42.2774N x 83.7611W http://highearthorbit.com Ann Arbor, Michigan, USA http://mapufacture.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography
Yeah, thanks Andrew - guess I should have read the docs! "A GGeoXml object add geographic content to the map from an XML file (such as a KML file) that is hosted on a publicly accessible web server." This is an unfortunate limitation. Pamela, can you comment on whether Google has any plans to provide support for local GeoRSS feeds? --- Andrew Turner <ajturner at highearthorbit.com> wrote:> On Fri, Apr 25, 2008 at 2:10 PM, Michael Pelz Sherman > <mpelzsherman at yahoo.com> wrote: > > Hmmm - apparently I spoke a bit too soon. > > > > The flickr RSS feed is working fine now, but not my own feed, which is > running > > on my local server. > > > > I''m getting a 400 from the gx request. > > > > Is this because Google needs to be able to contact my RSS feed? > > As far as I understand, they will. > > One option would be to use MGeoRSS: http://brainoff.com/gmaps/mgeorss.html > > > > > > > > > > > - Michael > > > > --- pamela fox <pamela.fox at gmail.com> wrote: > > > > > To figure out if its a key error, check the ''gx'' request in the NET > > > tab in firebug. If it shows 610, then its a key problem. > > > Our ggeoxml key check is done separately from our script key check, > > > unfortunately, so there can be situations where the JS works and the > > > overlay doesn''t. > > > - pamela (google) > > > > > > > > > On 4/25/08, Michael Pelz-Sherman <mpelzsherman at yahoo.com> wrote: > > > > I''m having trouble getting the GeoRSS Overlay example working on my > > > > computer. > > > > > > > > I''m following the example from the demo pretty much to the letter, > > > > using the same flickr URL. > > > > > > > > The only difference is I''m using a different API Key (of course) and > > > > my page is a JSP running under Tomcat. > > > > > > > > My API key works fine for regular Google Maps API, and I can see the > > > > Google Map, show the contols, create markers, etc. just fine with > > > > mapstraction. > > > > > > > > I''m using Firefox 2 on Leopard. > > > > > > > > Any suggestions on how to troubleshoot this would be greatly > > > > appreciated! > > > > > > > > - Michael > > > > _______________________________________________ > > > > Mapstraction mailing list > > > > Mapstraction at lists.mapstraction.com > > > > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > > > > > > > > > -- > > > Don''t miss Google''s biggest developer event of the year: > > > http://code.google.com/events/io > > > > > > > _______________________________________________ > > Mapstraction mailing list > > Mapstraction at lists.mapstraction.com > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > > -- > Andrew Turner > mobile: 248.982.3609 > andrew at mapufacture.com 42.2774N x 83.7611W > http://highearthorbit.com Ann Arbor, Michigan, USA > > http://mapufacture.com Helping build the Geospatial Web > Introduction to Neogeography - http://oreilly.com/catalog/neogeography >
OK, so MGeoRSS works great with my local GeoRSS feed, but only with the "raw" Google Maps API, not with Mapstraction. I tried adding this line to mapstraction.js: Mapstraction.prototype.addMGeoRSS=function(a) { a.initialize(this); } ... which allows this code to run: var georss = new MGeoRSS(); mapstraction.addMGeoRSS(georss); georss.load("http://localhost:..."); ... but it looks like every geoxml point is generating a request back to Google, which is returning a 400 error since it can''t access my feed. Is there any way to get MGeoRSS to work with Mapstraction? FWIW, this is pretty much a "non starter" for us & Mapstraction. Thanks! - Michael
Michael Pelz Sherman
2008-Apr-25 19:44 UTC
[Mapstraction] [SOLVED] MGeoRSS and mapstraction
OK, never mind, I got it working. :-) var georss = new MGeoRSS(); mapstraction.getMap().addMGeoRSS(georss); georss.load("http://localhost..."); So far so good! Now I''m off to the races. - Michael
Actually I''m asking if the functionality provided by MGeoRSS (parsing local GeoRSS feeds) will some day be provided by Google in some way. MGeoRSS is tightly coupled to Google''s API, which pretty much renders mapstraction useless for us. I''ll enter an enhancement request for this, thanks. - Michael On Apr 30, 2008, at 5:36 PM, pamela fox wrote:> I think that basically you''re asking if GGeoXml can be made to accept > a string of XML, or an XML root node (retrieved after an XHR) instead > of a public URL. > > A few people have mentioned that but there hasn''t been a huge need for > it since there are several open-source parsing options (MGeoRSS for > GeoRSS, and EGeoXml for KML files). Feel free to file a feature > request here: > http://code.google.com/p/gmaps-api-issues/issues/list > > - pamela > > On Fri, Apr 25, 2008 at 11:48 AM, Michael Pelz Sherman > <mpelzsherman at yahoo.com> wrote: >> Yeah, thanks Andrew - guess I should have read the docs! >> >> "A GGeoXml object add geographic content to the map from an XML >> file (such as a >> KML file) that is hosted on a publicly accessible web server." >> >> This is an unfortunate limitation. Pamela, can you comment on >> whether Google >> has any plans to provide support for local GeoRSS feeds? >> >> >> >> --- Andrew Turner <ajturner at highearthorbit.com> wrote: >> >>> On Fri, Apr 25, 2008 at 2:10 PM, Michael Pelz Sherman >>> <mpelzsherman at yahoo.com> wrote: >>>> Hmmm - apparently I spoke a bit too soon. >>>> >>>> The flickr RSS feed is working fine now, but not my own feed, >>>> which is >>> running >>>> on my local server. >>>> >>>> I''m getting a 400 from the gx request. >>>> >>>> Is this because Google needs to be able to contact my RSS feed? >>> >>> As far as I understand, they will. >>> >>> One option would be to use MGeoRSS: http://brainoff.com/gmaps/mgeorss.html >>> >>> >>> >>>> >>>> >>>> >>>> - Michael >>>> >>>> --- pamela fox <pamela.fox at gmail.com> wrote: >>>> >>>>> To figure out if its a key error, check the ''gx'' request in the >>>>> NET >>>>> tab in firebug. If it shows 610, then its a key problem. >>>>> Our ggeoxml key check is done separately from our script key >>>>> check, >>>>> unfortunately, so there can be situations where the JS works and >>>>> the >>>>> overlay doesn''t. >>>>> - pamela (google) >>>>> >>>>> >>>>> On 4/25/08, Michael Pelz-Sherman <mpelzsherman at yahoo.com> wrote: >>>>>> I''m having trouble getting the GeoRSS Overlay example working >>>>>> on my >>>>>> computer. >>>>>> >>>>>> I''m following the example from the demo pretty much to the >>>>>> letter, >>>>>> using the same flickr URL. >>>>>> >>>>>> The only difference is I''m using a different API Key (of >>>>>> course) and >>>>>> my page is a JSP running under Tomcat. >>>>>> >>>>>> My API key works fine for regular Google Maps API, and I can >>>>>> see the >>>>>> Google Map, show the contols, create markers, etc. just fine with >>>>>> mapstraction. >>>>>> >>>>>> I''m using Firefox 2 on Leopard. >>>>>> >>>>>> Any suggestions on how to troubleshoot this would be greatly >>>>>> appreciated! >>>>>> >>>>>> - Michael >>>>>> _______________________________________________ >>>>>> Mapstraction mailing list >>>>>> Mapstraction at lists.mapstraction.com >>>>>> >>> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >>>>>> >>>>> >>>>> >>>>> -- >>>>> Don''t miss Google''s biggest developer event of the year: >>>>> http://code.google.com/events/io >>>>> >>>> >>>> _______________________________________________ >>>> Mapstraction mailing list >>>> Mapstraction at lists.mapstraction.com >>>> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >>>> >>> >>> >>> >>> -- >>> Andrew Turner >>> mobile: 248.982.3609 >>> andrew at mapufacture.com 42.2774N x 83.7611W >>> http://highearthorbit.com Ann Arbor, Michigan, USA >>> >>> http://mapufacture.com Helping build the Geospatial Web >>> Introduction to Neogeography - http://oreilly.com/catalog/neogeography >>> >> >> > > > > -- > Don''t miss Google''s biggest developer event of the year: > http://code.google.com/events/io
On Wed, Apr 30, 2008 at 8:04 PM, Michael Pelz-Sherman <mpelzsherman at yahoo.com> wrote:> Actually I''m asking if the functionality provided by MGeoRSS (parsing local > GeoRSS feeds) will some day be provided by Google in some way.Well, considering MGeoRSS was written by one of the original developers of Mapstraction (Mikel) seems like he could take a look at migrating it. :) Also, anyone is free to modify MGeoRSS to use the Mapstraction API.> > MGeoRSS is tightly coupled to Google''s API, which pretty much renders > mapstraction useless for us. > > I''ll enter an enhancement request for this, thanks. > > - Michael > > > > On Apr 30, 2008, at 5:36 PM, pamela fox wrote: > > > > I think that basically you''re asking if GGeoXml can be made to accept > > a string of XML, or an XML root node (retrieved after an XHR) instead > > of a public URL. > > > > A few people have mentioned that but there hasn''t been a huge need for > > it since there are several open-source parsing options (MGeoRSS for > > GeoRSS, and EGeoXml for KML files). Feel free to file a feature > > request here: > > http://code.google.com/p/gmaps-api-issues/issues/list > > > > - pamela > > > > On Fri, Apr 25, 2008 at 11:48 AM, Michael Pelz Sherman > > <mpelzsherman at yahoo.com> wrote: > > > > > Yeah, thanks Andrew - guess I should have read the docs! > > > > > > "A GGeoXml object add geographic content to the map from an XML file > (such as a > > > KML file) that is hosted on a publicly accessible web server." > > > > > > This is an unfortunate limitation. Pamela, can you comment on whether > Google > > > has any plans to provide support for local GeoRSS feeds? > > > > > > > > > > > > --- Andrew Turner <ajturner at highearthorbit.com> wrote: > > > > > > > > > > On Fri, Apr 25, 2008 at 2:10 PM, Michael Pelz Sherman > > > > <mpelzsherman at yahoo.com> wrote: > > > > > > > > > Hmmm - apparently I spoke a bit too soon. > > > > > > > > > > The flickr RSS feed is working fine now, but not my own feed, which > is > > > > > > > > > running > > > > > > > > > on my local server. > > > > > > > > > > I''m getting a 400 from the gx request. > > > > > > > > > > Is this because Google needs to be able to contact my RSS feed? > > > > > > > > > > > > > As far as I understand, they will. > > > > > > > > One option would be to use MGeoRSS: > http://brainoff.com/gmaps/mgeorss.html > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - Michael > > > > > > > > > > --- pamela fox <pamela.fox at gmail.com> wrote: > > > > > > > > > > > > > > > > To figure out if its a key error, check the ''gx'' request in the > NET > > > > > > tab in firebug. If it shows 610, then its a key problem. > > > > > > Our ggeoxml key check is done separately from our script key > check, > > > > > > unfortunately, so there can be situations where the JS works and > the > > > > > > overlay doesn''t. > > > > > > - pamela (google) > > > > > > > > > > > > > > > > > > On 4/25/08, Michael Pelz-Sherman <mpelzsherman at yahoo.com> wrote: > > > > > > > > > > > > > I''m having trouble getting the GeoRSS Overlay example working on > my > > > > > > > computer. > > > > > > > > > > > > > > I''m following the example from the demo pretty much to the > letter, > > > > > > > using the same flickr URL. > > > > > > > > > > > > > > The only difference is I''m using a different API Key (of course) > and > > > > > > > my page is a JSP running under Tomcat. > > > > > > > > > > > > > > My API key works fine for regular Google Maps API, and I can see > the > > > > > > > Google Map, show the contols, create markers, etc. just fine > with > > > > > > > mapstraction. > > > > > > > > > > > > > > I''m using Firefox 2 on Leopard. > > > > > > > > > > > > > > Any suggestions on how to troubleshoot this would be greatly > > > > > > > appreciated! > > > > > > > > > > > > > > - Michael > > > > > > > _______________________________________________ > > > > > > > Mapstraction mailing list > > > > > > > Mapstraction at lists.mapstraction.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Don''t miss Google''s biggest developer event of the year: > > > > > > http://code.google.com/events/io > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Mapstraction mailing list > > > > > Mapstraction at lists.mapstraction.com > > > > > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Andrew Turner > > > > mobile: 248.982.3609 > > > > andrew at mapufacture.com 42.2774N x 83.7611W > > > > http://highearthorbit.com Ann Arbor, Michigan, USA > > > > > > > > http://mapufacture.com Helping build the Geospatial Web > > > > Introduction to Neogeography - http://oreilly.com/catalog/neogeography > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Don''t miss Google''s biggest developer event of the year: > > http://code.google.com/events/io > > > >-- Andrew Turner mobile: 248.982.3609 andrew at mapufacture.com 42.2774N x 83.7611W http://highearthorbit.com Ann Arbor, Michigan, USA http://mapufacture.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography
I was considering doing just that. I think what''s needed perhaps is to make MGeoRSS part of mapstraction, and use it in place of the vendor- specific implementations, since many of them probably have this same limitation. On Apr 30, 2008, at 8:34 PM, Andrew Turner wrote:> anyone is free to modify MGeoRSS to use the > Mapstraction API.
Hi - thanks for checking in - nope, it just wasn''t a high enough priority for us yet since Google is the only API we need to support for the foreseeable future. I''ve had to modify the MGeoRSS code fairly significantly as well to suit our needs for custom HTML in the info windows, paging support, etc. Once I have finished up my project, I''d like to take a stab at this, but alas, I have a deadline to meet. :-) - Michael --- pamela fox <pamela.fox at gmail.com> wrote:> Did you end up porting MGeoRSS to mapstraction? I just had a question > about it today. > > On Wed, Apr 30, 2008 at 6:16 PM, Michael Pelz-Sherman > <mpelzsherman at yahoo.com> wrote: > > I was considering doing just that. I think what''s needed perhaps is to make > > MGeoRSS part of mapstraction, and use it in place of the vendor-specific > > implementations, since many of them probably have this same limitation. > > > > On Apr 30, 2008, at 8:34 PM, Andrew Turner wrote: > > > >> anyone is free to modify MGeoRSS to use the > >> Mapstraction API. > > > > > > > > -- > Don''t miss Google''s biggest developer event of the year: > http://code.google.com/events/io >