First Commit

This commit is contained in:
Xavier J 2015-08-10 11:05:06 +02:00
commit b5b83e939a
213 changed files with 8688 additions and 0 deletions

11
lib/carto/geocodeur.rb Normal file
View file

@ -0,0 +1,11 @@
module Carto
# this class take a string in input and return a point
class Geocodeur
def self.convert_adresse_to_point(address)
Carto::Bano::PointRetriever.new(address)
rescue RestClient::Exception, JSON::ParserError => e
Rails.logger.error e.message
nil
end
end
end