GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: Anonymous  XML
Profile for Anonymous -> Messages posted by Anonymous [359] Go to Page: Previous  1, 2, 3 ... 8, 9, 10 ... 16, 17, 18 Next 
Author Message
could you please send me a copy of the postal code db to "mb(at)aricars.de" ?

i tried contacting you via email at info(at)geonames.org - received an 554-error from your mailserver....

thx,
michael

____________________________

AR Cars International GmbH
Entwicklung & Administration
Breite Str. 1-5
23552 Lübeck

Fon +49 (0)451 3999515
FAX +49 (0)451 3999510

http://www.aricars.de

Yes, the browser succesfully detects that the charset is utf8. THe fact is that some of the special chars are shown properly, but some others not. Is like if i had something missing to be able to show them all, which is weird as in phpmyadmin can be seen fine.
Hello,

I am having some issues with utf8 charset. I use mysql and php. PHPMyAdmin shows perfectly the name of the cities with special chars (vietnamese, iranian, arabic,..). Some of the special chars i can see it, but not all of them. In my header i have
<meta http-equiv=Content-Type content="text/html; charset=utf-8" />

I was thinking it was something to do with php, but phpmyadmin shows it properly with full special chars support. But in my script i can't make it work. I tried all strings functions, all things about strings convertion, but nothing through.

Anybody could help me?
Atlas (powered by Fresh Logic Studios) now features reverse geocoding using the Geonames beta web service.

Right click anywhere on the map, the click the "about this location" link.

http://atlas.freshlogicstudios.com/
Great marc, now it works fine. Thanks for all the time you put into this!
Yep, I built a parser to extract what I needed.

Thanks for listening though

hello, i'm trying to make a little program and this web service should be perfect for me, so i've tryed to implement a java client for the service using AXIS but i'm getting this error:

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Operation timed out: connect
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Opera
tion timed out: connect


and my code is:

import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import javax.xml.rpc.ParameterMode;

public class EjemploWS {
public EjemploWS() {}

public String ask() throws Exception {
String endpoint =
"http://ws.geonames.org/postalCodeSearch.jws";
Service service = new Service();
Call call = (Call)service.createCall();

call.setTargetEndpointAddress(new java.net.URL(endpoint));
call.setOperationName("postalCodeSearch");
call.addParameter("postalcode",
XMLType.XSD_STRING,ParameterMode.IN);
call.setReturnType(XMLType.XSD_STRING);

String result = (String)call.invoke(new Object []
{"28933"});

return result;
}
}


What am i doing wrong??? Can somebody help me?

thanks
That works fine as the complete pc does exact location by residence, not always needed.

Close is good.

Thank you, great program!
Great work. I didn't expect anything so soon!
Also try "11127"

This is in Stockholm, the capitol, but gives the coordinates for another Stockholm - a small village in the south of Sweden. How come?
See also http://www.earthtools.org/ which have a timezone webservice, no idea where the data is sourced and/or how accurate it is.
hallo,

hat jemand eine fertige lösung für das umrechnen der geodaten in die pixel anzeige mit GD?

bei mir haust nach probieren nur in berlin hin ;o)
It would be great if one could read the pronunciation of each geoname, either in an English approximation or in an exact IPA transcription (International Phonetic Alphabet, http://www.arts.gla.ac.uk/IPA/ipachart.html).

BTW, does any one know whether a comprehensive version of such a list of placenames is available from somewhere?

Best
Or: Code:
$data =  file_get_contents($url, false);
And if you have to deal with Timeouts, Curl is an option:
Code:
$handle = curl_init();
 curl_setopt ($handle, CURLOPT_URL, $url);
 curl_setopt ($handle, CURLOPT_CONNECTTIMEOUT, 5);
 curl_setopt ($handle, CURLOPT_RETURNTRANSFER, 1);
 $data= curl_exec($handle);
 curl_close($handle);
you must fread() what you fopen()
Hello, and firstly, thanks for the amazingly great web services.

Sorry if this is a stupid question but I'm trying to use the data returned from your elevation finder.

The problem I have is that I'm using PHP which for some reason isn't getting just a number but some kind of resource id.

I've got something like this:

$val = fopen("http://ws.geonames.org/gtopo30?lat=47.01&lng=10.2", "r");

If anyone knows what I'm doing wrong. Please tell me. I'm going a bit mad not being able to work it out.

Thanks!
Thanks Marc;
yes I'm interested to receive it in eMail, at pascal@round-planet.com.

Regards,
Pascal
Admittedly I forgot about places like that!

Ultimately you would have to resolve some records by using shape files.
I found some global ones here: (big question mark over distribution!)

http://fri.sfasu.edu/data/geographic/world/shape/
or http://fri.sfasu.edu/data/geographic/world/zip/
(country,time zone,primary admin,etc.,etc.. copyright=uncertain).

ERSI
http://www.esri.com/
(viewer,documentation of file format,etc.)
URL: ws.geonames.org/gtopo30? only gives output in plain text, no JSON choice.
I plan to use this kind of service on a Google Maps mash-up for site investigation application. I can not make use of it easily if it is in plain text.
Please add JSON (with callback option) output for this service. Thanx in advance.

Best Regards,
swatchai
Firstly; thanks for adding the total results to the JSON. I'm working with J2ME, so the smaller result sets are useful.

I may have confused re the content length. It is the XML results that I am not getting it for. The JSON appears to be returning it ok.
 
Profile for Anonymous -> Messages posted by Anonymous [359] Go to Page: Previous  1, 2, 3 ... 8, 9, 10 ... 16, 17, 18 Next 
Go to:   
Powered by JForum 2.1.5 © JForum Team