Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Looking fro some information #3

Open
andyfenna opened this issue Jan 18, 2016 · 5 comments
Open

Looking fro some information #3

andyfenna opened this issue Jan 18, 2016 · 5 comments

Comments

@andyfenna
Copy link

Please can you confirm that the Id fields on SQL Server tables node and relation is infact the osm_id within the planet.osm.pbf file?

Kind regards

Andrew

@xivk
Copy link
Contributor

xivk commented Jan 18, 2016

@andyfenna
Copy link
Author

Thank-you very much for answering my question.

@andyfenna
Copy link
Author

One more question... the latitude and longitude within the node table are int's therefore do not have a decimal place, how does one calculate the correct lat and longs?

@xivk
Copy link
Contributor

xivk commented Jan 18, 2016

@andyfenna
Copy link
Author

Please can you explain to me how I create a polygon in SQL when I have populated dbo.node, dbo.node_tags, dbo.relation, dbo.relation_members, dbo.relation_tags, dbo.way, dbo.way_nodes and dbo.way_tags?

Am I right in assuming that the relation_id in dbo.relation_members table is in fact the osm_id?

Also what does? and how does? the dbo.relation_members join back to the dbo.node table for the lat and longs? which are needed to build a sql geography polygon?

Any help would be much appreciated.

Thanks

Andrew

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants