Wykres commitów

7 Commity (a17ea7fc497a0beabe439bbead6508cddec770c7)

Autor SHA1 Wiadomość Data
David Decotigny a17ea7fc49 Fixed missing dep
Signed-off-by: David Decotigny <david@decotigny.fr>
2010-08-15 14:38:54 +02:00
David Decotigny 00a48aa29a Map street paths onto grid, pass 1
To map the street paths onto a Grid, we proceed in 2 passes since the
grid is not known before the streets are determined (size of the
rendered bbox depends on the number of streets => grid position over
the city's rendering is not fixed). This patch allows to optimize the
number of GIS queries: we only need to perform them in pass 1.

First pass gets the positions of the most distant points from the
street. This is what this patch implements. The second pass will then
map these points onto the grid.

This patch also changes the IndexItem structure to include the 2 most
distant endpoints of the item.

We only deal with the streets for now. The code for amenities is dummy
at that point; we'll work on this later.

Signed-off-by: David Decotigny <d2@maposmatic.org>
2010-08-09 12:33:44 +02:00
Maxime Petazzoni ec9f38cfbb More cleanup
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2010-08-08 12:36:48 +02:00
David Decotigny bacb8e42a0 fixed todo + dead code 2010-08-08 09:47:06 +02:00
David Decotigny f8a0c23a42 WIP-2: render index from DB, no grid
Signed-off-by: David Decotigny <d2@maposmatic.org>
2010-08-07 21:39:38 +02:00
David Decotigny d3146f1223 WIP-1: basig get_streets query
Signed-off-by: David Decotigny <d2@maposmatic.org>
2010-08-07 14:39:07 +02:00
David Decotigny 5885e3a630 Rearranged files and sources for index rendering
Signed-off-by: David Decotigny <d2@maposmatic.org>
2010-08-07 12:39:39 +02:00