Web Map Search

Suggestions for WiGLE/JiGLE/DiGLE

2 posts • Page 1 of 1

Postby houghi » Sun May 06, 2012 9:17 am

On the web map it is only possible to enter a US address. However both Google and OpenStreetMaps are able to process adresses.
I have no experience with OpenStreetMaps, but for Google there are several ways to do this.
e.g. I am looking for the address Boulevart Adolphe Max 1, 1000 Bruusels, Belgium, using the following command line:

Code: Select all

lynx -dump 'http://maps.google.com/maps/geo?output=json&oe=utf-8&q=boulevart adolph max 1, 1000 brussels, belgium'
This gives an output of (Showing only the importand part.)

Code: Select all

"ExtendedData": { "LatLonBox": { "north": 50.8534089, "south": 50.8507109, "east": 4.3554348, "west": 4.3527368 } }, "Point": { "coordinates": [ 4.3540858, 50.8520599, 0 ]
If I then enter the coordinates into the URL to make the URL look like http://wigle.net/gps/gps/Map/onlinemap2 ... &useosm=on (or without the &useosm=on to get the Google maps version) and it works great.
All you need is a street name, a city and a country. I can leave out the house number and postal code. I can even make (minor) spelling errors and I can use multiple languages. e.g. Brussel, Bruxelles and Brussels all work.
This would be very helpful for many people around the world.

Postby houghi » Sun May 06, 2012 1:01 pm

I have made a proof of concept page http://houghi.org/gps/index.php and the code of the page can be seen by adding ?code to the page or at http://houghi.org/gps/index.php?code. It will (try to) produce a URL that links to wigle.net
As this is only a proof of concept there is no error control. If there is no correct address, then it will not produce an error. If multiple addresses are found e.g. by entering springfield, usa and no street or state, it will show the first one instead of an option to select the correct one.
Also no other options are selectable. Adding many (all?) of the options already available on the site should not be very hard.
A seperate extra field could be added for e.g. zipcode/postalcode. Alternatively you could just use one field (e.g. like on maps.google.com) and be done with all the extra options.

I am not a coder, so please don't make fun of my code. If thee is anything that anybody likes to use, please do.

2 posts • Page 1 of 1

Return to “WiGLE Project Suggestions”

Who is online

Users browsing this forum: Ahrefs [Bot] and 43 guests