drderkummer / Software-Engineering-Project

1 stars 0 forks source link

Option to store buildings #7

Closed NiklasJs closed 11 years ago

NiklasJs commented 11 years ago

In order to store building locations for drawing, i wonder if we could implement a database to support the following features:

All the outer verticies for the drawing should be stored aswell as the colour to be drawn.

My function for drawing a building takes in an array of doubles and paints a line between them and then filling the rectangle or shape created. It also takes as input the color to be drawn.

Is it possible to store buildings with all the lat long coordinates needed?`

For example:

NC Lat Long 1 57.687141 11.978657 2 57.687376 11.978448 3 57.687438 11.978673 4 57.687199 11.97889 Orange

freein commented 11 years ago

Does not like like a typical relational database at least. But it is possible. You xan startnwith hard-coding it and I will make functions in the database for it later. Den 26 apr 2013 18:54 skrev "NiklasJs" notifications@github.com:

In order to store building locations for drawing, i wonder if we could implement a database to support the following features:

All the outer verticies for the drawing should be stored aswell as the colour to be drawn.

My function for drawing a building takes in an array of doubles and paints a line between them and then filling the rectangle or shape created. It also takes as input the color to be drawn.

Is it possible to store buildings with all the lat long coordinates needed?`

For example:

NC Lat Long 1 57.687141 11.978657 2 57.687376 11.978448 3 57.687438 11.978673 4 57.687199 11.97889 Orange

— Reply to this email directly or view it on GitHubhttps://github.com/drderkummer/Software-Engineering-Project/issues/7 .