Re: [Viking-devel] Proposed Minor Features

2014-03-26 Thread Greg Troxel

Robert Norris  writes:

> A deeper question is how maps.xml extension file is distributed, since
> Viking doesn't directly control this, although the data/maps.xml is
> designed to be installed into /usr/share/viking or whatever the path
> is.

I don't follow "doesn't directly control this".  It seems that it's in
the release tarball, and the straightforward install installs it.  So
when a new maps.xml is in a release, and people update, they'll have the
new default config.  That seems obviously sensible.

> Note the Window's install doesn't do anything about it.

So that's broken :-)  But I don't think the windows' installer not doing
the right thing should matter much in what happens.

> ATM The maps.xml file could change rapidly but it probably won't be
> picked up by users until the next formal Viking release.

True, but that would be true of a list that was in the source code.  If
there's an urgent change, then a release could be made.

> I think anything added into data/maps.xml file should have 
> explicit permission.

Agreed; that sounds like a safe and polite policy.


pgpL2Q5ba0ni6.pgp
Description: PGP signature
--
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Re: [Viking-devel] Proposed Minor Features

2014-03-22 Thread Robert Norris
Try again as my message seems blank!

> From: g...@ir.bbn.com
> To: matthewha...@zoho.com
> CC: rw_nor...@hotmail.com; viking-devel@lists.sourceforge.net
> Subject: Re: [Viking-devel] Proposed Minor Features
> Date: Fri, 21 Mar 2014 11:04:39 -0400
>
>
> My leaning is that while having a tile sources list on the wiki is
> great, the builtin set should be curated to be a good set for most
> people. So that definitely means pruning ones that don't work, but also
> being judicious about what to add. It might be reasonable to have the 5
> layers that openstreetmap.org has. Adding lonvia's hike/bike maps would
> be sensible too, as they seem to be of general interest. But I wonder
> if we should be inquiring of these places first.

I've updated the master code to report failing Tile (& DEM) downloads.

I will remove the failing built in maps soon and failing maps.xml entries.

A deeper question is how maps.xml extension file is distributed, since Viking 
doesn't directly control this, although the
data/maps.xml is designed to be installed into /usr/share/viking or whatever 
the path is.

Note the Window's install doesn't do anything about it.

ATM The maps.xml file could change rapidly but it probably won't be picked up 
by users until the next formal Viking release.

I think anything added into data/maps.xml file should have 
explicit permission.

NB Lonvia's maps tiles base URLs are:http://tile.waymarkedtrails.org/skating/
http://tile.waymarkedtrails.org/mtb/
http://tile.waymarkedtrails.org/cycling/
http://tile.waymarkedtrails.org/slopemap/
http://tile.waymarkedtrails.org/hiking/ 
  
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/


Re: [Viking-devel] Proposed Minor Features

2014-03-22 Thread Robert Norris
> From: g...@ir.bbn.com
> To: matthewha...@zoho.com
> CC: rw_nor...@hotmail.com; viking-devel@lists.sourceforge.net
> Subject: Re: [Viking-devel] Proposed Minor Features
> Date: Fri, 21 Mar 2014 11:04:39 -0400
>
>
> My leaning is that while having a tile sources list on the wiki is
> great, the builtin set should be curated to be a good set for most
> people. So that definitely means pruning ones that don't work, but also
> being judicious about what to add. It might be reasonable to have the 5
> layers that openstreetmap.org has. Adding lonvia's hike/bike maps would
> be sensible too, as they seem to be of general interest. But I wonder
> if we should be inquiring of these places first.

I've updated the master code to report failing Tile (& DEM) downloads.

I will remove the failing built in maps soon and failing maps.xml entries.

A deeper question is how maps.xml extension file is distributed, since Viking 
doesn't directly control this, although the
data/maps.xml is designed to be installed into /usr/share/viking or whatever 
the path is.

Note the Window's install doesn't do anything about it.

ATM The maps.xml file could change rapidly but it probably won't be picked up 
by users until the next formal Viking release.

I think anything added into data/maps.xml file should have 
explicit permission.

