GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
need for help  XML
Forum Index -> General Go to Page: Previous  1, 2
Author Message
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

Its ok.

FTS is Full Text Search

http://www.geonames.org/maps/json-googlemaps-example-postal-code.html

In this link it is not searching for UK postal/Zip code
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

Suja

If you want to search for place names and postal codes you have to use the parameter 'placename' instead of the parameter postal code :

http://ws.geonames.org/postalCodeSearch?placename=kent&maxRows=10&style=FULL

For UK postal codes we only have the first four letters :
http://www.geonames.org/postalcode-search.html?q=so51

The full UK postal codes are not freely available and we cannot use them.

Marc

[WWW]
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

Dear Marc
Thanks alot for your help.
http://www.geonames.org/postalcode-search.html?q=so51
It is just showing related places but it should show the places on map as you earlier
For example
http://www.geonames.org/maps/json-googlemaps-example-postal-code.html

suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

Dear Marc
Thanks alot for your help.
http://www.geonames.org/postalcode-search.html?q=so51
It is just showing related places but it should show the places on map as you told earlier
For example
http://www.geonames.org/maps/json-googlemaps-example-postal-code.html

marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

Hi Suja

I was posting the link to the postal code search page to show you what information is available in the geonames database. In the JSON example you have to type 'so51' to make it work. For your users you have to extract the first 4 characters to make it work, or the prefix extraction could be done on the geonames server side.

Marc
[WWW]
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

Thanks marc for your help
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

hi marc,
This working fine.
Help me to search along conutry name and it should highlight the particular place as like search in geonames
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

Rply me plz
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

Hi marc

i need to search both for pincode as well as contry name.Is it possible to integrate both things.Please reply me soon.
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

Hi Suja

Search for country names is already included in the example :
http://www.geonames.org/maps/json-googlemaps-example-postal-code.html

try searching for 'Switzerland 9011' and it will bring you to Switzerland. Or try the same postal code 'Norway 9011' and it will bring you to Norway.

If you want to have a drop down list, you can use the parameter country. Please read the documentation for details :
http://www.geonames.org/export/#postalCodeSearch

Marc

[WWW]
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

hi marc

I need one more help.

In my website i need to integrate geonames so,

i need search button and textbox in my website and if i click search it should appear map in popup window
Is it possible
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline



Hi marc,

I need search button and textbox in my website.If i click search it should appear map in popup window with particular postalcode entered.

Is it possible
suja



Joined: 25/07/2006 14:54:09
Messages: 17
Offline

hi everybody

Anyone help me is it possible to open map alone as popup.
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

Hi Suja

Yes it is possible, but it needs a little bit of javascript know-how. I suggest to read some javascript tutorials, as it is not a geonames related problem.

Marc

[WWW]
 
Forum Index -> General Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.5 © JForum Team