Re: Advice on JOSM remote control

2017-03-30 Thread Dirk Stöcker

On Thu, 30 Mar 2017, Ian Feeney wrote:


Thanks for the reply.

Can you explain a little more about how I mark the XML data as upload=no please?


Don't use gpx. Use osm style data.

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



RE: Advice on JOSM remote control

2017-03-30 Thread Ian Feeney
Thanks for the reply.

Can you explain a little more about how I mark the XML data as upload=no please?

I had already tried using passing some gpx to the load_data command, but the 
data wasn't showing up in JOSM.

Here is the data I tried.  Should this work or does it need some modification?


http://www.topografix.com/GPX/1/1; version="1.1" creator="HOT 
Tasking Manager">

  https://github.com/hotosm/osm-tasking-manager2;>
HOT Tasking Manager
  
  2017-03-29T12:12:06.607678


  Task for project 2731. Do not edit outside of this box!
  
  
  
  
  
  
  

Do not edit outside of 
this box!
Do not edit outside of 
this box!
Do not edit outside of 
this box!
Do not edit outside of 
this box!
Do not edit outside of 
this box!





Ian Feeney
Senior Developer
Email:mailto:ian.fee...@thinkwhere.com

Glendevon House
Castle Business Park
Stirling FK9 4TZ

Tel: 01786 476060
Tel: 01786 476067 (Direct Dial)

-Original Message-
From: Dirk Stöcker [mailto:openstreet...@dstoecker.de]
Sent: 30 March 2017 12:11
To: josm-dev@openstreetmap.org
Subject: Re: Advice on JOSM remote control

On Thu, 30 Mar 2017, Ian Feeney wrote:

