David,

I don't think Mapquest's Open Geocoding API Web Service has that restriction. http://developer.mapquest.com/web/products/open

We went with Mapquest's Open API's because fewer restrictions on use.

Scott


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David Baugh
Sent: Thursday, May 23, 2013 4:18 PM
To: Midrange Systems Technical Discussion
Subject: RE: Getting Windows clipboard

Brian,

Google's documentation for the webservice states:

" the Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited."

I guess the question is 'how would they know?'. Do you have experience using this for the kind of application I'm setting up?

Thanks again,

David

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian May
Sent: Thursday, May 23, 2013 1:30 PM
To: Midrange Systems Technical Discussion
Subject: RE: Getting Windows clipboard

Why not just call a webservice to geocode your address? Google has one here https://developers.google.com/maps/documentation/geocoding/

You could call this using something like HTTPAPI and avoid jumping through the hoops.

Brian May
IBM i Modernization Specialist
Profound Logic Software
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free


              


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David Baugh
Sent: Thursday, May 23, 2013 2:49 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Getting Windows clipboard

I'm fighting with windows clipboard in an attempt to programmatically get the contents into my iSeries session.

Here's what I need to do:

In Google Maps, find an address, then hit a button on the website to 'copy link address'. This puts a string containing, amongst other things, GPS coordinates.

I want to get the contents of the clipboard into a string variable on the iSeries and manipulate it to get the GPS coordinates, then display them on the 5250 screen and ultimately write them to file.

I've got as far as writing a java class that resides on my windows network, which gets the contents of the clipboard into a string, strips out the coordinates and writes them back to the clipboard. This is being called using STRPCCMD. On the 5250 session, hitting paste then gives me gps coords.

This is far from ideal (and kinda clunky), since there's a disjoint between that program finishing execution and the 5250 session having access to the reconfigured contents of the clipboard.

If I can get the clipboard into a variable, I can handle the rest.

Does anyone have experience ?

Thanks in advance
David

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.