NB Lonvia's maps tiles base URLs are:http://tile.waymarkedtrails.org/skating/
http://tile.waymarkedtrails.org/mtb/
http://tile.waymarkedtrails.org/cycling/
http://tile.waymarkedtrails.org/slopemap/
http://tile.waymarkedtrails.org/hiking/ 
  
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/


Re: [Viking-devel] Proposed Minor Features

2014-03-21 Thread Robert Norris
>
> Thanks for the response! Apologies for being one of those people who don't
> RTFM!

I don't really expect many people to read the fine manual.

Being a developer, you can of course read the fine source ;)

I expect most people to learn of these things by trail and error.
 
>> Otherwise window layout UI ones are saved automatically and only restored if
>> you use the Preference->Startup->Restore Window Setup
>
> I can't get this to work: i enabled that option after opening Viking with no
> arguments (and no default start up file), pressed F6 to get rid of the mark,
> closed Viking and then restarted, and the center mark was back again.

The restore window setup only does these:
.Window maximised or otherwise size
.Whether statusbar is shown
.Whether the layers panel is shown
.Whether the toolbar is shown

The cross hairs and scale is left to the settings in the .vik file.

I suppose I could extend the auto preferences to include these things and then 
if Viking is opened with a Viking file then those settings in the .vik file 
will take precedence.


>
>> ? If you use the 'Select' tool you can drag route points. The Trackpoint
>> Edit tool, as the name suggest only works on Trackpoints. I was tempted to
>> remove the Trackpoint Edit tool mode and force using the Select tool but in
>> the end left the original UI as is.
>
> Ah -- i never tried the select tool. This seems odd to me: the select tool
> appears in the section of browsing tools rather than editing tools, and
> already the track edit tool provides most of the editing features for the
> route points. Select is nicer to use because it doesn't pop up the dialog,
> but maybe it should be moved into the next tool bar section?

Since the Select tool operates independent of the layer selected, it lives in 
the VikWindow level of tools (which are Pan, Zoom & Ruler)

Anyway also I think of Select is a kind of 'browse' tool.

>> Probably - I never use these map types, so I don't notice when they go
>> missing.
>
> Me either -- but when you first start using Viking it's not encouraging to
> find a large number of the maps don't do anything, so i thought it was worth
> cleaning them up a bit. Maybe there needs to be a visible warning when
> download fails.

Certainly some UI feedback about failing downloads should be done.

I will add something that reports failures to the Info section of the 
statusbar.  
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/


Re: [Viking-devel] Proposed Minor Features

2014-03-21 Thread Greg Troxel

My leaning is that while having a tile sources list on the wiki is
great, the builtin set should be curated to be a good set for most
people.  So that definitely means pruning ones that don't work, but also
being judicious about what to add.  It might be reasonable to have the 5
layers that openstreetmap.org has.  Adding lonvia's hike/bike maps would
be sensible too, as they seem to be of general interest.   But I wonder
if we should be inquiring of these places first.


pgpEbcULJ2ZiS.pgp
Description: PGP signature
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Re: [Viking-devel] Proposed Minor Features

2014-03-21 Thread Matthew Hague


Thanks for the response!  Apologies for being one of those people who don't
RTFM!  

> > + Show all / hide all &c. for map layers / sub-layers.
> 
> ?
> There
>  already are Show All/Hide All/Toggle options for any layers within an 
> Aggregate layer. (Right click on it -> Visibility -> ...)

I didn't spot this!  I think what i was really looking for when i was clicking
around was a "show only this layer/route/&c." option.  I remember this being a
fairly intuitive thing to figure out in photoshop.  The semantics would be a
little more involved given the nested layer structure, and i can't quite
remember how photoshop made it so obvious.  Gimp has shift-click at least.
I'll think about exactly what i mean :)  Thanks for pointing out the existing
functionality.

> Otherwise window layout UI ones are saved automatically and only restored if
> you use the Preference->Startup->Restore Window Setup

I can't get this to work: i enabled that option after opening Viking with no
arguments (and no default start up file), pressed F6 to get rid of the mark,
closed Viking and then restarted, and the center mark was back again.


