Reverted some optimalizations (bad placed)
This commit is contained in:
parent
6ee18303a2
commit
5e5b41913b
2 changed files with 2 additions and 4 deletions
|
@ -282,8 +282,7 @@ public class IndexVectorMapCreator extends AbstractIndexPartCreator {
|
|||
List<Way> l = new ArrayList<Way>();
|
||||
l.add(w);
|
||||
boolean add = true;
|
||||
int iRsize = incompletedRings.size();
|
||||
for (int k = 0; k < iRsize;) {
|
||||
for (int k = 0; k < incompletedRings.size();) {
|
||||
boolean remove = false;
|
||||
List<Way> i = incompletedRings.get(k);
|
||||
Way last = i.get(i.size() - 1);
|
||||
|
|
|
@ -126,8 +126,7 @@ public class MinskTransReader {
|
|||
Map<String, Node> correlated = new LinkedHashMap<String, Node>();
|
||||
Map<Node, String> reverse = new LinkedHashMap<Node, String>();
|
||||
List<TransportStop> stopsToCheck = new ArrayList<TransportStop>(stopsMap.values());
|
||||
int sTCsize = stopsToCheck.size();
|
||||
for(int k =0; k<sTCsize; k++){
|
||||
for(int k =0; k<stopsToCheck.size(); k++){
|
||||
TransportStop r = stopsToCheck.get(k);
|
||||
List<Node> closestObjects = busStops.getClosestObjects(r.latitude, r.longitude, 0, 1);
|
||||
// filter closest objects
|
||||
|
|
Loading…
Reference in a new issue