Hi all, I have been playing around a bit with the GeoRSS example at http://mapstraction.com/demo-georss.php Is there any way to use .gpx data format to display markers instead of georss data format? I am aware that there are converters, but can''t it be done directly? Thanks, Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090603/944c9f2d/attachment.htm>
On Wed, Jun 3, 2009 at 3:42 AM, Jan Martin <janmartin3 at googlemail.com> wrote:> Hi all, > > I have been playing around a bit with the GeoRSS example at > http://mapstraction.com/demo-georss.php > > Is there any way to use .gpx data format to display markers instead of > georss data format? > I am aware that there are converters, but can''t it be done directly? >The GeoRSS and KML overlays utilize the provider supplied parsing. What you would need to add would be a JavaScript GPX parser. I suggest checking out: http://brainoff.com/gmaps/mgeorss.html http://code.google.com/p/timemap/source/browse/trunk/georssparser.js?spec=svn132&r=132 This can happen outside of any provider - you maybe consider trying to build a mxn.data.js - that could first do gpx, but then also georss, kml, geojson parsing for providers that don''t support them.> Thanks, > Jan > > _______________________________________________ > 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 fortiusone.com http://highearthorbit.com http://geocommons.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography
A gpx import is quite straight forward, you can just load it into a DOM and loop through generating an array of LatLngPoints from the routepoints and then create a polyline from the array. Waypoints you can add as markers with an infobubble. Andrew is right that a data module would be good. I''m also keen to look at a marker manager and any other nice little bits of functionality we could add that lots of providers don''t support natively. Show that even though it''s abstracted you can still build rich apps. Derek On 6/3/09, Andrew Turner <andrew at highearthorbit.com> wrote:> On Wed, Jun 3, 2009 at 3:42 AM, Jan Martin <janmartin3 at googlemail.com> > wrote: >> Hi all, >> >> I have been playing around a bit with the GeoRSS example at >> http://mapstraction.com/demo-georss.php >> >> Is there any way to use .gpx data format to display markers instead of >> georss data format? >> I am aware that there are converters, but can''t it be done directly? >> > > The GeoRSS and KML overlays utilize the provider supplied parsing. > > What you would need to add would be a JavaScript GPX parser. I suggest > checking out: > > http://brainoff.com/gmaps/mgeorss.html > > http://code.google.com/p/timemap/source/browse/trunk/georssparser.js?spec=svn132&r=132 > > This can happen outside of any provider - you maybe consider trying to > build a mxn.data.js - that could first do gpx, but then also georss, > kml, geojson parsing for providers that don''t support them. > > > >> Thanks, >> Jan >> >> _______________________________________________ >> 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 fortiusone.com > http://highearthorbit.com > > http://geocommons.com Helping build the Geospatial Web > Introduction to Neogeography - http://oreilly.com/catalog/neogeography > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >-- Sent from Google Mail for mobile | mobile.google.com Derek Fowler m. +44 (0) 7966 512 369 e. dezfowler at gmail.com
Derek Fowler wrote:> A gpx import is quite straight forward, you can just load it into a > DOM and loop through generating an array of LatLngPoints from the > routepoints and then create a polyline from the array. Waypoints you > can add as markers with an infobubble. > > Andrew is right that a data module would be good. I''m also keen to > look at a marker manager and any other nice little bits of > functionality we could add that lots of providers don''t support > natively. Show that even though it''s abstracted you can still build > rich apps. >We talked briefly at WhereCamp about the idea of using/adapting the gmaps-utility-library''s marker manager (or other bits): http://code.google.com/p/gmaps-utility-library/ ...and I agree this (or a custom built/other mgr) would be a valuable addition.> Derek > > On 6/3/09, Andrew Turner<andrew at highearthorbit.com> wrote: > >> On Wed, Jun 3, 2009 at 3:42 AM, Jan Martin<janmartin3 at googlemail.com> >> wrote: >> >>> Hi all, >>> >>> I have been playing around a bit with the GeoRSS example at >>> http://mapstraction.com/demo-georss.php >>> >>> Is there any way to use .gpx data format to display markers instead of >>> georss data format? >>> I am aware that there are converters, but can''t it be done directly? >>> >>> >> The GeoRSS and KML overlays utilize the provider supplied parsing. >> >> What you would need to add would be a JavaScript GPX parser. I suggest >> checking out: >> >> http://brainoff.com/gmaps/mgeorss.html >> >> http://code.google.com/p/timemap/source/browse/trunk/georssparser.js?spec=svn132&r=132 >> >> This can happen outside of any provider - you maybe consider trying to >> build a mxn.data.js - that could first do gpx, but then also georss, >> kml, geojson parsing for providers that don''t support them. >> >> >> >> >>> Thanks, >>> Jan >>> >>> _______________________________________________ >>> 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 fortiusone.com >> http://highearthorbit.com >> >> http://geocommons.com Helping build the Geospatial Web >> Introduction to Neogeography - http://oreilly.com/catalog/neogeography >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> >> > >-- Andrew Turner m: 248.982.3609 e: andrew at highearthorbit.com t: @ajturner b: http://highearthorbit.com w: http://geocommons.com Introduction to Neogeography - http://oreilly.com/catalog/neogeography -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090604/f1030674/attachment.htm>
That marker manager doesn''t seem that rich, for example I was thinking about having data attached to markers and being able to filter those currently shown by some value in that data also breaking markers into categories. Clustering markers is another interesting one. Multimap does that in a nice way, could maybe introduce mapstraction graphics for this to make the normal markers and clustered look consistent. Derek On Thu, Jun 4, 2009 at 1:07 PM, Andrew Turner <ajturner at highearthorbit.com>wrote:> Derek Fowler wrote: > > A gpx import is quite straight forward, you can just load it into a > DOM and loop through generating an array of LatLngPoints from the > routepoints and then create a polyline from the array. Waypoints you > can add as markers with an infobubble. > > Andrew is right that a data module would be good. I''m also keen to > look at a marker manager and any other nice little bits of > functionality we could add that lots of providers don''t support > natively. Show that even though it''s abstracted you can still build > rich apps. > > > We talked briefly at WhereCamp about the idea of using/adapting the > gmaps-utility-library''s marker manager (or other bits): > http://code.google.com/p/gmaps-utility-library/ > > ...and I agree this (or a custom built/other mgr) would be a valuable > addition. > > > > Derek > > On 6/3/09, Andrew Turner <andrew at highearthorbit.com> <andrew at highearthorbit.com> wrote: > > > On Wed, Jun 3, 2009 at 3:42 AM, Jan Martin <janmartin3 at googlemail.com> <janmartin3 at googlemail.com> > wrote: > > > Hi all, > > I have been playing around a bit with the GeoRSS example athttp://mapstraction.com/demo-georss.php > > Is there any way to use .gpx data format to display markers instead of > georss data format? > I am aware that there are converters, but can''t it be done directly? > > > > The GeoRSS and KML overlays utilize the provider supplied parsing. > > What you would need to add would be a JavaScript GPX parser. I suggest > checking out: > http://brainoff.com/gmaps/mgeorss.html > http://code.google.com/p/timemap/source/browse/trunk/georssparser.js?spec=svn132&r=132 > > This can happen outside of any provider - you maybe consider trying to > build a mxn.data.js - that could first do gpx, but then also georss, > kml, geojson parsing for providers that don''t support them. > > > > > > Thanks, > Jan > > _______________________________________________ > Mapstraction mailing listMapstraction at lists.mapstraction.comhttp://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > -- > Andrew Turner > mobile: 248.982.3609andrew at fortiusone.comhttp://highearthorbit.com > http://geocommons.com Helping build the Geospatial Web > Introduction to Neogeography - http://oreilly.com/catalog/neogeography > _______________________________________________ > Mapstraction mailing listMapstraction at lists.mapstraction.comhttp://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > -- > Andrew Turner > m: 248.982.3609 e: andrew at highearthorbit.com t: @ajturner > b: http://highearthorbit.com w: http://geocommons.com > Introduction to Neogeography - http://oreilly.com/catalog/neogeography > >-- Derek Fowler m. +44 (0) 7966 512 369 e. dezfowler at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090604/29f588c9/attachment-0001.htm>
The MarkerManager simply accomplishes the task of only physically displaying (w/DOM elements) the markers in the visible viewport. So it can keep many thousands of markers in memory in a 3-d grid and only addOverlay() on whichever are in the currently visible grid squares. To work well, the developer should specify fewer markers to be displayed at the lower zoom levels -- whether these be cluster markers or just the most popular markers for a dataset. It doesn''t try to solve clustering or categorizing. Several other libraries do, however. We recently released open source MarkerClusterer for client-side clustering, and that''s easy enough code to work off of. On Thu, Jun 4, 2009 at 5:29 AM, Derek Fowler <dezfowler at gmail.com> wrote:> That marker manager doesn''t seem that rich, for example I was thinking about > having data attached to markers and being able to filter those currently > shown by some value in that data also breaking markers into categories. > > Clustering markers is another interesting one. Multimap does that in a nice > way, could maybe introduce mapstraction graphics for this to make the normal > markers and clustered look consistent. > > Derek > > On Thu, Jun 4, 2009 at 1:07 PM, Andrew Turner <ajturner at highearthorbit.com> > wrote: >> >> Derek Fowler wrote: >> >> A gpx import is quite straight forward, you can just load it into a >> DOM and loop through generating an array of LatLngPoints from the >> routepoints and then create a polyline from the array. Waypoints you >> can add as markers with an infobubble. >> >> Andrew is right that a data module would be good. I''m also keen to >> look at a marker manager and any other nice little bits of >> functionality we could add that lots of providers don''t support >> natively. Show that even though it''s abstracted you can still build >> rich apps. >> >> >> We talked briefly at WhereCamp about the idea of using/adapting the >> gmaps-utility-library''s marker manager (or other bits): >> http://code.google.com/p/gmaps-utility-library/ >> >> ...and I agree this (or a custom built/other mgr) would be a valuable >> addition. >> >> >> >> Derek >> >> On 6/3/09, Andrew Turner <andrew at highearthorbit.com> wrote: >> >> >> On Wed, Jun 3, 2009 at 3:42 AM, Jan Martin <janmartin3 at googlemail.com> >> wrote: >> >> >> Hi all, >> >> I have been playing around a bit with the GeoRSS example at >> http://mapstraction.com/demo-georss.php >> >> Is there any way to use .gpx data format to display markers instead of >> georss data format? >> I am aware that there are converters, but can''t it be done directly? >> >> >> >> The GeoRSS and KML overlays utilize the provider supplied parsing. >> >> What you would need to add would be a JavaScript GPX parser. I suggest >> checking out: >> >> http://brainoff.com/gmaps/mgeorss.html >> >> >> http://code.google.com/p/timemap/source/browse/trunk/georssparser.js?spec=svn132&r=132 >> >> This can happen outside of any provider - you maybe consider trying to >> build a mxn.data.js - that could first do gpx, but then also georss, >> kml, geojson parsing for providers that don''t support them. >> >> >> >> >> >> Thanks, >> Jan >> >> _______________________________________________ >> 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 fortiusone.com >> http://highearthorbit.com >> >> http://geocommons.com Helping build the Geospatial Web >> Introduction to Neogeography - http://oreilly.com/catalog/neogeography >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> >> >> >> >> >> -- >> Andrew Turner >> m: 248.982.3609 e: andrew at highearthorbit.com t: @ajturner >> b: http://highearthorbit.com w: http://geocommons.com >> Introduction to Neogeography - http://oreilly.com/catalog/neogeography >> > > > > -- > Derek Fowler > m. +44 (0) 7966 512 369 > e. dezfowler at gmail.com > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >
Hi all, as I already mentioned to Andrew Turner, my skillset is not sufficient to develop mxn.data.js to handle gpx from scratch. However Derek Fowlers plan for mxn.data.js is very tempting: "A gpx import is quite straight forward, you can just load it into a DOM and loop through generating an array of LatLngPoints from the routepoints and then create a polyline from the array. Waypoints you can add as markers with an infobubble." I am sure "markers from track" isn''t to complicated either, cause thats what I am looking for. Anyone in the mapstraction community interested to start mxn.data.js development? Jan On Thu, Jun 4, 2009 at 2:34 PM, pamela fox <pammyla.fox at gmail.com> wrote:> The MarkerManager simply accomplishes the task of only physically > displaying (w/DOM elements) the markers in the visible viewport. So it > can keep many thousands of markers in memory in a 3-d grid and only > addOverlay() on whichever are in the currently visible grid squares. > To work well, the developer should specify fewer markers to be > displayed at the lower zoom levels -- whether these be cluster markers > or just the most popular markers for a dataset. > > It doesn''t try to solve clustering or categorizing. Several other > libraries do, however. We recently released open source > MarkerClusterer for client-side clustering, and that''s easy enough > code to work off of. > > > On Thu, Jun 4, 2009 at 5:29 AM, Derek Fowler <dezfowler at gmail.com> wrote: > > That marker manager doesn''t seem that rich, for example I was thinking > about > > having data attached to markers and being able to filter those currently > > shown by some value in that data also breaking markers into categories. > > > > Clustering markers is another interesting one. Multimap does that in a > nice > > way, could maybe introduce mapstraction graphics for this to make the > normal > > markers and clustered look consistent. > > > > Derek > > > > On Thu, Jun 4, 2009 at 1:07 PM, Andrew Turner < > ajturner at highearthorbit.com> > > wrote: > >> > >> Derek Fowler wrote: > >> > >> A gpx import is quite straight forward, you can just load it into a > >> DOM and loop through generating an array of LatLngPoints from the > >> routepoints and then create a polyline from the array. Waypoints you > >> can add as markers with an infobubble. > >> > >> Andrew is right that a data module would be good. I''m also keen to > >> look at a marker manager and any other nice little bits of > >> functionality we could add that lots of providers don''t support > >> natively. Show that even though it''s abstracted you can still build > >> rich apps. > >> > >> > >> We talked briefly at WhereCamp about the idea of using/adapting the > >> gmaps-utility-library''s marker manager (or other bits): > >> http://code.google.com/p/gmaps-utility-library/ > >> > >> ...and I agree this (or a custom built/other mgr) would be a valuable > >> addition. > >> > >> > >> > >> Derek > >> > >> On 6/3/09, Andrew Turner <andrew at highearthorbit.com> wrote: > >> > >> > >> On Wed, Jun 3, 2009 at 3:42 AM, Jan Martin <janmartin3 at googlemail.com> > >> wrote: > >> > >> > >> Hi all, > >> > >> I have been playing around a bit with the GeoRSS example at > >> http://mapstraction.com/demo-georss.php > >> > >> Is there any way to use .gpx data format to display markers instead of > >> georss data format? > >> I am aware that there are converters, but can''t it be done directly? > >> > >> > >> > >> The GeoRSS and KML overlays utilize the provider supplied parsing. > >> > >> What you would need to add would be a JavaScript GPX parser. I suggest > >> checking out: > >> > >> http://brainoff.com/gmaps/mgeorss.html > >> > >> > >> > http://code.google.com/p/timemap/source/browse/trunk/georssparser.js?spec=svn132&r=132 > >> > >> This can happen outside of any provider - you maybe consider trying to > >> build a mxn.data.js - that could first do gpx, but then also georss, > >> kml, geojson parsing for providers that don''t support them. > >> > >> > >> > >> > >> > >> Thanks, > >> Jan > >> > >> _______________________________________________ > >> 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 fortiusone.com > >> http://highearthorbit.com > >> > >> http://geocommons.com Helping build the Geospatial Web > >> Introduction to Neogeography - http://oreilly.com/catalog/neogeography > >> _______________________________________________ > >> Mapstraction mailing list > >> Mapstraction at lists.mapstraction.com > >> > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >> > >> > >> > >> > >> > >> -- > >> Andrew Turner > >> m: 248.982.3609 e: andrew at highearthorbit.com t: @ajturner > >> b: http://highearthorbit.com w: http://geocommons.com > >> Introduction to Neogeography - http://oreilly.com/catalog/neogeography > >> > > > > > > > > -- > > Derek Fowler > > m. +44 (0) 7966 512 369 > > e. dezfowler at gmail.com > > > > _______________________________________________ > > Mapstraction mailing list > > Mapstraction at lists.mapstraction.com > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090610/38f7806e/attachment.htm>