ngageoint / hootenanny

Hootenanny conflates multiple maps into a single seamless map.
GNU General Public License v3.0
358 stars 74 forks source link

Add capability to convert command for separate reader overrides for each input layer #781

Closed bwitham closed 5 years ago

bwitham commented 8 years ago

Use case:

I need to conflate an osm api dataset with a hoot dataset using the conflate command. I want the osm api dataset to be read out with OsmApiDbReader, and I want the hoot dataset to be read out with OsmApiDbAwareHootApiDbReader.

This can't be done with osm.map.reader.factory.reader since it will incorrectly override the readers for both layers.

One option could be to encode the osm api db awareness in the url:

hootapidb://localhost:5432/osmapi_test?aware=true

After this task is done, the hack referencing this issue in OsmMapReaderFactory::createReader can be removed and the corresponding holy grail related code and scripts updated to use the new capability.

bwitham commented 5 years ago

OBE