This supports USA for Photon and Tigerline

This added Tigerline and USA States to Photon
Tiger option is good... There is no easy way to continuous update. Tiger is updated once a year by the govt...

But in USA the Osm street data is sparse and Tiger is needed....

Bill Bell
Sent from mobile


On Jun 16, 2014, at 6:36 AM, "Christoph Lingg" <notifications@github.com<mailto:notifications@github.com>> wrote:


In src/main/java/de/komoot/photon/importer/nominatim/NominatimConnector.java:

>
> -                             importer.add(doc);
> +                             int count = 0;
> +//                           log.info("place:"+doc.getPlaceId());
> +                             final List<TigerRow> tigerAddresses = getTigerAddresses(doc.getPlaceId());


thinking about people who don't want to use tiger: for every entry (more than 100 millions) there will be a single db query. what about performance? it already takes a lot of time to import the entire osm data ;-(
I guess it is better to introduce a command line argument to enable tiger imports...

btw. do you know how nominatim handles continuous updates of tiger, do they exist?

—
Reply to this email directly or view it on GitHub<https://github.com/komoot/photon/pull/62/files#r13802643>.