[osmosis-dev] way geoms in pgsnapshot schema

Matt Amos zerebubuth at gmail.com
Tue Feb 8 13:50:22 GMT 2011


i noticed that the pgsnapshot schema discards ways when they have
fewer than 2 nodes as no valid linestring would be able to be built.
this was causing me problems with missing ways in tag searches, so i
changed it so that those geometries would just be null (attached
patch).

is this useful to anyone else? i had a look around the module and it
appears that having null geometries shouldn't cause any problems, but
i didn't want to just apply the patch just in case.

cheers,

matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgsnapshot_null_geoms.patch
Type: text/x-patch
Size: 3051 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20110208/d6cbd894/attachment.bin>


More information about the osmosis-dev mailing list