Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 28 Feb 2015, 10:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Locator 3.0
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
Geoffrey


Joined: 30 May 2010
Posts: 1593
Location: Queensland

PostPosted: Thu 05 Feb 2015, 10:25    Post subject:  Locator 3.0
Subject description: Small app uses maps.googleapis.com to locate address and map coordinates
 

New version 3.1

Latest version now has the location and coordinate text on the image, this can be saved as a PDF or PNG, PDF text is selectable.
The PDF save uses rsvg-convert, I think that's standad on most pups, the PNG save requires gst-launch-0.10, that's gstreamer with plugin-bad from what I gather.
To create a save just name the file something.pdf or something.png, if it don't work then you are missing the needed applications, to check if you have them
Code:
# which gst-launch-0.10
/usr/bin/gst-launch-0.10
# which rsvg-convert
/usr/bin/rsvg-convert

The image text is black on the map and white for the sat image, long text strings are folded to a second line, that should be enough from the tests I've done.
Hope this is found to be of some use Smile

New version 3.0
bug fixes
Reworked the GUI, no custom font's, enabled maximize, image now is resized to suit screen resolution, tested at 640x480, not that anyone would use that lower res.
changed zoom spinbutton to combobox, this makes it easier and quicker to specify a zoom level.
should be able to add gettext to this now,

New version 2.0, now views map image or satellite image with zoom.

I used the entry input as in pfind, just input the search text and hit enter on the keyboard. I found zoom works best with the scroll wheel, the mouse button sometimes jumps two steps.

I'm not at all proficient with scripting so others may like to do more to this.

If you have installed the older versions remove them first, as I have renamed the script "locator", it was "locator.sh".

New version 1.1, smaller GUI, larger font, will only run the one instance and can view the location on Google maps.
locator-3.1.pet
Description 
pet

 Download 
Filename  locator-3.1.pet 
Filesize  9.14 KB 
Downloaded  40 Time(s) 
locator3.1.jpg
 Description   
 Filesize   59.02 KB
 Viewed   71 Time(s)

locator3.1.jpg

locator-3.0.pet
Description 
pet

 Download 
Filename  locator-3.0.pet 
Filesize  8.45 KB 
Downloaded  38 Time(s) 
locator-2.0.pet
Description 
pet

 Download 
Filename  locator-2.0.pet 
Filesize  8.69 KB 
Downloaded  41 Time(s) 
locator2.jpg
 Description   
 Filesize   39.61 KB
 Viewed   235 Time(s)

locator2.jpg

locator-1.1.pet
Description 
pet

 Download 
Filename  locator-1.1.pet 
Filesize  91.83 KB 
Downloaded  37 Time(s) 
locator-1.0.pet
Description 
pet

 Download 
Filename  locator-1.0.pet 
Filesize  59.61 KB 
Downloaded  34 Time(s) 

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE

Last edited by Geoffrey on Wed 18 Feb 2015, 02:47; edited 7 times in total
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1239
Location: England

PostPosted: Thu 05 Feb 2015, 11:09    Post subject:  

Hi Geoffrey,

It's brilliant and lightning fast.

One aspect, which may be of interest, is if I enter my home address as:

House No, Street Name, Village, Town

xxxx xxx my full 7 character postcode is accurately displayed.

However, if my village is omitted, I get

xxxx (the first four characters of my postcode).

My regards and thanks
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1593
Location: Queensland

PostPosted: Thu 05 Feb 2015, 23:45    Post subject:  

Jasper wrote:
xxxx xxx my full 7 character postcode is accurately displayed.

However, if my village is omitted, I get

xxxx (the first four characters of my postcode).


I find that some aren't shown correctly unless it's give more info, a Google thing, other than a few minor glitches it works ok.

I was looking for a way to get coordinates, everywhere I looked it said that a key was required for the Google maps api, apparently not.

I've made a few changes, set the display font size, tightened the GUI, it was a bit big, now only one instance will run and you can view the location on Google maps.

New version 1.1 first post

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1593
Location: Queensland

PostPosted: Wed 11 Feb 2015, 03:22    Post subject:  

Updated to version 2.0, now views maps and satellite images with zoom, see first post.
_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 517
Location: Pune, India.

PostPosted: Wed 11 Feb 2015, 03:41    Post subject:  

Thanks Geoffrey

Works Fine in Fatdog64-700.
Thanks.

- Neeraj.

_________________
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.”
- Amara’s Law.
Back to top
View user's profile Send private message 
josejp2424

Joined: 01 Aug 2010
Posts: 258

PostPosted: Wed 11 Feb 2015, 08:08    Post subject: netbook
Subject description: netbook
 

Very good program, but gives problems in netbook screen with 10.

Not allows you to maximize.
Sorry for my english

Back to top
View user's profile Send private message Visit poster's website 
Geoffrey


Joined: 30 May 2010
Posts: 1593
Location: Queensland

PostPosted: Fri 13 Feb 2015, 17:46    Post subject: Re: netbook
Subject description: netbook
 

josejp2424 wrote:
Very good program, but gives problems in netbook screen with 10.

Not allows you to maximize.
Sorry for my english



The reason the gui don't fit your screen is that the font's other than the buttons are of a fixed size, the image is also fixed at 640x480.

I'll have a look at it and see what I can do, might have to scale the image to suit screen resolution.

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1593
Location: Queensland

PostPosted: Sat 14 Feb 2015, 06:36    Post subject:  

Updated to version 3.0, it's now a more conventional GUI layout, see first post.
_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
josejp2424

Joined: 01 Aug 2010
Posts: 258

PostPosted: Tue 17 Feb 2015, 17:31    Post subject: locator
Subject description: locator
 

Now yes Thanks

Back to top
View user's profile Send private message Visit poster's website 
Geoffrey


Joined: 30 May 2010
Posts: 1593
Location: Queensland

PostPosted: Wed 18 Feb 2015, 02:53    Post subject: Re: locator
Subject description: locator
 

josejp2424 wrote:
Now yes Thanks


Here's a new version 3.1 with text on image, see first post.

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0693s ][ Queries: 12 (0.0037s) ][ GZIP on ]