> ?  If you use the 'Select' tool you can drag route points.  The Trackpoint
> Edit tool, as the name suggest only works on Trackpoints.  I was tempted to
> remove the Trackpoint Edit tool mode and force using the Select tool but in
> the end left the original UI as is.

Ah -- i never tried the select tool.  This seems odd to me: the select tool
appears in the section of browsing tools rather than editing tools, and
already the track edit tool provides most of the editing features for the
route points.  Select is nicer to use because it doesn't pop up the dialog,
but maybe it should be moved into the next tool bar section?

> Probably - I never use these map types, so I don't notice when they go
> missing.

Me either -- but when you first start using Viking it's not encouraging to
find a large number of the maps don't do anything, so i thought it was worth
cleaning them up a bit.  Maybe there needs to be a visible warning when
download fails.

> The Wiki is a good place for a collection of potential tile sources a user
> can add to their own configuration:
> https://sourceforge.net/apps/mediawiki/viking/index.php?title=Maps

Ah, cool!

Best,

Matt

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/


Re: [Viking-devel] Proposed Minor Features

2014-03-20 Thread Robert Norris

> Hey,
>
> I've been building up a wish-list of minor tweaks to make to Viking. These
> are all changes i more or less propose to make myself, but wanted to make sure
> there were no major objections &c.
>
> + Add an alpha component to the track/route colouring.

Sounds good.
I'd probably put the control in the Tracks Property (to go along with the track 
colour), rather than in Layer->Tracks Advanced tab.

> + Show all / hide all &c. for map layers / sub-layers.

?
There
 already are Show All/Hide All/Toggle options for any layers within an 
Aggregate layer. (Right click on it -> Visibility -> ...)

May be you can expand in more detail what you have in mind.

> + Options to hide centre mark by default (and other show items).

I thought about this but decided it's not important enough to clutter the 
preferences UI about this.
After all, the original 'Show' items are stored in .vik files. (X,scale & 
highlight)
Otherwise
 window layout UI ones are saved automatically and only restored if you 
use the Preference->Startup->Restore Window Setup

> + Key binding for the "go to location" button. (A more general solution
> might be a key-bindings config file.)

Yes please.
I'm sure a key-bindings file is *much* more effort but that would be really 
good.

> + Ability to drag route points as well as track points.

?
If you use the 'Select' tool you can drag route points.
The Trackpoint Edit tool, as the name suggest only works on Trackpoints.
I was tempted to remove the Trackpoint Edit tool mode and force using the 
Select tool but in the end left the original UI as is.

> I was also looking at the list of maps, and there are a few issues:
>
> + Terraserver (msrmaps) returns "service unavailable". I guess it was
> silently killed. Should it be removed from the list of maps?

> + I think spot maps is also gone.

Probably - I never use these map types, so I don't notice when they go missing.

> + Perhaps include other Bing imagery as well as the satellite (since you
> have an API key).

I believe the satellite imagery is the only allowed type.

> + hikebikemap.de has some nice tiles -- in particular you can (with some
> poking around their site) download just their hill-shading. Adding this
> layer gives any map a 3d look. I put the following in maps.xml for this:
>
> 
> Bike and Hike Hill Shading
> toolserver.org
> /~cmarqu/hill/%d/%d/%d.png
> 28
> hikebikemap & open street map 
> contributers
> 
>
> Presuming hikebikemap.de don't mind the abuse, maybe these layers could be
> added to the list?

The Wiki is a good place for a collection of potential tile sources a user can 
add to their own configuration:
https://sourceforge.net/apps/mediawiki/viking/index.php?title=Maps

> I've also noticed a few maps don't work at certain zoom levels. Perhaps the
> maps could have min/max zoom level properties added, instead of making invalid
> requests to the server. If the zoom is out of range, just the nearest valid
> one could be displayed.

This is already on the Ideas List:
https://sourceforge.net/apps/mediawiki/viking/index.php?title=IdeaList
(More Map Configuration part) 

> My plan was to pick these things off as and when i get around to them (which
> is not so often these days). I'm also happy for others to pick them off
> instead :)
>
> Best,
>
> Matt
>

Thanks for the continued interest.
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/