I am writing a script to sync points from a site and amenity=recycling tags in OSM so I need to store OSM Bonus points for other metadata fields info. Extra bonus points for PostgreSQL info. asked 07 Oct '14, 13:38 int_ua |
Unsigned bigint and smallint for the id and version. Note sure what "type" is in your case. If it's types of recycling amenities, you probably want text. If it's about way/node/relation, set looks like what you want, but it might be better to use three different tables instead. The OSM community usually uses postgres instead of mysql, so you're probably better off with PG (there are many non-osm-related reasons you should do that anyway, but let's keep this to the point). The answers for pg types are pretty much the same as for mysql. There are a few tools that import osm data into postgres which might interest you. answered 07 Oct '14, 16:14 Vincent de P... ♦ way/node, yes.
(08 Oct '14, 13:04)
int_ua
|