[OSM-dev] Using osmdroid for an Android university course

2014-07-07 Thread Nick Whitelegg
Hi,

(not sure if this belongs in talk or dev)

Next year I am running a university course on Android development.

I am planning to include a section on location-aware apps and mapping, and 
naturally I want to use OSM. ;-)

Mapsforge is one option, however IMV the new 0.4 API has a little too much 
complexity for what will be complete newcomers to Android development (they 
have Java experience though).

So I'd like to use osmdroid, however I'm aware that apps that use raster tile 
sources can place a strain on tileservers.

It looks like osmdroid will now talk to the MapQuest tileservers though.

Will it be acceptable - particularly if I use MapQuest - to use osmdroid for 
this course? There will be 20 students max.

Thanks,
Nick___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Using osmdroid for an Android university course

2014-07-07 Thread Mateusz Konieczny
http://wiki.openstreetmap.org/wiki/Tile_usage_policy and
http://wiki.openstreetmap.org/wiki/Mapquest#MapQuest-hosted_map_tiles
list rules that should be followed in this situation.


2014-07-07 13:27 GMT+02:00 Nick Whitelegg nick.whitel...@solent.ac.uk:

 Hi,

 (not sure if this belongs in talk or dev)

 Next year I am running a university course on Android development.

 I am planning to include a section on location-aware apps and mapping, and
 naturally I want to use OSM. ;-)

 Mapsforge is one option, however IMV the new 0.4 API has a little too much
 complexity for what will be complete newcomers to Android development (they
 have Java experience though).

 So I'd like to use osmdroid, however I'm aware that apps that use raster
 tile sources can place a strain on tileservers.

 It looks like osmdroid will now talk to the MapQuest tileservers though.

 Will it be acceptable - particularly if I use MapQuest - to use osmdroid
 for this course? There will be 20 students max.

 Thanks,
 Nick

 ___
 dev mailing list
 dev@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/dev


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Full notes export (alpha)

2014-07-07 Thread Grant Slater
Hi OSM Devs,

A test OSM notes dump has been created:
http://grant.dev.openstreetmap.org/tmp/planet-notes-dump-testing/

The dump contains all notes (open/closed) + all comments. The XML
format will likely change during this alpha phase. Once finalised the
weekly dumps/exports will be made available on
http://planet.openstreetmap.org/

Feedback / comments / patches:
https://github.com/iandees/planet-notes-dump

Many thanks to Ian for writing the code.

Kind regards
Grant
Part of the OSM sysadmin team.

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Full notes export (alpha)

2014-07-07 Thread Grant Slater
Few items have been fixed:
https://github.com/iandees/planet-notes-dump/issues?page=1state=closed

And a new dump created:
http://grant.dev.openstreetmap.org/tmp/planet-notes-dump-testing/

Anything else? ;-)

/ Grant


On 7 July 2014 17:44, Grant Slater openstreet...@firefishy.com wrote:
 Hi OSM Devs,

 A test OSM notes dump has been created:
 http://grant.dev.openstreetmap.org/tmp/planet-notes-dump-testing/

 The dump contains all notes (open/closed) + all comments. The XML
 format will likely change during this alpha phase. Once finalised the
 weekly dumps/exports will be made available on
 http://planet.openstreetmap.org/

 Feedback / comments / patches:
 https://github.com/iandees/planet-notes-dump

 Many thanks to Ian for writing the code.

 Kind regards
 Grant
 Part of the OSM sysadmin team.

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [josm-dev] JOSM wants to add a certificate?

2014-07-07 Thread Dirk Stöcker

On Sun, 6 Jul 2014, Maarten Deen wrote:

I opened JOSM (webstart) and it came with a question to install a 
certification authority for localhost with a sha1 thumbprint
I have no knowledge of having generated a sha1 thumbprint on my windows 
computer, so I am interested to know how JOSM can ask this.
I also don't know why JOSM needs this. Is this something from JOSM or has 
some worm crawled in? (yes, this was the first thing that entered my mind).


Due to the browser restrictions of today any request to the remote control 
of JOSM needs to be HTTPS as well when used from a HTTPS page. For a HTTPS 
server functionality we need a certificate. The request you talk about 
tries to copy that certificate to the JAVA keystore, so it can be used. 
The browser still should ask you about it (at least for first connection), 
as it is a self-signed cert.


We are aware of the fact, that using an open-source certificate is 
snake-oil, but it is required to get it work at all.


Lets make it clear that, not having created this thumbprint myself, I can not 
verify this thumbprint and that this seems a very strange way of operating.


If you have a better solution, feel free to fix it.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)

___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] How to get selected relations in JOSM?

2014-07-07 Thread Dirk Stöcker

On Sat, 5 Jul 2014, Jochen Willig wrote:


I am developing a Plugin to set automatically a relation with other selected
relations. Therefore I thought I can use the method getSelectedRelations().
Unfortunatley it returns nothing. The method getRelations() returns all
relations in the data set.

Does anyone has an idea why this is not working or a hint how to do it
differently?


Maybe you mix selected and selected in relation list? As relations are
somewhat special they also have two selected states. One when selected in
the normal selection (you cannot click them, so you need indirect methods
like search) and one selection in the overview of relations.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)

___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] How to get selected relations in JOSM?

2014-07-07 Thread Paul Hartmann

On 05.07.2014 16:45, Jochen Willig wrote:

Dear JOSM-Developers,



I am developing a Plugin to set automatically a relation with other selected
relations. Therefore I thought I can use the method getSelectedRelations().
Unfortunatley it returns nothing. The method getRelations() returns all
relations in the data set.

Does anyone has an idea why this is not working or a hint how to do it
differently?


getSelectedRelations() should work. You can get the entire selection and 
check for each entry in the collection if the object is an instance of 
type Relation.


Paul

___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev