[OSM-dev] lua+osm2pgsql=?

Kai Krueger kakrueger at gmail.com
Sun Apr 28 20:11:10 UTC 2013


Sven Geggus wrote
> Kai Krueger <

> kakrueger@

> > wrote:
> 
>> The question now is what to do with this? Is there enough interest for it
>> to
>> be worth cleaning it up and committing it?
> 
> I once did a somewhat ugly hardcoded hack for converting width and height
> tags to useful floating point values by doing a lot of heuristics
> (output-pgsql.c line 460ff.)
> 
> Am I right in the asumption, that we can get rid at least of parts of
> this as well using your code?

I think you should be able to. (The current patch didn't include that and I
haven't checked it though).

Your code seems to work at a later stage of the processing pipeline at the
stage of actually creating the sql statements. But if I understood correctly
what you are trying to do, it should be possible to do this in the early
stages of processing too, by transforming all of the tags into a normalised
form, and then one only needs to deal with that normalised form during the
later sql generation stage.

Kai





--
View this message in context: http://gis.19327.n5.nabble.com/lua-osm2pgsql-tp5757509p5758915.html
Sent from the Developer Discussion mailing list archive at Nabble.com.



More information about the dev mailing list