User avatar
johan
GpsGate
Posts: 15400
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

Custom geocoder using HTTP/XML

Tue Apr 12, 2011 3:09 pm

Custom geocoder using HTTP/XML

Do you have a database or geocoding service which is not get supported by GpsGate Server? Please take a look at this blog for how to make a fast and straight forward integration:

http://gpsgate.com/blogComment/geocoder ... ate_server

Regards,
Johan

GpsGate Support

limyo
Posts: 375
Joined: Sat Jun 19, 2010 4:18 pm
Location: Cambodia

RE: Custom geocoder using HTTP/XML

Tue Apr 19, 2011 8:12 am

Any database structure or guideline to create HTTP/XML geocoder?

Best regards

Limyo

kalmangabriel
Posts: 385
Joined: Wed Feb 25, 2009 12:36 am
Location: Romania
Contact: Website Skype

RE: Custom geocoder using HTTP/XML

Tue Apr 19, 2011 10:36 pm

curently testing Http Geocoder ... but it seems like for a reason it's not working...

also.... if it will... will cache the new addresses in GGS geocoder cache?

User avatar
johan
GpsGate
Posts: 15400
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Custom geocoder using HTTP/XML

Tue Apr 19, 2011 10:43 pm

If it will cache or not depends on how you setup your geocoder, more info:
http://forum.gpsgate.com/topic.asp?TOPIC_ID=12855

There is a section for "Testing" in the blog here:
http://gpsgate.com/blogComment/geocoder_integration_with_gpsgate_server

Be systematic, use the log files to find errors.

Regards,
Johan

GpsGate Support

kalmangabriel
Posts: 385
Joined: Wed Feb 25, 2009 12:36 am
Location: Romania
Contact: Website Skype

RE: Custom geocoder using HTTP/XML

Tue Apr 19, 2011 10:50 pm

i triple cheked all my settings... here is a link to my geocoder... can you try it?

http://gps.furat.ro/geo.asp

User avatar
johan
GpsGate
Posts: 15400
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Custom geocoder using HTTP/XML

Tue Apr 19, 2011 10:53 pm

Are you aware of that GpsGate Server generates log files?

Regards,
Johan

GpsGate Support

kalmangabriel
Posts: 385
Joined: Wed Feb 25, 2009 12:36 am
Location: Romania
Contact: Website Skype

RE: Custom geocoder using HTTP/XML

Tue Apr 19, 2011 11:08 pm

2011-04-19 20:17:13.8125 | Error | 6 | HttpGeocodeProvider.ReverseGeocode | System.Xml.XmlException | System.Xml.XmlException: Invalid character in the given encoding. Line 4, position 20.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res)
at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at Franson.Geo.Geocoding.Providers.HttpGeocodeProvider.m_ParseLocation(XmlReader xmlReader, Position pos)
at Franson.Geo.Geocoding.Providers.HttpGeocodeProvider.ReverseGeocode(List`1 lstPositions)
2011-04-19 20:43:02.2343 | Error | 1 | GoogleUriParser.IsPremierAccount | The premium account can not be used because Google keys do not have the expected values. The setting "gmapkey" has a gme- value but the setting "gmappremierkey" has no value. Please go to the Maps tab in the Site Administration application and enter the correct Google keys. |

in map settings i have free map selected...

User avatar
johan
GpsGate
Posts: 15400
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Custom geocoder using HTTP/XML

Tue Apr 19, 2011 11:29 pm

Yes, that is an error message from the Google geocoder.

Have you at all read the blog?
http://gpsgate.com/blogComment/geocoder_integration_with_gpsgate_server

Regards,
Johan

GpsGate Support

kalmangabriel
Posts: 385
Joined: Wed Feb 25, 2009 12:36 am
Location: Romania
Contact: Website Skype

RE: Custom geocoder using HTTP/XML

Wed Apr 20, 2011 12:17 am

yes... i have read the blog... now i don't have any errors... but still not working...

rajiv
Posts: 120
Joined: Thu Nov 27, 2014 2:27 pm

Re: Custom geocoder using HTTP/XML

Thu Dec 15, 2016 7:36 am

I want to integrate a local geocoding service for reverse geocoding which returns a json object instead of xml. How Do I integrate it with GpsGate ?

kalmangabriel
Posts: 385
Joined: Wed Feb 25, 2009 12:36 am
Location: Romania
Contact: Website Skype

Re: Custom geocoder using HTTP/XML

Thu Dec 22, 2016 4:51 pm

Drop me a line and i'll help you with that...
Please note that my reply IS NOT from GpsGate!!!
------------------------------------------
Email: tech@scorpiontrack.ro Skype: gabrielkalman
Internet: It doesn't make you more stupid, it just makes your stupidity more accessible to others

Return to “GpsGate for Developers”