> I am currently working on the redevelopment of the OSM Tasking Manager 
> application with my company thinkWhere (http://www.thinkwhere.com/).
>
> The application allows users to select task squares for mapping, then
> launch JOSM by remote control zoomed to the right area with imagery
> added to do the mapping.  It currently uses
> load_and_zoom mands#load_and_zoom> and imagery remote control commands
>
> I am looking for a way to send feature data to JOSM so that users can 
> visualise where they should be mapping or reviewing mapping done by others.  
> The features don’t become OSM data, they are just a visual guide.
>
> Is there a way for me to send data to JOSM to load over the remote command 
> api?  Or a way for me to get JOSM to request data from a URL?
>
> I have investigated the options at 
> https://josm.openstreetmap.de/wiki/Help/RemoteControlCommands, but I haven’t 
> found a way to get this working.
>
> So far the only way I have found is that users download a gpx from my app to 
> their computer, then do file>open in josm, but I want to see if there is a 
> way to do it without that manual download/upload.

You can e.g. use "load_data" or also "import" to pass a new layer containing 
the information.

Mark the XML data as upload=no or upload=never (since JOSM 11709) to prevent 
accidential uploads.

The XML can either (mis-)use the standard style or you invent own tags and 
supply an own display style rendering your tags like you want them to be.

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




Re: Advice on JOSM remote control

2017-03-30 Thread Blake Girardot
Hi,

Just to follow up on Ian's email, I have created some screenshots to
illustrate what we are hoping is possible to accomplish with the
current JOSM remote control api, sorry I do not know a better way to
share, but this is a webpage, not a google doc and should be viewable
by anyone, no logins or other hoops required:

https://docs.google.com/document/d/1HJ_C9BasT70fymmbob2gJBAsvy2c2ToGmDo0YGbj36E/pub

Respectfully,
Blake


On Thu, Mar 30, 2017 at 12:42 PM, Ian Feeney  wrote:
> I am currently working on the redevelopment of the OSM Tasking Manager 
> application with my company thinkWhere (http://www.thinkwhere.com/).
>
> The application allows users to select task squares for mapping, then launch 
> JOSM by remote control zoomed to the right area with imagery added to do the 
> mapping.  It currently uses 
> load_and_zoom
>  and imagery remote control commands
>
> I am looking for a way to send feature data to JOSM so that users can 
> visualise where they should be mapping or reviewing mapping done by others.  
> The features don’t become OSM data, they are just a visual guide.
>
> Is there a way for me to send data to JOSM to load over the remote command 
> api?  Or a way for me to get JOSM to request data from a URL?
>
> I have investigated the options at 
> https://josm.openstreetmap.de/wiki/Help/RemoteControlCommands, but I haven’t 
> found a way to get this working.
>
> So far the only way I have found is that users download a gpx from my app to 
> their computer, then do file>open in josm, but I want to see if there is a 
> way to do it without that manual download/upload.
>
>
>
>
> Ian Feeney
> Senior Developer
>
>
> [cid:image900338.PNG@eab9de11.49b3d10a]
>
>
> t: 01786 476060 (Office)
> t: 01786 476067 (Direct Dial)
> w:www.thinkwhere.com
>
>
> Glendevon House
> Castle Business Park
> Stirling FK9 4TZ
>
>
> [cid:image907e80.PNG@58c09236.48a41ae5] 
> [cid:image0d228d.PNG@f779f23e.43983fbf] 
> 
>
>
> This email and its attachments are private and confidential. If you believe 
> you have received this email in error, please contact the sender immediately 
> on 01786 476060. If you are not the intended recipient, you may not rely on, 
> use or disclose this email or any attachments in any way.
>
> thinkWhere Limited does not accept any liability for any damage that may be 
> caused to the recipient's system or data by this email or any attachments. 
> Please note that our email system may be subject to random monitoring by us. 
> This Company accepts no liability for personal emails.
>
> thinkWhere is a limited company registered in Scotland with Registered Number 
> SC315349 and having its Registered Office at Glendevon House, Castle Business 
> Park, Stirling, FK9 4TZ.
>



-- 

Blake Girardot
OSM Wiki - https://wiki.openstreetmap.org/wiki/User:Bgirardot
HOTOSM Member - https://hotosm.org/users/blake_girardot
skype: jblakegirardot
Live OSM Mapper-Support channel - https://hotosm-slack.herokuapp.com/
Next best OSM support - https://help.openstreetmap.org/
BE A PART OF HOT'S MICRO GRANTS: https://donate.hotosm.org/



Advice on JOSM remote control

2017-03-30 Thread Ian Feeney
I am currently working on the redevelopment of the OSM Tasking Manager 
application with my company thinkWhere (http://www.thinkwhere.com/).

The application allows users to select task squares for mapping, then launch 
JOSM by remote control zoomed to the right area with imagery added to do the 
mapping.  It currently uses 
load_and_zoom
 and imagery remote control commands

I am looking for a way to send feature data to JOSM so that users can visualise 
where they should be mapping or reviewing mapping done by others.  The features 
don’t become OSM data, they are just a visual guide.

Is there a way for me to send data to JOSM to load over the remote command api? 
 Or a way for me to get JOSM to request data from a URL?

I have investigated the options at 
https://josm.openstreetmap.de/wiki/Help/RemoteControlCommands, but I haven’t 
found a way to get this working.

So far the only way I have found is that users download a gpx from my app to 
their computer, then do file>open in josm, but I want to see if there is a way 
to do it without that manual download/upload.




Ian Feeney
Senior Developer


[cid:image900338.PNG@eab9de11.49b3d10a]


t: 01786 476060 (Office)
t: 01786 476067 (Direct Dial)
w:www.thinkwhere.com


Glendevon House
Castle Business Park
Stirling FK9 4TZ


[cid:image907e80.PNG@58c09236.48a41ae5] 
[cid:image0d228d.PNG@f779f23e.43983fbf] 



This email and its attachments are private and confidential. If you believe you 
have received this email in error, please contact the sender immediately on 
01786 476060. If you are not the intended recipient, you may not rely on, use 
or disclose this email or any attachments in any way.

thinkWhere Limited does not accept any liability for any damage that may be 
caused to the recipient's system or data by this email or any attachments. 
Please note that our email system may be subject to random monitoring by us. 
This Company accepts no liability for personal emails.

thinkWhere is a limited company registered in Scotland with Registered Number 
SC315349 and having its Registered Office at Glendevon House, Castle Business 
Park, Stirling, FK9 4TZ.